git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0f2458f) | patch
Avoid projecting tuples unnecessarily in Gather and Gather Merge.
2017年11月25日 15:49:17 +0000 (10:49 -0500)
2017年11月25日 15:49:17 +0000 (10:49 -0500)
commit b10967eddf964f8c0a11060cf3f366bbdd1235f6
Avoid projecting tuples unnecessarily in Gather and Gather Merge.

It's most often the case that the target list for the Gather (Merge)
node matches the target list supplied by the underlying plan node;
when this is so, we can avoid the overhead of projecting.

This depends on commit f455e1125e2588d4cd4fc663c6a10da4e003a3b5 for
proper functioning.

Idea by Andres Freund. Patch by me. Review by Amit Kapila.

Discussion: http://postgr.es/m/CA+TgmoZ0ZL=cesZFq8c9NnfK6bqy-wwUd3_74iYGodYrSoQ7Fw@mail.gmail.com
src/backend/executor/execScan.c diff | blob | blame | history
src/backend/executor/execUtils.c diff | blob | blame | history
src/backend/executor/nodeGather.c diff | blob | blame | history
src/backend/executor/nodeGatherMerge.c diff | blob | blame | history
src/include/executor/executor.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /