Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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:


In response to

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group