public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: Replace hardcoded mentions of pg_hosts.conf with GUC
2+ messages / 1 participants
[nested] [flat]

* pgsql: Replace hardcoded mentions of pg_hosts.conf with GUC
@ 2026-07-07 15:38 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-07-07 15:38 UTC (permalink / raw)
  To: [email protected]

Replace hardcoded mentions of pg_hosts.conf with GUC

Three error messages were using the default file name pg_hosts.conf
and not the variable backing the GUC, which would make logging be
confusing for users who have renamed the file using the GUC.  Fix
by consistently using the HostsFileName variable.

Backpatch down to v19 where serverside SNI was introduced.

Author: Zsolt Parragi <[email protected]>
Reviewed-by: Surya Poondla <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/CAN4CZFMARYjQfgyRaCKOXDO=Q91kuKn=pSC02DAOOr23ojhEGQ@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b9df8d5b8e4f58ef81e6b592278207889863c367

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Replace hardcoded mentions of pg_hosts.conf with GUC
@ 2026-07-07 15:40 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Daniel Gustafsson @ 2026-07-07 15:40 UTC (permalink / raw)
  To: [email protected]

Replace hardcoded mentions of pg_hosts.conf with GUC

Three error messages were using the default file name pg_hosts.conf
and not the variable backing the GUC, which would make logging be
confusing for users who have renamed the file using the GUC.  Fix
by consistently using the HostsFileName variable.

Backpatch down to v19 where serverside SNI was introduced.

Author: Zsolt Parragi <[email protected]>
Reviewed-by: Surya Poondla <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/CAN4CZFMARYjQfgyRaCKOXDO=Q91kuKn=pSC02DAOOr23ojhEGQ@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f74a45a5416fb18c391b3a1651e29ada78106c43

Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-07-07 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 15:38 pgsql: Replace hardcoded mentions of pg_hosts.conf with GUC Daniel Gustafsson <[email protected]>
2026-07-07 15:40 pgsql: Replace hardcoded mentions of pg_hosts.conf with GUC Daniel Gustafsson <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox