"Brice Maron & Duchesne P-A" <bmaron(at)naturalsciences(dot)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