Jan 2023

1 commit
During pg_dump startup, acquire table locks in batches.
3 Jan 2023Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11 of 4 reviewers saw the final version

The commit preserves the batching implementation from #1 in src/bin/pg_dump/pg_dump.c, but reduces the query-length threshold from 1048576 to 100000 bytes, adjusts comments and separators, and uses appendPQExpBufferStr for constant strings. Tom Lane explicitly confirms the threshold change and commit in #15.

  • Fabrízio de Royes Mellosaw an earlier versionLLM analysis, 99% sureApproved the code and reported successful tests in #2, then supplied benchmarks in #7; the committed batch-size threshold subsequently changed.
  • Andres Freundsaw an earlier versionLLM analysis, 99% sureTested batching against separate locking statements and pipelining in #9 and demonstrated a substantial parallel-dump improvement at 5 ms latency in #12, before the committed threshold change.
  • Gilles Daroldsaw an earlier versionLLM analysis, 99% sureReported successful compilation, regression and pg_dump tests, and reproduced the performance gains in #14, before the committed threshold change.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Aleksander AlekseevLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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