aboutsummaryrefslogtreecommitdiff
path: root/src/backend/libpq/be-secure.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-06-26 10:19:35 +0200
committerPeter Eisentraut <peter_e@gmx.net>2018-07-30 13:46:27 +0200
commit98efa76fe313f62f84b94cd1f46c913c221b41fe (patch)
tree692e3bbe61f94b7798339a956c73f845a3c18707 /src/backend/libpq/be-secure.c
parentab87b8fedce3fa77ca0d684a42ecc055f189eb33 (diff)
downloadpostgresql-98efa76fe313f62f84b94cd1f46c913c221b41fe.tar.gz
postgresql-98efa76fe313f62f84b94cd1f46c913c221b41fe.zip
Add ssl_library preset parameter
This allows querying the SSL implementation used on the server side. It's analogous to using PQsslAttribute(conn, "library") in libpq. Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/backend/libpq/be-secure.c')
-rw-r--r--src/backend/libpq/be-secure.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c
index edfe2c0751c..d349d7c2c72 100644
--- a/src/backend/libpq/be-secure.c
+++ b/src/backend/libpq/be-secure.c
@@ -38,6 +38,7 @@
#include "storage/proc.h"
+char *ssl_library;
char *ssl_cert_file;
char *ssl_key_file;
char *ssl_ca_file;