From: Erik Jones <ejones@engineyard.com>
To: emilu@encs.concordia.ca
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_stat_activity return all connections
Date: Tue, 28 Apr 2009 13:35:19 -0700
Message-ID: <498EF6C7-119F-401C-83E0-CADC919050F0@engineyard.com> (raw)
In-Reply-To: <49F7240D.2000604@encs.concordia.ca>
References: <49F7240D.2000604@encs.concordia.ca>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: ejones@engineyard.com, emilu@encs.concordia.ca
Subject: Re: pg_stat_activity return all connections
In-Reply-To: <498EF6C7-119F-401C-83E0-CADC919050F0@engineyard.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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