]> granicus.if.org Git - postgresql/commit
While determining the filter clauses for an index scan (either plain
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Apr 2005 03:58:30 +0000 (03:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Apr 2005 03:58:30 +0000 (03:58 +0000)
commit1fcd4b7a07a5cfb00e064c4bdd984e52cde71a5c
treeb1bf9acf968752e5cad5a8ed34f2928c9d822a30
parent79a1b00226354e2c7f1bf5c1db90661b1f5a4148
While determining the filter clauses for an index scan (either plain
or bitmap), use pred_test to be a little smarter about cases where a
filter clause is logically unnecessary.  This may be overkill for the
plain indexscan case, but it's definitely useful for OR'd bitmap scans.
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/plan/createplan.c