pgsql-server/src backend/nodes/copyfuncs.c bac ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src backend/nodes/copyfuncs.c bac ...
Date: 2002-11-24 21:52:15
Message-ID: 20021124215215.4BA7B475B84@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)postgresql(dot)org 02/11/24 16:52:15

Modified files:
src/backend/nodes: copyfuncs.c equalfuncs.c list.c outfuncs.c
readfuncs.c
src/backend/optimizer/path: indxpath.c joinpath.c orindxpath.c
tidpath.c
src/backend/optimizer/plan: initsplan.c
src/backend/optimizer/util: pathnode.c plancat.c relnode.c
restrictinfo.c
src/include/nodes: nodes.h pg_list.h relation.h
src/include/optimizer: paths.h restrictinfo.h

Log message:
Restructure planning of nestloop inner indexscans so that the set of usable
joinclauses is determined accurately for each join. Formerly, the code only
considered joinclauses that used all of the rels from the outer side of the
join; thus for example
FROM (a CROSS JOIN b) JOIN c ON (c.f1 = a.x AND c.f2 = b.y)
could not exploit a two-column index on c(f1,f2), since neither of the
qual clauses would be in the joininfo list it looked in. The new code does
this correctly, and also is able to eliminate redundant clauses, thus fixing
the problem noted 24-Oct-02 by Hans-Jrgen Schnig.

Browse pgsql-committers by date

  From Date Subject
Next Message D'Arcy Cain 2002-11-25 01:28:32 pgsql-server/src/interfaces/python pg.py
Previous Message Bruce Momjian - CVS 2002-11-24 03:15:56 pgsql-server/doc/src/sgml features.sgml