| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Copy SSL GUCs into the hosts context |
| Date: | 2026-10-06 11:52:32 |
| Message-ID: | E1xE3ii-00000000Y1S-1XoD@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)parragi(at)percona(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Rui Zhao <zhaorui126(at)gmail(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2026-10-06 14:05:53 | pgsql: Fix COPY FROM ... WHERE for negated operators. |
| Previous Message | Daniel Gustafsson | 2026-10-06 11:52:22 | pgsql: Delay creation of SSL_CTX structure to allow cleanup |