From: | "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca> |
---|---|
To: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Help with pre-loaded arbitrary key sequences |
Date: | 2008-01-17 15:19:21 |
Message-ID: | 61118.67.71.37.247.1200583161.squirrel@webmail.harte-lyne.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, January 17, 2008 10:15, Scott Marlowe wrote:
>
> If race conditions are a possible issue, you use a sequence and
> increment that until you get a number that isn't used. That way two
> clients connecting at the same time can get different, available
> numbers.
>
That is close to the idea that I originally had. I was simply wondering
if the built-in sequencer could handle this case or whether I need to roll
my own.
--
*** E-Mail is NOT a SECURE channel ***
James B. Byrne mailto:ByrneJB(at)Harte-Lyne(dot)ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2008-01-17 15:31:38 | Re: Help with pre-loaded arbitrary key sequences |
Previous Message | Scott Marlowe | 2008-01-17 15:15:38 | Re: Help with pre-loaded arbitrary key sequences |