Thread: REL7_0_PATCHES pgsql/src/backend/optimizer/plan (initsplan.c planmain.c)

REL7_0_PATCHES pgsql/src/backend/optimizer/plan (initsplan.c planmain.c)

From
Tom Lane
Date:
  Date: Saturday, September 23, 2000 @ 19:50:48
Author: tgl
   Tag: REL7_0_PATCHES

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/plan
     from hub.org:/home/projects/pgsql/tmp/cvs-serv67618/backend/optimizer/plan

Modified Files:
    initsplan.c planmain.c

-----------------------------  Log Message  -----------------------------

Back-patch code to deduce implied equalities from transitivity of
mergejoin clauses, and add these equalities to the given WHERE clauses.
This is necessary to ensure that sort keys we think are equivalent
really are equivalent as soon as their rels have been joined.  Without
this, 7.0 may create an incorrect mergejoin plan.