Re: SET NULL / SET NOT NULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SET NULL / SET NOT NULL
Дата
Msg-id 13279.1014346567@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SET NULL / SET NOT NULL  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: SET NULL / SET NOT NULL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Using the standard precedent above, how about

> ALTER TABLE blah ALTER COLUMN col SET NOT NULL;
> ALTER TABLE blah ALTER COLUMN col DROP NOT NULL;

This seems like a good choice if we are not too concerned about
compatibility with other DBMSes.  (Which, for something like this,
I'm not; how many applications will be issuing programmed commands
like this?)
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: In case anyone is intereated ... mail traffic today ...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SET NULL / SET NOT NULL