]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix best_inner_indexscan to actually enforce that an "inner indexscan" use
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2006 21:32:17 +0000 (21:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2006 21:32:17 +0000 (21:32 +0000)
commit898eb25431847e2c79ba6a9c93e36b2bd75a25bc
tree7ac870bbc8ddc2fea44c438f1bb279a22ff88ca3
parentc6e81aeef39fd546976c5d90e484db0ddb2536e7
Fix best_inner_indexscan to actually enforce that an "inner indexscan" use
at least one join condition as an indexqual.  Before bitmap indexscans, this
oversight didn't really cost much except for redundantly considering the
same join paths twice; but as of 8.1 it could result in silly bitmap scans
that would do the same BitmapOr twice and then BitmapAnd these together :-(
src/backend/optimizer/path/indxpath.c