Re: pg_stat_activity return all connections - Mailing list pgsql-sql

From Erik Jones
Subject Re: pg_stat_activity return all connections
Date
Msg-id 498EF6C7-119F-401C-83E0-CADC919050F0@engineyard.com
Whole thread Raw
In response to pg_stat_activity return all connections  (Emi Lu <emilu@encs.concordia.ca>)
List 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







pgsql-sql by date:

Previous
From: Andy Shellam
Date:
Subject: Re: Storing null bytes in bytea
Next
From: Nicholas I
Date:
Subject: Comparing two tables of different database