Re: add "WITH OIDS" to CREATE TABLE AS

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: add "WITH OIDS" to CREATE TABLE AS
Дата
Msg-id 200401062234.i06MYcL20092@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: add "WITH OIDS" to CREATE TABLE AS  (Neil Conway <neilc@samurai.com>)
Ответы Re: add "WITH OIDS" to CREATE TABLE AS
Список pgsql-patches
Neil Conway wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Does this deal with the fact we now emit WITH/WITHOUT OID in
> > pg_dump?
>
> No, that is an unrelated issue. I took a brief look at implementing
> this over the break, but I couldn't see an easy way to do it properly:
> if we pick a particular default for the GUC variable and then use SET
> to change it when necessary for a particular CREATE TABLE, we could
> potentially issue far more SET commands than are needed.

Couldn't we use SET only when we need to change the existing value?
Isn't that what we do with SET AUTHORIZATION?

> > FYI, that is a must-fix for 7.5 for portability reasons.
>
> (Reasons which I still find pretty unconvincing, but ...)

I understand, but there was general agreement not to add more
incompatibilities to pg_dump.  If it can't be fixed, WITH/WITHOUT OIDS
will need to be removed.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: move 'Value' node into separate file
Следующее
От: Neil Conway
Дата:
Сообщение: Re: add "WITH OIDS" to CREATE TABLE AS