pgsql: HashAgg: release write buffers sooner by rewinding tape. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: HashAgg: release write buffers sooner by rewinding tape.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
HashAgg: release write buffers sooner by rewinding tape.

This was an oversight. The purpose of 7fdd919ae7 was to avoid keeping
tape buffers around unnecessisarily, but HashAgg didn't rewind early
enough.

Reviewed-by: Peter Geoghegan
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/42a46f5a76ecb435ac3a29fc3a0d03f1cfff17ab

Modified Files
--------------
src/backend/executor/nodeAgg.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: HashAgg: release write buffers sooner by rewinding tape.
Next
From: Jeff Davis
Date:
Subject: pgsql: Change LogicalTapeSetBlocks() to use nBlocksWritten.