diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-04-30 13:39:10 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-04-30 13:39:10 +0900 |
commit | 401aad67045b2d467571b54abe229fdd115a228c (patch) | |
tree | 54d04d6e61baf739682eba1cf082c48ba9af4e43 /src/interfaces/libpq/libpq-int.h | |
parent | 4ad047a6eac356436b88681a9383a52cde2ffe9c (diff) |
Rename connection parameters to control min/max SSL protocol version in libpq
The libpq parameters ssl{max|min}protocolversion are renamed to use
underscores, to become ssl_{max|min}_protocol_version. The related
environment variables still use the names introduced in commit ff8ca5f
that added the feature.
Per complaint from Peter Eisentraut (this was also mentioned by me in
the original patch review but the issue got discarded).
Author: Daniel Gustafsson
Reviewed-by: Peter Eisentraut, Michael Paquier
Discussion: https://postgr.es/m/b319e449-318d-e691-4997-1327e166fcc4@2ndquadrant.com
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 72931e60195..1de91ae295b 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -367,8 +367,8 @@ struct pg_conn char *krbsrvname; /* Kerberos service name */ char *gsslib; /* What GSS library to use ("gssapi" or * "sspi") */ - char *sslminprotocolversion; /* minimum TLS protocol version */ - char *sslmaxprotocolversion; /* maximum TLS protocol version */ + char *ssl_min_protocol_version; /* minimum TLS protocol version */ + char *ssl_max_protocol_version; /* maximum TLS protocol version */ /* Type of connection to make. Possible values: any, read-write. */ char *target_session_attrs; |