pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Cardoso Patrick <cardoso@iut-rodez.fr>
Cc: pgsql-admin@postgresql.org
Subject: Re: users connected
Date: 19 Jul 2004 17:26:50 -0400
Message-ID: <1090272411.2711.48.camel@camel> (raw)
In-Reply-To: <20040716144053.81CE922B150@mail.iut-rodez.fr>
References: <20040716144053.81CE922B150@mail.iut-rodez.fr>

On Fri, 2004-07-16 at 10:42, Cardoso Patrick wrote:
> Hi,
>  
>             Is it possible to know the number of users connected to a
> database ?
>  
>             Regards
>  
>  

select * from pg_stat_activity;

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




view thread (3+ messages)  latest in thread

Message-ID: <1090272411.2711.48.camel@camel>
Permalink:  ../1090272411.2711.48.camel@camel/
Also on:    postgresql.org/message-id/1090272411.2711.48.camel@camel

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xzilla@users.sourceforge.net, cardoso@iut-rodez.fr
  Subject: Re: users connected
  In-Reply-To: <1090272411.2711.48.camel@camel>
  References: <20040716144053.81CE922B150@mail.iut-rodez.fr> <1090272411.2711.48.camel@camel>

* 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