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.