]> granicus.if.org Git - postgresql/commit
simplify_function() mustn't try to evaluate functions that return
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jan 2004 00:05:04 +0000 (00:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 28 Jan 2004 00:05:04 +0000 (00:05 +0000)
commit4405b3e05e566794fff92767fae7994a3c495d7f
treeda30e74984803a70cdb04c66c9e267a9e4a5d58b
parent45842e6c52ec78100529f5523444985d4b8c61dd
simplify_function() mustn't try to evaluate functions that return
composite types, because TupleTableSlots aren't Datums and can't be
stored in Const nodes.  We can remove this restriction if we ever
adopt a cleaner runtime representation for whole-tuple results, but
at the moment it's broken.  Per example from Thomas Hallgren.
src/backend/optimizer/util/clauses.c