Jun 2019

1 commit
Tweak libpq's PQhost, PQhostaddr, and psql's \connect
14 Jun 2019Alvaro Herreramaster12beta2REL_19_STABLE12beta2REL_18_STABLE12beta2REL_17_STABLE12beta2REL_16_STABLE12beta2REL_15_STABLE12beta2REL_14_STABLE12beta2REL_13_STABLE12beta2+1 more
LLM analysis, 99% suremodified before commitlight changesfrom patchset #341 of 2 reviewers saw the final version

The commit retains the has_hostaddr(), conditional address reuse, and normalized PQhostaddr() implementation from #34. Alvaro adds the psql documentation described in #35, cleans up comments and conditional layout, and stops the option scan after finding hostaddr.

  • Noah Mischsaw an earlier versionLLM analysis, 97% sureBeyond reporting the regression, Noah identifies PQconninfo() as the solution to the posted patch's missing hostaddr detection in #33, which Fabien implements in #34, substantially improving the incomplete reconnect logic.
  • Alvaro Herrerasaw the final versioncommittercommitted the patch

Nov 2018

1 commit
psql: Show IP address in \conninfo
19 Nov 2018Alvaro Herreramaster12beta1REL_19_STABLE12beta1REL_18_STABLE12beta1REL_17_STABLE12beta1REL_16_STABLE12beta1REL_15_STABLE12beta1REL_14_STABLE12beta1REL_13_STABLE12beta1+1 moreAlso in: libpq host/hostaddr/conninfo inconsistencies (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #211 of 3 reviewers saw the final version

All six resulting file blobs exactly match #21, whose patch header credits Fabien despite Alvaro submitting it. This exact pre-commit submission is later than the pre-commit submissions in thread #39233; that thread's February 2019 submissions postdate this November 2018 commit.

  • Pavel Stehulesaw an earlier versiontrailerPavel reports successful tests and checks the documentation and behavior in #2, but subsequent revisions change getHostaddr() failure handling and connip cleanup.
  • Arthur Zakirovsaw an earlier versiontrailerArthur reviews both variants in #3, requesting braces and questioning address computation in PQconnectPoll(), before subsequent revisions change failure handling and memory cleanup.
  • Alvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Fabien COELHO2
Reviewer
Alvaro Herreracommitter2
Arthur Zakirov1
Pavel Stehule1
Reported by
Noah Misch1
Committer
Alvaro Herrera2