check connections to database postgres
snippet in sql

check connections to database postgres

user227

SELECT * FROM pg_stat_activity WHERE datname='db_name';