Jul 2023

2 commits
Simplify option handling in pg_ctl.
14 Jul 2023Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #261 of 1 reviewer saw the final version

The src/bin/pg_ctl/pg_ctl.c diff exactly matches #26 after ignoring index hash abbreviation lengths, including removal of the outer parsing loop and relocation of the excess-argument check.

  • Michael Paquiersaw the final versiontrailerMichael reported a clean CI run and questioned the excess-argument diagnostic in #30, then withdrew that objection in #32.
Teach in-tree getopt_long() to move non-options to the end of argv.
13 Jul 2023Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #251 of 2 reviewers saw the final version

Relative to #25, src/port/getopt_long.c restores the state-reset comment and replaces strcmp-based '-' and '--' checks with equivalent character tests, moving place++ accordingly. The createuser test changes are identical, and #26 confirms small edits before committing.

  • Kyotaro Horiguchisaw the final versiontrailerKyotaro identified the '--' ordering bug in #16, tested the correction in #18, and reviewed #23 in #24, after which only equivalent predicate changes and comments followed.
  • Michael Paquiersaw an earlier versiontrailerMichael examined platform concerns in #6 and requested documentation while reviewing #13 in #14, before the '-' and '--' handling fixes and control-flow revisions.

Credits across 2 commits

Author
Nathan BossartLLM2
Reviewer
Michael Paquier2
Kyotaro Horiguchi1
Committer
Nathan Bossart2

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