Re: How to find a number of connections

From: Bryan White <bryan(at)arcamax(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to find a number of connections
Date: 2005-11-11 20:39:46
Message-ID: 43750192.6050703@arcamax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Brusser, Michael wrote:
> Is there a way to find a number of current connections on Postgres 7.3.x
> ?

select count(*) from pg_stat_activity

--
Bryan White, ArcaMax Publishing Inc.

I never look back, darling. it distracts from the now. - Edna Mode

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brusser, Michael 2005-11-11 20:42:10 Re: How to find a number of connections
Previous Message Peter Eisentraut 2005-11-11 20:36:56 Re: MERGE vs REPLACE