Re: Check constraint on domain over an array not executed for array literals

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: "Florian G. Pflug" <fgp@phlo.org>
Cc: Postgresql-Hackers <pgsql-hackers@postgresql.org>
Date: 2009-11-13T16:11:32Z
Lists: pgsql-hackers
Florian G. Pflug wrote:
> Heikki Linnakangas wrote:
>> Agreed, it's a bug. A simpler example is just: [snipped]
> 
> Will this fix for this be included in 8.4.2 (or .3), or will it have to
> wait for 8.4 because it changes behavior?

It's a regression; 8.3 and earlier used to check the domain constraint
correctly.

I just committed it to CVS HEAD and REL8_4_STABLE. Thanks for the report!

-- 
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com