Nov 2025

1 commit
libpq: Improve error handling in passwordFromFile()
4 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #41 of 1 reviewer saw the final version

The commit preserves the revised interface, both allocation-error paths, and caller-side CONNECTION_BAD handling from #4 in src/interfaces/libpq/fe-connect.c. It additionally initializes *errmsg to NULL inside passwordFromFile(), translates both error strings with libpq_gettext(), and revises wording, as confirmed in #5.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Joshua Shanks1
Reviewer
Michael Paquiercommitter1
Committer
Michael Paquier1