Re: Modifying NOT NULL Constraint

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: Modifying NOT NULL Constraint
Дата
Msg-id 394727C0.7493DCF@nimrod.itg.telecom.com.au
обсуждение исходный текст
Ответ на Modifying NOT NULL Constraint  ("Dan Wilson" <phpPgAdmin@acucore.com>)
Список pgsql-hackers
Tom Lane wrote:

> What do you think should happen if there are null values?  Refuse the
> command?  Delete the non-compliant rows?  Allow the rows to remain
> even though the column is now nominally NOT NULL?

I would vote for refuse the command. It enforces the integrity of the
data.
You can always do an appropriate update command first if you think there
are 
nulls in there.


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

Предыдущее
От: "Dan Wilson"
Дата:
Сообщение: Re: Modifying NOT NULL Constraint
Следующее
От: Michael Robinson
Дата:
Сообщение: Re: Big 7.1 open items