Re: Sequence Question DOH!

From: Richard Huxton <dev(at)archonet(dot)com>
To: obtuse(at)bmwe30(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sequence Question DOH!
Date: 2004-08-06 07:09:13
Message-ID: 41132E99.8020105@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pierre-Frédéric Caillaud 2004-08-06 07:17:36 Re: Commit Transaction Command
Previous Message John DeSoi 2004-08-06 06:21:05 Re: psql and md5