Re: any way to query for current connections to db? - Mailing list pgsql-general

From Jeff Larsen
Subject Re: any way to query for current connections to db?
Date
Msg-id d1f9b6f00711091454m4363fc98nec9811c2a0fde164@mail.gmail.com
Whole thread Raw
In response to any way to query for current connections to db?  ("Coarr, Matt" <mcoarr@mitre.org>)
Responses Re: any way to query for current connections to db?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
> Is there any way to query the database to identify what the current
> connections are (connections, sessions, or whatever you want to call them)?

select * from pg_stat_activity;

pgsql-general by date:

Previous
From: "Coarr, Matt"
Date:
Subject: any way to query for current connections to db?
Next
From: Bruce Momjian
Date:
Subject: Re: any way to query for current connections to db?