Number of Current Client Connections - Mailing list pgsql-admin

From Sean Brown
Subject Number of Current Client Connections
Date
Msg-id 1226329803.26082.3.camel@lin-it1.eaglepress.local
Whole thread Raw
List pgsql-admin
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

Attachment

pgsql-admin by date:

Previous
From: Achilleas Mantzios
Date:
Subject: Re: max_files_per_process limit
Next
From: Tom Lane
Date:
Subject: Re: max_files_per_process limit