Re: Column 'CHECK' Constraint: bug or ?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Column 'CHECK' Constraint: bug or ?
Дата
Msg-id Pine.BSF.4.21.0109192216350.71501-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Column 'CHECK' Constraint: bug or ?  (Keary Suska <hierophant@pcisys.net>)
Список pgsql-general
On Wed, 19 Sep 2001, Keary Suska wrote:

> It appears that Postgres checks column CHECK constraints when performing an
> update regardless of whether the particular column is being updated. Perhaps
> my understanding of column vs table constraints is incomplete but this
> doesn't seem to be proper behavior, and I can't find it documented anywhere.

If I read spec correctly, a column check constraint is equivalent to a
table constraint of the same search condition (and name and
attributes) for purposes of checking the constraint which means it should
be valid at end of transaction/statement depending on the constraint
attributes (and we don't support deferred check right now).



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Column 'CHECK' Constraint: bug or ?
Следующее
От: Keary Suska
Дата:
Сообщение: Re: Column 'CHECK' Constraint: bug or ?