pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_stat_activity return all connections
2+ messages / 2 participants
[nested] [flat]

* pg_stat_activity return all connections
@ 2009-04-28 15:43  Emi Lu <emilu@encs.concordia.ca>
  0 siblings, 1 reply; 2+ messages in thread

From: Emi Lu @ 2009-04-28 15:43 UTC (permalink / raw)
  To: pgsql-sql

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_stat_activity return all connections
@ 2009-04-28 20:35  Erik Jones <ejones@engineyard.com>
  parent: Emi Lu <emilu@encs.concordia.ca>
  0 siblings, 0 replies; 2+ messages in thread

From: Erik Jones @ 2009-04-28 20:35 UTC (permalink / raw)
  To: emilu@encs.concordia.ca; +Cc: pgsql-sql


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








^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-04-28 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28 15:43 pg_stat_activity return all connections Emi Lu <emilu@encs.concordia.ca>
2009-04-28 20:35 ` Erik Jones <ejones@engineyard.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox