Hello pgsql-general,
Is there a way to tell which session from 'select * from
pg_stat_activity' is a current session? Obviously if there's way to
find out pid of a current session by some other means I could then
look the rest in pg_stat_activity.
Thanks!
--
-Boris