pgsql: HashAgg: release write buffers sooner by rewinding tape.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: HashAgg: release write buffers sooner by rewinding tape.
Date: 2020-09-16 04:28:08
Message-ID: E1kIP3A-0001FW-Rf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2020-09-16 04:32:50 pgsql: HashAgg: release write buffers sooner by rewinding tape.
Previous Message Amit Kapila 2020-09-16 02:31:12 pgsql: Fix initialization of RelationSyncEntry for streaming transactio