Re: Active sessions? - Mailing list pgsql-novice

From Bruce Momjian
Subject Re: Active sessions?
Date
Msg-id 200311291628.hATGSnp25540@candle.pha.pa.us
Whole thread Raw
In response to Active sessions?  ("MaFa" <mafalista@freemail.hu>)
List pgsql-novice
MaFa wrote:
> Hi all!
>
> How could I determine that how many connections has the PostgreSQL
> currently? I cannot reach the OS, I can reach the database only via client
> (PhpPostgreAdmin)

SELECT from pg_stat_activity will show it.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-novice by date:

Previous
From: "MaFa"
Date:
Subject: Active sessions?
Next
From: Peggy Go
Date:
Subject: I need help regardin ... postgresql and postgresql++