Adjust nestloop-with-inner-indexscan plan generation so that we catch

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

Commit: cb02610e503957d7ed9b4375537fb6275c16f1fa
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-06-15T22:51:45Z
Releases: 7.4.1
Adjust nestloop-with-inner-indexscan plan generation so that we catch
some cases of redundant clauses that were formerly not caught.  We have
to special-case this because the clauses involved never get attached to
the same join restrictlist and so the existing logic does not notice
that they are redundant.

Files