summaryrefslogtreecommitdiff
path: root/src/backend/executor/execJunk.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-08-26 02:16:39 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-08-26 02:16:39 +0000
commita9ff5f07229039cbbef813b7384a35af88058f46 (patch)
treeeabc1353c11e072e317631ded2d349dae0619a88 /src/backend/executor/execJunk.c
parentbc846323d3b83e992086702902548bdd71cfa4ee (diff)
Teach eval_const_expressions() to simplify an ArrayCoerceExpr to a constant
when its input is constant and the element coercion function is immutable (or nonexistent, ie, binary-coercible case). This is an oversight in the 8.3 implementation of ArrayCoerceExpr, and its result is that certain cases involving IN or NOT IN with constants don't get optimized as they should be. Per experimentation with an example from Ow Mun Heng.
Diffstat (limited to 'src/backend/executor/execJunk.c')
0 files changed, 0 insertions, 0 deletions