From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: maximum number of rows in table - what about oid limits? |
Date: | 2001-06-06 23:09:09 |
Message-ID: | web-68254@davinci.ethosmedia.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2001-06-06 23:16:43 | Re: using create constraint trigger |
Previous Message | Tom Lane | 2001-06-06 22:37:00 | Re: [SQL] maximum number of rows in table - what about oid limits? |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2001-06-06 23:12:06 | Re: How to create a *pass-through-query* in postgresql |
Previous Message | Tom Lane | 2001-06-06 22:37:00 | Re: [SQL] maximum number of rows in table - what about oid limits? |