Re: [HACKERS] session IDs

2004-02-03 Thread Larry Rosenman
--On Tuesday, February 03, 2004 11:12:03 -0500 Andrew Dunstan <[EMAIL PROTECTED]> wrote: Peter Eisentraut wrote: Andrew Dunstan wrote: I am less sure of the utility of such an ID, though. After all, if you see a disconnect log message for a given PID you must know that any reuse of that PI

Re: [HACKERS] session IDs

2004-02-03 Thread Andrew Dunstan
Peter Eisentraut wrote: Andrew Dunstan wrote: I am less sure of the utility of such an ID, though. After all, if you see a disconnect log message for a given PID you must know that any reuse of that PID indicates a new session, or even if you just see a connection message you know it must be

Re: [HACKERS] session IDs

2004-02-03 Thread Peter Eisentraut
Andrew Dunstan wrote: > I am less sure of the utility of such an ID, though. After all, if > you see a disconnect log message for a given PID you must know that > any reuse of that PID indicates a new session, or even if you just > see a connection message you know it must be a new session. OTOH, >

Re: [HACKERS] session IDs

2004-02-03 Thread Kris Jurka
> > > > Tom Lane wrote: > > > >> Andrew Dunstan <[EMAIL PROTECTED]> writes: > >> > >>> I did think about using a cluster-wide sequence, if we can make such > >>> a thing (might also be useful for system generated UIDs too). > >> > >> Not a good idea IMHO. If you do that, then there will be no suc