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

Find who is connected to a database

From: Naomi Walker <nwalker(at)mhs(dot)mphasis(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Find who is connected to a database
Date: 2007-10-26 22:25:17
Message-ID: 4722694D.3050109@mhs.mphasis.com (view raw or flat)
Thread:
Lists: pgsql-admin
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?

Thanks,
Naomi

-- 
------------------------------------------------------------------------
Naomi Walker                          Chief Information Officer
Mphasis Healthcare Solutions          nwalker(at)mhs(dot)mphasis(dot)com
  ---An EDS Company                   602-604-3100
------------------------------------------------------------------------
"Intellectuals solve problems; geniuses prevent them."
  --  Albert Einstein
------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

Information transmitted by this e-mail is proprietary to MphasiS and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this e-mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailmaster(at)mphasis(dot)com and delete this mail from your records.

Responses

pgsql-admin by date

Next:From: Joshua D. DrakeDate: 2007-10-26 22:42:02
Subject: Re: way to turn off epochs in log_filename
Previous:From: Milen A. RadevDate: 2007-10-26 22:22:53
Subject: Re: Find the Person Connected to a Database

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