pgsql-server/src backend/executor/execMain.c b ... - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql-server/src backend/executor/execMain.c b ...
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    [email protected]    03/02/03 10:07:09

Modified files:
    src/backend/executor: execMain.c execScan.c nodeIndexscan.c
                          nodeSeqscan.c nodeTidscan.c
    src/backend/optimizer/plan: createplan.c planner.c
    src/backend/optimizer/util: plancat.c relnode.c
    src/include/executor: executor.h
    src/include/nodes: relation.h
    src/include/optimizer: plancat.h

Log message:
    Tweak planner and executor to avoid doing ExecProject() in table scan
    nodes where it's not really necessary.  In many cases where the scan node
    is not the topmost plan node (eg, joins, aggregation), it's possible to
    just return the table tuple directly instead of generating an intermediate
    projection tuple.  In preliminary testing, this reduced the CPU time
    needed for 'SELECT COUNT(*) FROM foo' by about 10%.


pgsql-committers by date:

Previous
From: [email protected] (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/src backend/Makefile interfaces/l ...
Next
From: [email protected] (Bruce Momjian - CVS)
Date:
Subject: pgsql-server/src/backend/utils/adt ruleutils.c