X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8B25F3A6062 for ; Thu, 13 Jan 2005 21:00:55 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14044-06 for ; Thu, 13 Jan 2005 21:00:40 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id 1F00C3A62F1 for ; Thu, 13 Jan 2005 20:48:47 +0000 (GMT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 13 Jan 2005 14:48:47 -0600 Subject: Re: Column with recycled sequence value From: Scott Marlowe To: =?ISO-8859-1?Q?K=D6PFERL?= Robert Cc: "'pgsql-sql@postgresql.org'" In-Reply-To: References: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1105649326.24795.99.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 13 Jan 2005 14:48:47 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/87 X-Sequence-Number: 19875 On Thu, 2005-01-13 at 11:08, K=C3=96PFERL Robert wrote: > Hi, >=20 > 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 he= avy > used 2^32 will be reached soon and then? There are far less than 4G-recor= ds > saved thus these values may be reused. How can this be accomplished? >=20 > I already defined a sequence but then? Redefine it as a bigserial?