Find the Person Connected to a Database

From: Naomi Walker <nwalker(at)mhs(dot)mphasis(dot)com>
To:
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Find the Person Connected to a Database
Date: 2007-10-26 21:56:53
Message-ID: 472262A5.2020605@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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Milen A. Radev 2007-10-26 22:22:53 Re: Find the Person Connected to a Database
Previous Message Tom Lane 2007-10-26 21:45:00 Re: way to turn off epochs in log_filename