Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f56N9DE70141 for ; Wed, 6 Jun 2001 19:09:13 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 68254 for ; Wed, 06 Jun 2001 16:09:09 -0700 From: "Josh Berkus" Subject: Re: maximum number of rows in table - what about oid limits? To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Wed, 06 Jun 2001 16:09:09 -0700 Message-ID: In-Reply-To: <6257.991867020@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200106/85 X-Sequence-Number: 3304 Tom, Stephan, > What can happen after a wrap is that the OID generated for a > newly-created object might conflict with some already-existing > object's > OID. If that happens, you get a duplicate-key-insertion error on the > OID index of the relevant system catalog (pg_class, pg_type, etc). > There is a unique index on OID for each system catalog wherein OID > is used to identify objects. It doesn't really matter whether the > same OID is reused in different catalogs or in user tables. Given this, why bother with system-generated OIDs on user rows at all? Why not simply reserve the OIDs for the system tables? Or are you planning to later increase the OIDs to INT8 and start using them for OODB-analogous behavior on individual records? > This is certainly not ideal, but it's not nearly as big a problem as > transaction ID wraparound. You can live with it, whereas right now > xact ID wraparound is catastrophic. That we gotta work on, soon. Nothing like reassuring us commercial DB users, Tom. :-P Can you describe what you're talking about? -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco