1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add ssl_cipher() and ssl_version() functions to contrib/sslinfo.

Review by Dave Page.
This commit is contained in:
Robert Haas
2010-07-27 23:43:42 +00:00
parent 9b6b0b0d9a
commit 6d16902eda
4 changed files with 66 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/sslinfo.sgml,v 1.3 2007/12/06 04:12:10 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/sslinfo.sgml,v 1.4 2010/07/27 23:43:42 rhaas Exp $ -->
<sect1 id="sslinfo">
<title>sslinfo</title>
@ -35,6 +35,30 @@ ssl_is_used() returns boolean
</listitem>
</varlistentry>
<varlistentry>
<term><function>
ssl_version() returns text
</function></term>
<listitem>
<para>
Returns the name of the protocol used for the SSL connection (e.g. SSLv2,
SSLv3, or TLSv1).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><function>
ssl_cipher() returns text
</function></term>
<listitem>
<para>
Returns the name of the cipher used for the SSL connection
(e.g. DHE-RSA-AES256-SHA).
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><function>
ssl_client_cert_present() returns boolean