Re: To OID or not to OID

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: "David Parker" <dparker(at)tazznetworks(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: To OID or not to OID
Date: 2004-09-28 14:23:16
Message-ID: 878yaupj57.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David Parker" <dparker(at)tazznetworks(dot)com> writes:

> Is there any concrete reason NOT to create tables WITHOUT OIDS? We are
> going to have some very large tables in our app, so saving the space and
> not worrying about int-wrap seems like a good idea, but I'm worried that
> I'm missing something.

Nothing in PG depends on user tables having an OID column. They used
to be a way to get a primary key before SERIAL came along, but they
are now deprecated for user tables. WITHOUT OIDS will be the default
in a future release.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2004-09-28 14:34:37 Re: compiler for functions
Previous Message Rahat Ali 2004-09-28 14:22:05 is it Distributed Database