Thread: pgsql/src backend/nodes/copyfuncs.c backend/no ...

pgsql/src backend/nodes/copyfuncs.c backend/no ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/05 01:26:05

Modified files:
    src/backend/nodes: copyfuncs.c equalfuncs.c readfuncs.c
    src/backend/optimizer/path: allpaths.c clausesel.c costsize.c
                                joinpath.c tidpath.c
    src/backend/optimizer/plan: createplan.c initsplan.c planmain.c
                                planner.c
    src/backend/optimizer/prep: prepunion.c
    src/backend/optimizer/util: pathnode.c
    src/backend/utils/adt: selfuncs.c
    src/include/nodes: relation.h
    src/include/optimizer: cost.h pathnode.h planmain.h planner.h

Log message:
    Further work on making use of new statistics in planner.  Adjust APIs
    of costsize.c routines to pass Query root, so that costsize can figure
    more things out by itself and not be so dependent on its callers to tell
    it everything it needs to know.  Use selectivity of hash or merge clause
    to estimate number of tuples processed internally in these joins
    (this is more useful than it would've been before, since eqjoinsel is
    somewhat more accurate than before).