Re: default to WITHOUT OIDS?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: default to WITHOUT OIDS?
Дата
Msg-id 23523.1042242294@sss.pgh.pa.us
обсуждение исходный текст
Ответ на default to WITHOUT OIDS?  (Neil Conway <neilc@samurai.com>)
Ответы Re: default to WITHOUT OIDS?  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> Is it a good idea for CREATE TABLE to default to WITHOUT OIDS, rather
> than WITH OIDS?

Are you intending that pg_dump will always attach either WITH OIDS or
WITHOUT OIDS to its CREATE TABLE commands?

If we do not do so, the behavior of a dump and reload will be dependent
on the setting of the GUC variable at reload time, which seems like a
big hazard.  On the other hand, if we do do that then (a) pg_dump output
becomes even less portable than it is now, and (b) upgraded databases
will still have OIDs, which renders the "improved storage efficiency"
argument a bit thin.
        regards, tom lane


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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: default to WITHOUT OIDS?
Следующее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: v7.3.1 psql against a v7.2.x database ...