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  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Re: SET NULL / SET NOT NULL  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Problem with reloading groups in pg_hba.conf
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SET NULL / SET NOT NULL