Jul 2025

1 commit
Fix PQport to never return NULL unless the connection is NULL.
17 Jul 2025Tom Lanemaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3REL_17_STABLE17.6REL_16_STABLE16.10REL_15_STABLE15.14REL_14_STABLE14.19REL_13_STABLE13.22
LLM analysis, 100% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The canonical commit reproduces the PQport code change from #1, adding only a corrective port-field comment in src/interfaces/libpq/libpq-int.h and a rewritten commit message. Tom explicitly confirmed using the original patch for v18/master and the revision for older branches #7.

  • Laurenz Albesaw the final versiontrailerLaurenz tested the revised patch, reproduced the psql crash, and suggested removing a redundant check #4, then endorsed restoring the original default-port behavior for v18/master #6.
  • Tom Lanesaw the final versiontrailerTom evaluated both fallback behaviors, selected different versions for development and stable branches #5, and committed the fix after checking libpq for similar bugs #7.

Credits across 1 commit

Author
Daniele Varrazzo1
Reviewer
Laurenz Albe1
Tom Lane1
Committer
Tom Lane1