pid of current session? - Mailing list pgsql-general

From Boris Popov
Subject pid of current session?
Date
Msg-id 69275458708.20031106134825@procedium.com
Whole thread Raw
Responses Re: pid of current session?
List pgsql-general
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



pgsql-general by date:

Previous
From: "Ian Harding"
Date:
Subject: Re: Insert and obtain the pk
Next
From: Boris Popov
Date:
Subject: Re: pid of current session?