aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-15 17:09:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-15 17:09:50 +0000
commit1e31942a3317b1a31c90c5e6ab6ef3b8760f1063 (patch)
tree52ca41a1d86b07e5b8480528cc7a390cad2a0719 /src/backend/access/gist/gist.c
parent35a0fc32f537bf6dbbdf53a8523ead01704ec8b4 (diff)
downloadpostgresql-1e31942a3317b1a31c90c5e6ab6ef3b8760f1063.tar.gz
postgresql-1e31942a3317b1a31c90c5e6ab6ef3b8760f1063.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/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions