HashAgg: release write buffers sooner by rewinding tape.

Jeff Davis <jdavis@postgresql.org>

Commit: 3bd35d4f516adfc492360b20e72911949c961e47
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-09-16T04:18:22Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/executor/nodeAgg.c modified +9 −5

Discussion