Sep 2020

4 commits
Change LogicalTapeSetBlocks() to use nBlocksWritten.
16 Sep 2020Jeff Davismaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.0
LLM analysis, 100% suremodified before commitlight changesfrom patchset #231 of 1 reviewer saw the final version

The commit preserves all executable changes from #23 in nodeAgg.c and logtape.c; only the LogicalTapeSetBlocks() comment changes from actively writing to having open write buffers.

  • Peter Geoghegansaw the final versiontrailerPeter proposed the assertion loop in #20 and endorsed the resulting accounting patch in #28, after which only comment wording changed.
HashAgg: release write buffers sooner by rewinding tape.
16 Sep 2020Jeff Davismaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13.0
LLM analysis, 100% surelanded as postedfrom patchset #171 of 1 reviewer saw the final version

The nodeAgg.c diff exactly matches #17, moving LogicalTapeRewindForRead() into hashagg_spill_finish() and documenting buffer release.

  • Peter Geoghegansaw the final versiontrailerPeter tested #17 and reported roughly 50% lower temporary-file usage in a low-work_mem case in #18.
logtape.c: do not preallocate for tapes when sorting
12 Sep 2020Jeff Davismaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #51 of 1 reviewer saw the final version

All code changes match #5 across nodeAgg.c, logtape.c, tuplesort.c and logtape.h; the commit additionally updates ltsWriteBlock() commentary to acknowledge preallocation.

  • Peter Geoghegansaw the final versiontrailerPeter approved #5 and requested the ltsWriteBlock() comment correction in #7.
Fix bogus MaxAllocSize check in logtape.c.
4 Sep 2020Jeff Davismaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1REL_13_STABLE13rc1
LLM analysis, 100% surewritten from the discussion, no matching patch

In #3, Peter identified that ltsReleaseBlock() checked an element count against MaxAllocSize; the commit adds the missing sizeof(long) multiplier. No attached patch contains this fix, and Peter is credited as its reporter.

Credits across 4 commits

Author
Jeff DavisLLM3
Reviewer
Peter Geoghegan3
Reported by
Peter Geoghegan1
Committer
Jeff Davis4

N LLM means N of the credits come from LLM analysis, not from commit trailers.