Re: Alter table add column ignores default

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alter table add column ignores default
Дата
Msg-id 4188.989588826@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Alter table add column ignores default  (Vince Vielhaber <vev@michvhf.com>)
Список pgsql-bugs
Vince Vielhaber <vev@michvhf.com> writes:
> If this:
> alter table foobar add column address varchar(50) default 'none';
> is the incorrect syntax, why does it not fail or at least give a
> warning?

Because it's incompletely implemented: the parser takes the full syntax
but the ALTER TABLE routine doesn't do everything it should.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: exists <==> not exists ???
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SELECT updatability clause defective.