BUG #3543: ARRAY(SELECT ...) contruct yields NULL without rows - Mailing list pgsql-bugs

From Jens Schicke
Subject BUG #3543: ARRAY(SELECT ...) contruct yields NULL without rows
Date
Msg-id 200708161111.l7GBBnso007837@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3543: ARRAY(SELECT ...) contruct yields NULL without rows
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3543
Logged by:          Jens Schicke
Email address:      j.schicke@asco.de
PostgreSQL version: 8.2.4
Operating system:   GNU/Linux
Description:        ARRAY(SELECT ...) contruct yields NULL without rows
Details:

SELECT ARRAY(SELECT 1 WHERE 1 = 0) IS NULL; -- true

this leads imho to inconsistencies later, if tests with = ANY or similar are
done.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3539: tsearch2 broken on Intel Macs running Leopard
Next
From: "Jens Schicke"
Date:
Subject: BUG #3542: Dropped and recreated columns have problems with NOT NULL contraints