ARRAY() returning NULL instead of ARRAY[] resp. {} - Mailing list pgsql-sql

From Markus Bertheau
Subject ARRAY() returning NULL instead of ARRAY[] resp. {}
Date
Msg-id 1116873219.7306.0.camel@localhost.localdomain
Whole thread Raw
Responses Re: ARRAY() returning NULL instead of ARRAY[] resp. {}
Re: ARRAY() returning NULL instead of ARRAY[] resp. {}
List pgsql-sql
Hi,

why does SELECT ARRAY(SELECT 1 WHERE FALSE) return NULL instead of
ARRAY[] resp. '{}'?

Markus

--
Markus Bertheau <twanger@bluetwanger.de>

pgsql-sql by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: [despammed] Re: Need clarification
Next
From: "Jan B."
Date:
Subject: Re: ARRAY() returning NULL instead of ARRAY[] resp. {}