pgsql: Repair planning bug introduced in 7.4: outer-join ON clauses that - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Repair planning bug introduced in 7.4: outer-join ON clauses that
Date
Msg-id 20050928211703.846FBD6EAF@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Repair planning bug introduced in 7.4: outer-join ON clauses that referenced
only the inner-side relation would be considered as potential equijoin clauses,
which is wrong because the condition doesn't necessarily hold above the point
of the outer join.  Per test case from Kevin Grittner (bug#1916).

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        initsplan.c (r1.108 -> r1.109)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/initsplan.c.diff?r1=1.108&r2=1.109)
        planmain.c (r1.87 -> r1.88)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planmain.c.diff?r1=1.87&r2=1.88)
    pgsql/src/include/optimizer:
        planmain.h (r1.88 -> r1.89)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/planmain.h.diff?r1=1.88&r2=1.89)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Fix typo.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Repair planning bug introduced in 7.4: outer-join ON clauses that