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

From Andrew Dunstan
Subject Re: [PATCHES] log session end - again
Date
Msg-id 1736.24.211.141.25.1075825745.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: [PATCHES] log session end - again  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] log session end - again  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Tom Lane said:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> I'm not sure I understand. I didn't suggest that a sequence should be
>> used for txn ids. For the purpose I had in mind we would call
>> nextval()  once per connection,
>
> Oh, okay, I misunderstood.  But why not just use the PID?
>

Bruce and others have suggested that PID is not sufficiently unique.
Personally, I can live with it :-)

cheers

andrew




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: COPY from question
Next
From: Peter Eisentraut
Date:
Subject: Re: session IDs