pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Copy SSL GUCs into the hosts context
Date: Tue, 06 Oct 2026 11:52:32 +0000
Message-ID: <E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org> (raw)

Copy SSL GUCs into the hosts context

When the SSL configuration from postgresql.conf is used, the default
host entry stored pointers to the relevant GUC variables.  These
pointers are not guaranteed to survive a failed configuration reload
so copy the values into the hosts memory context.

Author: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Rui Zhao <zhaorui126@gmail.com>
Discussion: https://postgr.es/m/A1745424-7110-41E9-B98C-3CED1A034A8F@yesql.se
Backpatch-through: 19

Branch
------
REL_19_STABLE

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

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



view thread (2+ messages)

Message-ID: <E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org>
Permalink:  ../E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: Copy SSL GUCs into the hosts context
  In-Reply-To: <E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org>
  References: <E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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