Fix a bunch of bad interactions between partial indexes and the new

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a4ca84231973395be9a6a415f286573decd2cd61
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-07-28T20:26:22Z
Releases: 8.1.0
Fix a bunch of bad interactions between partial indexes and the new
planning logic for bitmap indexscans.  Partial indexes create corner
cases in which a scan might be done with no explicit index qual conditions,
and the code wasn't handling those cases nicely.  Also be a little
tenser about eliminating redundant clauses in the generated plan.
Per report from Dmitry Karasik.

Files