From: Michael Fuhr <mike@fuhr.org>
To: Scott Marlowe <smarlowe@g2switchworks.com>
Cc: KÖPFERL Robert <robert.koepferl@sonorys.at>
Cc: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: Re: Column with recycled sequence value
Date: Thu, 13 Jan 2005 14:19:03 -0700
Message-ID: <20050113211903.GA41687@winnie.fuhr.org> (raw)
In-Reply-To: <1105649326.24795.99.camel@state.g2switchworks.com>
References: <ED4E30DD9C43D5118DFB00508BBBA76EB1654B@neptun.sonorys.at>
<1105649326.24795.99.camel@state.g2switchworks.com>
On Thu, Jan 13, 2005 at 02:48:47PM -0600, Scott Marlowe wrote:
> On Thu, 2005-01-13 at 11:08, KÖPFERL Robert wrote:
> > suppose I have a let's say heavy used table. There's a column containing
> > UNIQUE in4
> > values. The data type musn't exceed 32-Bit. Since however the table is heavy
> > used 2^32 will be reached soon and then? There are far less than 4G-records
> > saved thus these values may be reused. How can this be accomplished?
> >
> > I already defined a sequence but then?
>
> Redefine it as a bigserial?
That would violate the 32-bit requirement since bigserial would
make the field a bigint (64 bits). Or am I missing something?
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: mike@fuhr.org, smarlowe@g2switchworks.com, robert.koepferl@sonorys.at
Subject: Re: Column with recycled sequence value
In-Reply-To: <20050113211903.GA41687@winnie.fuhr.org>
* 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