Is there a query I can run against PostgreSQL to get the number of
current client connections to the database? I didn't expect trying to
track this down would be as difficult as it has been.
Would a simple count of pg_stat_activity be correct?
-Thanks