Answers for "get active connection postgres"

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 "get active connection postgres"

Code answers related to "SQL"

Browse Popular Code Answers by Language