aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2020-09-15 21:34:05 -0700
committerJeff Davis <jdavis@postgresql.org>2020-09-15 21:47:47 -0700
commit6e146a663536f86c8421ac6ed08c4eb9a69979fd (patch)
tree051d985498a2599d4045ab51f4cff8a65f7aecba /src/backend/access/gist
parent42a46f5a76ecb435ac3a29fc3a0d03f1cfff17ab (diff)
downloadpostgresql-6e146a663536f86c8421ac6ed08c4eb9a69979fd.tar.gz
postgresql-6e146a663536f86c8421ac6ed08c4eb9a69979fd.zip
Change LogicalTapeSetBlocks() to use nBlocksWritten.
Previously, it was based on nBlocksAllocated to account for tapes with open write buffers that may not have made it to the BufFile yet. That was unnecessary, because callers do not need to get the number of blocks while a tape has an open write buffer; and it also conflicted with the preallocation logic added for HashAgg. Reviewed-by: Peter Geoghegan Discussion: https://postgr.es/m/ce5af05900fdbd0e9185747825a7423c48501964.camel@j-davis.com Backpatch-through: 13
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions