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 E1kIP3A-0001FW-Rf@gemulon.postgresql.org
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/1fb1151c2cddf8747d14e0532da283c3f97e2685.camel@j-davis.com
Backpatch-through: 13

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3bd35d4f516adfc492360b20e72911949c961e47

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


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix initialization of RelationSyncEntry for streaming transactio
Next
From: Jeff Davis
Date:
Subject: pgsql: HashAgg: release write buffers sooner by rewinding tape.