clauses even if it's an outer join. This is a corner case since such
clauses could only arise from weird OUTER JOIN ON conditions, but worth
fixing. Per example from Ron at cheapcomplexdevices.com.
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.147.4.1 2005/04/20 21:48:22 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v 1.147.4.2 2005/12/06 16:59:22 tgl Exp $
*
*-------------------------------------------------------------------------
*/
{
RestrictInfo *rinfo = (RestrictInfo *) lfirst(i);
- /* Can't use pushed-down clauses in outer join */
- if (isouterjoin && rinfo->ispusheddown)
- continue;
-
if (match_clause_to_indexcol(rel,
index,
indexcol,