Re: Sequence Question DOH! - Mailing list pgsql-general

From Richard Huxton
Subject Re: Sequence Question DOH!
Date
Msg-id 41132E99.8020105@archonet.com
Whole thread Raw
In response to Re: Sequence Question DOH!  (Oscar Tuscon <obtuse@bmwe30.net>)
List pgsql-general
Oscar Tuscon wrote:
> Not sure how I managed to interchange Greg's reply and my response,
> but here's mine again:

Oscar - if you're still interested in grabbing variable ranges of
sequence-id's then I had an idea. Just multiply nextval() by 1000 (or
whatever) and use however many you need. You'll want to set the maximum
for the sequence correspondingly lower.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: John DeSoi
Date:
Subject: Re: psql and md5
Next
From: Pierre-Frédéric Caillaud
Date:
Subject: Re: Commit Transaction Command