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