pg_stat_activity return all connections
pg_stat_activity return all connections
От:
Emi Lu <emilu@encs.concordia.ca>
Дата:
Good morning, A question about pg_stat_activity: If believe that "select * from pg_stat_activity where usename='db_user1'" returns all connections based on db_user1, no matter the connection is through terminal command or jdbc, am I right? Thank you, -- Lu Ying
Re: pg_stat_activity return all connections
От:
Erik Jones <ejones@engineyard.com>
Дата:
On Apr 28, 2009, at 8:43 AM, Emi Lu wrote: > Good morning, > > A question about pg_stat_activity: > > If believe that "select * from pg_stat_activity where > usename='db_user1'" returns all connections based on db_user1, no > matter the connection is through terminal command or jdbc, am I right? Yes. Erik Jones, Database Administrator Engine Yard Support, Scalability, Reliability 866.518.9273 x 260 Location: US/Pacific IRC: mage2k