Aug 2021

2 commits
pg_resetwal: Improve numeric command-line argument parsing
20 Aug 2021Peter Eisentrautmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The commit adds errno initialization and checks around numeric conversions in src/bin/pg_resetwal/pg_resetwal.c, implementing Mark Dilger's overflow report and proposed consistency fix in #2. No attached patchset changes pg_resetwal, and Peter confirms committing this additional fix in #4.

  • Mark Dilgersaw the final versionLLM analysis, 99% sureMark demonstrated pg_resetwal's misleading overflow diagnostic and proposed adding the same errno validation in #2, which the commit implements.
pg_amcheck: Fix block number parsing on command line
20 Aug 2021Peter Eisentrautmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

Both hunks in src/bin/pg_amcheck/pg_amcheck.c match #1, with only a context line-number shift: unsigned parsing, errno and empty-input checks, and bounds validation before assignment.

  • Mark Dilgersaw the final versiontrailerMark explicitly said the patch looked correct in #2, and it landed unchanged.

Credits across 2 commits

Author
Peter EisentrautLLM1
Reviewer
Mark Dilger1
Reported by
Mark Dilger1
Committer
Peter Eisentraut2

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