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: 807218.35260.qm@web59510.mail.ac4.yahoo.com (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group