commit 53fca988682c80a99bbb19eeb3d7959533fc3b83 Author: Jacob Champion Date: Fri Mar 25 14:16:47 2022 -0700 squash! Enable SSL library detection via PQsslAttribute() Add docs. diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 3998b1781b..82f3092715 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2538,6 +2538,17 @@ const char *PQsslAttribute(const PGconn *conn, const char *attribute_name); Name of the SSL implementation in use. (Currently, only "OpenSSL" is implemented) + + + As a special case, the library attribute may be + queried without an existing connection by passing NULL as the + conn argument. The historical behavior was to + return NULL for any attribute when a NULL conn + was provided; client programs needing to differentiate between the + newer and older implementations may check the + LIBPQ_HAS_SSL_LIBRARY_DETECTION feature macro. + +