Re: Find who is connected to a database - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Find who is connected to a database
Date
Msg-id dcc563d10710310742x7c709021lb36b9551d5cec62b@mail.gmail.com
Whole thread Raw
In response to Find who is connected to a database  (Naomi Walker <nwalker@mhs.mphasis.com>)
List pgsql-admin
On 10/26/07, Naomi Walker <nwalker@mhs.mphasis.com> wrote:
> I'm trying to drop a database in a postgres 8.1.4 instance (x86 Solaris
> 10 OS),  but someone is connected to
> the database.  What is the best way to find out exactly who is connected?

select * from pg_stat_activity;

pgsql-admin by date:

Previous
From: "Mohamed Yassin Eltabakh"
Date:
Subject: postgres8.3 and libxml2
Next
From: Jessica Richard
Date:
Subject: how to check objects dependency??