aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeRecursiveunion.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-25 17:44:41 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-25 17:44:41 +0000
commitb486e7f3827fec8caa6aaeae29334405feb14b88 (patch)
treeb6e6d096c5578df304594020e83b4b3eb2b5489d /src/backend/executor/nodeRecursiveunion.c
parent29259531c7b48384dba863124aff79e05980b329 (diff)
downloadpostgresql-b486e7f3827fec8caa6aaeae29334405feb14b88.tar.gz
postgresql-b486e7f3827fec8caa6aaeae29334405feb14b88.zip
Fix oversight in construction of sort/unique plans for UniquePaths.
If the original IN operator is cross-type, for example int8 = int4, we need to use int4 < int4 to sort the inner data and int4 = int4 to unique-ify it. We got the first part of that right, but tried to use the original IN operator for the equality checks. Per bug #5472 from Vlad Romascanu. Backpatch to 8.4, where the bug was introduced by the patch that unified SortClause and GroupClause. I was able to take out a whole lot of on-the-fly calls of get_equality_op_for_ordering_op(), but failed to realize that I needed to put one back in right here :-(
Diffstat (limited to 'src/backend/executor/nodeRecursiveunion.c')
0 files changed, 0 insertions, 0 deletions