From: Michael Glaesemann <grzm@seespotcode.net>
To: Erik Jones <erik@myemma.com>
Cc: Steve Midgley <public@misuse.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: Increment a sequence by more than one
Date: Fri, 3 Aug 2007 15:33:28 -0500
Message-ID: <6137A8C5-187D-46E8-B9C2-822D05C5DFC2@seespotcode.net> (raw)
In-Reply-To: <BA0AEA3C-A9C1-462E-9F86-34755121673D@myemma.com>
References: <20070803165058.020509FBF2F@postgresql.org>
<BA0AEA3C-A9C1-462E-9F86-34755121673D@myemma.com>
On Aug 3, 2007, at 15:27 , Erik Jones wrote:
> Is there actually a requirement that the block of 5000 values not
> have gaps?
Good point.
> If not, why not make the versioned table's id column default to
> nextval from the same sequence?
Of course, the ids of the two tables could be interleaved in this
case. This might not be an issue, of course.
Michael Glaesemann
grzm seespotcode net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: grzm@seespotcode.net, erik@myemma.com, public@misuse.org
Subject: Re: Increment a sequence by more than one
In-Reply-To: <6137A8C5-187D-46E8-B9C2-822D05C5DFC2@seespotcode.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox