pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@mhs.mphasis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Milen A. Radev <milen@radev.net>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Find the Person Connected to a Database
Date: Fri, 26 Oct 2007 16:17:43 -0700
Message-ID: <47227597.7030306@mhs.mphasis.com> (raw)
In-Reply-To: <1065.1193440140@sss.pgh.pa.us>
References: <E11307EB-94DF-4CDD-A89D-0C88A84F2B99@bju.edu>
	<26960.1193434395@sss.pgh.pa.us>
	<20071026144005.3aa6cc29@scratch>
	<27413.1193435100@sss.pgh.pa.us>
	<472262A5.2020605@mhs.mphasis.com>
	<fftpbr$pi5$1@ger.gmane.org>
	<1065.1193440140@sss.pgh.pa.us>

Thanks for jogging my memory!  Works like a charm.

Naomi
>> select * from pg_stat_activity where datname = <the_db_about_to_be_dropped>;
>>     
>
> If that doesn't work because you've got stats collection turned off,
> "ps" will help too:
>
> http://www.postgresql.org/docs/8.1/static/monitoring.html
>
> On Solaris, note the Tip at the bottom (not sure if it applies to recent
> Solaris versions but a few years ago it was critical).
>
> 			regards, tom lane
>   


-- 
------------------------------------------------------------------------
Naomi Walker                          Chief Information Officer
Mphasis Healthcare Solutions          nwalker@mhs.mphasis.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@mphasis.com and delete this mail from your records.

view thread (4+ messages)

Message-ID: <47227597.7030306@mhs.mphasis.com>
Permalink:  ../47227597.7030306@mhs.mphasis.com/
Also on:    postgresql.org/message-id/47227597.7030306@mhs.mphasis.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: nwalker@mhs.mphasis.com, tgl@sss.pgh.pa.us, milen@radev.net
  Subject: Re: Find the Person Connected to a Database
  In-Reply-To: <47227597.7030306@mhs.mphasis.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox