Re: SET NULL / SET NOT NULL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SET NULL / SET NOT NULL
Дата
Msg-id Pine.LNX.4.30.0203220129420.812-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: SET NULL / SET NOT NULL  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы Re: SET NULL / SET NOT NULL
Re: SET NULL / SET NOT NULL
Список pgsql-hackers
Christopher Kings-Lynne writes:

> Do we want the above syntax, or this syntax:
>
> ALTER TABLE blah ALTER COLUMN col SET NOT NULL;
> ALTER TABLE blah ALTER COLUMN col SET NULL;

My only objection to the second command is that it's plain wrong.  You
don't set anything to NULL, so don't make the command look like it.

-- 
Peter Eisentraut   peter_e@gmx.net



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