Re: Who's attached to the database?

From: Lennin Caro <lennin(dot)caro(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org, Carol Walter <walterc(at)indiana(dot)edu>
Subject: Re: Who's attached to the database?
Date: 2008-07-04 13:47:23
Message-ID: 807218.35260.qm@web59510.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

ps auxw | grep postgres

list the user and some time the process in execution

--- On Thu, 7/3/08, Carol Walter <walterc(at)indiana(dot)edu> wrote:

> From: Carol Walter <walterc(at)indiana(dot)edu>
> Subject: [ADMIN] Who's attached to the database?
> To: pgsql-admin(at)postgresql(dot)org
> Date: Thursday, July 3, 2008, 7:45 PM
> Hi, Guys,
>
> I'm trying to drop a database and I'm getting an
> error that says that
> the database is being accessed by other users. Is there a
> way I can
> find out who these users are or if there really is a user
> accessing it?
>
> Carol
>
> --
> Sent via pgsql-admin mailing list
> (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lennin Caro 2008-07-04 13:50:43 Re: Who's attached to the database?
Previous Message Jessica Richard 2008-07-04 12:36:40 Re: slow delete...