Make constant-folding produce sane output for COALESCE(NULL,NULL),
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 20:58:03 +0000 (20:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 10 Apr 2005 20:58:03 +0000 (20:58 +0000)
commit480e4e74370adfeb4d86c2f3421c27a2b946d516
tree8672d7107d303f9d63382f04f4809c140d4a8063
parentfe0490655675981a5c768922cc92cca93715705b
Make constant-folding produce sane output for COALESCE(NULL,NULL),
that is a plain NULL and not a COALESCE with no inputs.  Fixes crash
reported by Michael Williamson.
src/backend/optimizer/util/clauses.c