Re: [PATCHES] log session end - again

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] log session end - again
Date: 2004-02-03 23:09:26
Message-ID: 2611.1075849766@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-02-03 23:35:46 Re: PITR Dead horse?
Previous Message Tom Lane 2004-02-03 23:03:16 Re: PostGIS Integration

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-02-03 23:46:02 New win32 signals patch (3)
Previous Message Mark Cave-Ayland 2004-02-03 19:51:42 Re: ANALYZE patch for review