Re: [PATCHES] log session end - again - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] log session end - again
Date
Msg-id 2611.1075849766@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] log session end - again  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [PATCHES] log session end - again  ("Andrew Dunstan" <andrew@dunslane.net>)
Re: [PATCHES] log session end - again  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Right. And if we have sessionids we would want them logged there, I 
> think. And that would rule out anything based on xid or backend pid. 

Uh, what's wrong with backend pid?  Since we fork before we start doing
anything with a connection, it should surely be available soon enough
for the connection log message.

Larry's idea about combining PID and backend start time didn't sound too
unreasonable to me.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostGIS Integration
Next
From: Tom Lane
Date:
Subject: Re: PITR Dead horse?