Oct 2024

3 commits
libpq: Discard leading and trailing spaces for parameters and values in URIs
6 Oct 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #71 of 1 reviewer saw the final version

The commit preserves the conninfo_uri_decode() implementation from #7 modulo whitespace, while refining src/interfaces/libpq/t/001_uri.pl and adding a malformed parameter-name test.

  • Yuto Sasakisaw the final versiontrailerYuto approved the URI patch and reported successful tests, including an experiment removing ECPG's whitespace handling; only light test changes followed #11.
ecpg: avoid adding whitespace around '&' in connection URLs.
4 Oct 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #82 of 2 reviewers saw the final version

All three hunks from #8 landed unchanged, with an additional comment in src/interfaces/ecpg/ecpglib/connect.c explaining why runtime space skipping remains necessary for previously compiled applications.

  • Fujii Masaosaw the final versionLLM analysis, 90% sureBefore the ECPG patch existed, Fujii identified unnecessary spaces introduced by the preprocessor and demonstrated the resulting URI inconsistency, prompting the adopted fix #2 #5.
  • Michael Paquiersaw the final versionLLM analysis, 99% sureMichael explicitly endorsed removing the extra whitespace from ECPG-generated strings before the commit; the only subsequent addition was explanatory commentary #9.
Parse libpq's "keepalives" option more like other integer options.
2 Oct 2024Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.1REL_16_STABLE16.5REL_15_STABLE15.9REL_14_STABLE14.14REL_13_STABLE13.17+1 more
LLM analysis, 98% suremodified before commitmoderate changesfrom patchset #11 of 3 reviewers saw the final version

The commit takes the useKeepalives() parser replacement from #1, adapting it to parse_int_param() on its branch and omitting the ECPG tests. It also removes the caller's redundant error emission because the parser already reports the error, consistent with Tom's acknowledgement that he pushed Sasaki's patch #6.

  • Michael Paquiersaw an earlier versionLLM analysis, 98% sureMichael confirmed that keepalives should use the shared integer parser and explained its whitespace handling before the committer adjusted the error-reporting path #4.
  • Fujii Masaosaw an earlier versionLLM analysis, 93% sureFujii examined the whitespace issue and explicitly accepted improving keepalives handling while distinguishing the separate ECPG problem, before the committer's error-reporting cleanup #2 #5.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Michael PaquierLLM1
Tom LaneLLM1
Yuto Sasaki (Fujitsu)LLM1
Reviewer
Tom Lanecommitter1
Yuto Sasaki1
Committer
Tom Lane2
Michael Paquier1

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