Re: To OID or not to OID

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: To OID or not to OID
Дата
Msg-id 878yaupj57.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на To OID or not to OID  ("David Parker" <dparker@tazznetworks.com>)
Ответы Re: To OID or not to OID
Список pgsql-general
"David Parker" <dparker@tazznetworks.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Dennis Gearon
Дата:
Сообщение: compiler for functions
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: compiler for functions