Re: Data integrity and sanity check

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Data integrity and sanity check
Дата
Msg-id 20020331133046.J82404-100000@houston.familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Data integrity and sanity check  ("Rod Taylor" <rbt@zort.ca>)
Список pgsql-hackers
> BTW.  There are good reasons sometimes for having data that violates
> current constraints.  The top of a tree may have a static record with
> a null parent.  The NOT NULL constraint added after this entry (via
> alter table add constraint) should not affect the static record, so
> unless you know your data quite well this type of tool wouldn't be
> particularly useful anyway.

As far as I am aware, there is no alter table add constraint syntax for
NOT NULLs atm.  I've submitted a patch that allows alter table/alter
column set/drop not null though.

Chris




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: compile bug in HEAD?
Следующее
От: "Amit Khare"
Дата:
Сообщение: Re: How to give permission to others on data directory