Don't try to constant-fold functions returning RECORD, since the optimizer
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Apr 2005 21:44:35 +0000 (21:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Apr 2005 21:44:35 +0000 (21:44 +0000)
commit2a35291952e2a516819553eb9eb40b6763182526
tree56b20cc469028c0402f88a308266e97072a97043
parent29028762a96741647681495fc16ede97d743107c
Don't try to constant-fold functions returning RECORD, since the optimizer
isn't presently set up to pass them an expected tuple descriptor.  Bug has
been there since 7.3 but was just recently reported by Thomas Hallgren.
src/backend/optimizer/util/clauses.c