Re: Ever increasing OIDs - gonna run out soon? - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Ever increasing OIDs - gonna run out soon?
Date
Msg-id b42b73150606121332j61c08230ta87a2b754243ab63@mail.gmail.com
Whole thread Raw
In response to Re: Ever increasing OIDs - gonna run out soon?  ("Alex Turner" <armtuk@gmail.com>)
List pgsql-general
On 6/12/06, Alex Turner <armtuk@gmail.com> wrote:
> Just a quick thought - I know that I don't fully understand tables with
> oids, and table without oids, is there a link to some more information about
> why you need oids, or why you don't that I could reference as I'm a bit lost
> on the subject of oids

dont get lost, just forget you ever heard about them :).  oid is a
'free' userland autoincrement counter which has some problems.  It was
a hidden column that in older versions of postgresql  was implicitly
added to your tables.  newer versions of pg assume you dont want OIDs
on your table. (system tables still use them, tho).

for purposes of a global counter or table level ID generator,
sequences are basically better in every way.  use them.  some
middleware such as the odbc driver used to work better/easier if you
had a column but afaik this is not the case anymore.

Merlin

pgsql-general by date:

Previous
From: John Sidney-Woollett
Date:
Subject: Re: Ever increasing OIDs - gonna run out soon?
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Ever increasing OIDs - gonna run out soon?