Teach nodeSort and nodeMaterial to optimize out unnecessary overhead

Tom Lane <tgl@sss.pgh.pa.us>

Commit: d2c555ee538f34be7aff744b994df4d2369a9140
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-02-28T05:48:44Z
Releases: 8.2.0
Teach nodeSort and nodeMaterial to optimize out unnecessary overhead
when the passed-down eflags indicate they can.
Simon Riggs and Tom Lane

Files

PathChange+/−
src/backend/executor/nodeMaterial.c modified +57 −26
src/backend/executor/nodeSort.c modified +19 −3
src/include/nodes/execnodes.h modified +4 −2