aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-15 17:09:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-15 17:09:26 +0000
commit0182951bc86e3ce6f8386c24829c0a5931d5124b (patch)
treec5e26fba7c6baf91469e3ed3584b522edf07a210 /src/backend/utils/adt/ruleutils.c
parentaa1110624c08298393dfce996f7b21809d98d3fd (diff)
downloadpostgresql-0182951bc86e3ce6f8386c24829c0a5931d5124b.tar.gz
postgresql-0182951bc86e3ce6f8386c24829c0a5931d5124b.zip
Fix overenthusiastic optimization of 'x IN (SELECT DISTINCT ...)' and related
cases: we can't just consider whether the subquery's output is unique on its own terms, we have to check whether the set of output columns we are going to use will be unique. Per complaint from Luca Pireddu and test case from Michael Fuhr.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions