Re: ADD COLUMN with PRIMARY KEY bug (was: I think this is a BUG?)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ADD COLUMN with PRIMARY KEY bug (was: I think this is a BUG?)
Дата
Msg-id 2574.1209064422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ADD COLUMN with PRIMARY KEY bug (was: I think this is a BUG?)  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-patches
"Brendan Jurd" <direvus@gmail.com> writes:
> I realised that there's no reason for preparing a separate SetNotNull
> subcommand anymore, now that ATExecAddColumn takes care of enforcing
> the constraint, so I removed this special case.

This part seems to me to be code beautification, not a bug-fix, and
shouldn't be back-patched (particularly in view of the fact that we
haven't tested the change all that much --- there might be other
places depending on the old behavior).

Will take care of this.

            regards, tom lane

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

Предыдущее
От: "Brendan Jurd"
Дата:
Сообщение: ADD COLUMN with PRIMARY KEY bug (was: I think this is a BUG?)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ADD COLUMN with PRIMARY KEY bug (was: I think this is a BUG?)