OSDN Git Service

Detect duplicate aggregate calls and evaluate only one copy. This
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Feb 2003 00:48:23 +0000 (00:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Feb 2003 00:48:23 +0000 (00:48 +0000)
commit85caf1784a318afdd3c4ba66ffd23c0d0af99cd6
tree9b435b860726eb02ec116f723e3dc7f1da3872de
parentef5842b5f718437b504e801258025b188f764380
Detect duplicate aggregate calls and evaluate only one copy.  This
speeds up some useful real-world cases like
SELECT x, COUNT(*) FROM t GROUP BY x HAVING COUNT(*) > 100.
src/backend/executor/nodeAgg.c