]> granicus.if.org Git - postgresql/commit
Make ARRAY(SELECT ...) return an empty array, rather than a NULL, when the
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Aug 2007 21:44:25 +0000 (21:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 Aug 2007 21:44:25 +0000 (21:44 +0000)
commit67bf7b919eddf9bd9ddc9e2d8f2dc7ca3bbfd3a2
tree84a7cb30a4c4bb3c0058108a1256545f5dc8fe2e
parent75d5f6fe791439fa925cd3a3b06c97ce2ddd705f
Make ARRAY(SELECT ...) return an empty array, rather than a NULL, when the
sub-select returns zero rows.  Per complaint from Jens Schicke.  Since this
is more in the nature of a definition change than a bug, not back-patched.
src/backend/executor/nodeSubplan.c
src/backend/optimizer/plan/subselect.c
src/include/nodes/primnodes.h