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 <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Rui Zhao <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 19

Branch
------
master

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

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

Reply via email to