Re: [BUGS] BUG #4741: Domain constraint violation with trigger

2009-04-01 Thread Tom Lane
"Brice Maron & Duchesne P-A" 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())

[BUGS] BUG #4741: Domain constraint violation with trigger

2009-03-30 Thread Brice Maron & Duchesne P-A
The following bug has been logged online: Bug reference: 4741 Logged by: Brice Maron & Duchesne P-A Email address: bma...@naturalsciences.be PostgreSQL version: 8.3.7 Operating system: i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42) Descript