Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> Extracted from the GnuTLS thread/patch, here is a patch to add a
> server-side read-only parameter ssl_library, which currently reports
> either 'OpenSSL' or an empty string, depending on what SSL library was
> built with. This is analogous to the libpq function call
> PQsslAttribute(conn, "library"), but there was no equivalent
> functionality on the server side.
(1) I'm not really clear why we need this. GUC variables aren't free.
(2) Are there security issues with exposing this info to everybody?
regards, tom lane