Re: How to Determine Number of connected users - Mailing list pgsql-php

From Rod Taylor
Subject Re: How to Determine Number of connected users
Date
Msg-id 1058970772.48936.13.camel@jester
Whole thread Raw
In response to How to Determine Number of connected users  (Andrei Verovski (aka MacGuru) <andreil1@mail.starlett.lv>)
List pgsql-php
On Wed, 2003-07-23 at 10:27, Andrei Verovski wrote:
> Hi,
>
> Is it possible to determine number of connected users to certain
> PostgreSQL database from within PHP script?

select * from pg_stat_activity;

Add the appropriate where clause for whatever you are trying to restrict
by.

Attachment

pgsql-php by date:

Previous
From: Andrei Verovski (aka MacGuru)
Date:
Subject: How to Determine Number of connected users
Next
From: Lynna Landstreet
Date:
Subject: Getting the year from a date column