Re: [SQL] maximum number of rows in table - what about oid limits?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: john(at)august(dot)com
Cc: pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] maximum number of rows in table - what about oid limits?
Date: 2001-06-06 18:50:15
Message-ID: Pine.BSF.4.21.0106061146090.16690-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

On Wed, 6 Jun 2001, John Scott wrote:

> well i wasn't interested in using oids in my application.
> i was curious about the relationship oids
> and the tuple/row limit.
>
> i guess if what you say is true, the oids are NOT used internally
> by postgres. this seems odd.

> so, i guess my question still stands ... what happens when oids wrap?
> are oids nothing more than a sequence with an index,
> not used at all internally?

They are used for references between system tables. That's why
you'll get intermittent failures on things like create statements after
rollover (system tables may have unique index on oid).
As far as I know the system doesn't do stuff with the oid on user rows.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Herbert.Liechti 2001-06-06 18:50:35 Re: "trigger"ing a procedure every X minutes
Previous Message Somazx Interesting 2001-06-06 18:49:41 Slow DROPing Table

Browse pgsql-sql by date

  From Date Subject
Next Message Hunter, Ray 2001-06-06 20:13:35 Functions and Triggers
Previous Message Alex Pilosov 2001-06-06 18:50:14 Re: How to create a *pass-through-query* in postgresql