Answers for "postgres view open connections"

SQL
1

psql connections

SELECT * FROM pg_stat_activity;
Posted by: Guest on August-17-2020
0

check connections to database postgres

SELECT * FROM pg_stat_activity WHERE datname='db_name';
Posted by: Guest on February-07-2020

Code answers related to "postgres view open connections"

Code answers related to "SQL"

Browse Popular Code Answers by Language