Jan 2025

2 commits
Fix off_t overflow in pg_basebackup on Windows.
9 Jan 2025Thomas Munromaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11REL_14_STABLE14.16REL_13_STABLE13.19
LLM analysis, 97% surepart of a posted patchsetmoderate changesfrom patchset #131 of 1 reviewer saw the final version

970b97eeb8 takes the pg_basebackup offset portion of #13, leaving its bundled portability changes to a separate commit. Besides Walfile.currpos in walmethods.h, it converts TarMethodFile.ofs_start in walmethods.c and close_walfile's currpos in receivelog.c, matching Thomas's explanation in #16.

  • Thomas Munrosaw the final versioncommittercommitted the patch
Provide 64-bit ftruncate() and lseek() on Windows.
9 Jan 2025Thomas Munromaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.3REL_16_STABLE16.7REL_15_STABLE15.11REL_14_STABLE14.16REL_13_STABLE13.19
LLM analysis, 96% surepart of a posted patchsetmoderate changesfrom patchset #130 of 2 reviewers saw the final version

d02486cc8e takes Thomas's portability patch from #12, reproduced in the master attachment of #13, without the pg_basebackup changes. It makes lseek a function-like macro, removes the redundant errno assignment around _chsize_s, and adds #undef lseek to src/pl/plperl/plperl_system.h.

  • Jacob Championsaw an earlier versionLLM analysis, 88% sureBefore an attachment existed, Jacob identified the additional 32-bit ftruncate mapping in #3, which Thomas explicitly accepted in #6 and addressed in the portability patch.
  • Robert Haassaw an earlier versionLLM analysis, 86% sureRobert challenged the fallback implementation shared by #6 and #7, advocating direct use of the newer function in #8 and explaining the risks of an unverified fallback in #11.

Credits across 2 commits

Author
davinder singh1
Thomas MunroLLM1
Reviewer
Thomas Munrocommitter1
Tested by
davinder singh1
Reported by
Jakub Wartak1
Committer
Thomas Munro2

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