Re: Database in use?

From: "Lukas" <Lukas(at)fmf(dot)vtu(dot)lt>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Database in use?
Date: 2009-03-02 20:35:23
Message-ID: 50659.217.117.29.29.1236026123.squirrel@fmf.vgtu.lt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

try this:
SELECT * FROM pg_stat_activity;

Maybe it will show you who is using it..

--
Lukas
UAB nSoft
http://www.nsoft.lt
Lukas at nsoft.lt
+370 655 10 655

> Periodically, my databases will give me a message that says that
> someone is using the database when it appears that no one is. What
> causes this? What can I do about it?
>
> Thanks,
> 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
>
> --
> This message has been scanned for viruses and
> dangerous content by OpenProtect(http://www.openprotect.com), and is
> believed to be clean.
>
>

--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Julio Leyva 2009-03-02 20:49:49 Re: Database in use?
Previous Message Tom Lane 2009-03-02 20:32:22 Re: Database in use?