Thread: pgsql-server/src/backend/executor nodeAgg.c no ...

pgsql-server/src/backend/executor nodeAgg.c no ...

From
tgl@developer.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@developer.postgresql.org    03/05/30 16:23:10

Modified files:
    src/backend/executor: nodeAgg.c nodeHashjoin.c

Log message:
    Small performance improvement for hash joins and hash aggregation:
    when the plan is ReScanned, we don't have to rebuild the hash table
    if there is no parameter change for its child node.  This idea has
    been used for a long time in Sort and Material nodes, but was not in
    the hash code till now.