postgresql 连接查询
select min_val, max_val from pg_settings where name='max_connections';
SELECT * FROM pg_stat_activity;
SELECT COUNT(*) from pg_stat_activity;
show max_connections;
SELECT * FROM pg_stat_activity;
SELECT COUNT(*) from pg_stat_activity;
show max_connections;