Discussion:
users connected
(too old to reply)
Gaetano Mendola
2004-07-19 21:31:55 UTC
Permalink
Hi,
Is it possible to know the number of users connected to a database ?
select * from pg_stat_activity.

I'm not sure about permissions you need for it, try.



Regards
Gaetano Mendola




---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match
Robert Treat
2004-07-19 21:26:50 UTC
Permalink
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


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Loading...