HashAgg: release write buffers sooner by rewinding tape.

Jeff Davis <jdavis@postgresql.org>

Commit: 42a46f5a76ecb435ac3a29fc3a0d03f1cfff17ab
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2020-09-16T04:28:20Z
Releases: 13.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