Re: BUG #4741: Domain constraint violation with trigger

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4741: Domain constraint violation with trigger
Дата
Msg-id 3907.1238635062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4741: Domain constraint violation with trigger  ("Brice Maron & Duchesne P-A" <bmaron@naturalsciences.be>)
Список pgsql-bugs
"Brice Maron & Duchesne P-A" <bmaron@naturalsciences.be> writes:
> we've got a problem with a NOT Null constraint on a domain in a trigger.
> When, in a trigger, we put a null into the not nullable domain, postgresql
> doesn't throw an error.

Thanks, fixed.  (Just remove the if (!isnull) test in exec_simple_cast_value())

            regards, tom lane

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

Предыдущее
От: Beto Piragauta
Дата:
Сообщение: consulta de phpESP postgres error
Следующее
От: itishree sukla
Дата:
Сообщение: Re: [GENERAL] Hello, i want to subscribe...