pgsql: Fix pg_stat_ssl.clientdn

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix pg_stat_ssl.clientdn
Date: 2019-01-29 12:09:01
Message-ID: E1goSCL-0000uD-NZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pg_stat_ssl.clientdn

Return null if there is no client certificate. This is how it has
always been documented, but in reality it returned an empty string.

Reviewed-by: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>
Discussion: https://www.postgresql.org/message-id/flat/398754d8-6bb5-c5cf-e7b8-22e5f0983caf(at)2ndquadrant(dot)com/

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e77cfa54d700557ea700d47454c9e570f20f1841

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 5 ++++-
src/test/ssl/t/001_ssltests.pl | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Christoph Berg 2019-01-29 14:04:38 Re: pgsql: Build src/port files as a library with -fPIC, and use that in li
Previous Message Magnus Hagander 2019-01-29 09:45:29 pgsql: Improve wording about WAL files in tar mode of pg_basebackup