pgsql: Fix error handling around ssl_*_protocol_version settings

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error handling around ssl_*_protocol_version settings
Date: 2019-02-08 11:01:57
Message-ID: E1gs3uv-0003Au-SJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix error handling around ssl_*_protocol_version settings

In case of a reload, we just want to LOG errors instead of FATAL when
processing SSL configuration, but the more recent code for the
ssl_*_protocol_version settings didn't behave like that.

Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d462f0861cd7ef8bca0bd186123869a08c89bc8

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2019-02-08 15:42:35 Re: pgsql: Allow some recovery parameters to be changed with reload
Previous Message Michael Paquier 2019-02-08 10:00:40 Re: pgsql: Restrict the use of temporary namespace in two-phase transaction