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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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