Sprawdź połączenia z postgresem bazy danych

SELECT * FROM pg_stat_activity WHERE datname='db_name';
Attractive Ape