pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add more columns to pg_stat_ssl
Date: Thu, 31 Jan 2019 23:46:30 +0000
Message-ID: <E1gpM2Q-0008L0-6d@gemulon.postgresql.org> (raw)

Add more columns to pg_stat_ssl

Add columns client_serial and issuer_dn to pg_stat_ssl.  These allow
uniquely identifying the client certificate.

Rename the existing column clientdn to client_dn, to make the naming
more consistent and easier to read.

Discussion: https://www.postgresql.org/message-id/flat/398754d8-6bb5-c5cf-e7b8-22e5f0983caf@2ndquadrant.com/

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/monitoring.sgml          | 20 ++++++++++++++++++--
src/backend/catalog/system_views.sql  |  4 +++-
src/backend/libpq/be-secure-openssl.c | 31 ++++++++++++++++++++++++++++++-
src/backend/postmaster/pgstat.c       |  4 +++-
src/backend/utils/adt/pgstatfuncs.c   | 22 ++++++++++++++++++----
src/include/catalog/catversion.h      |  2 +-
src/include/catalog/pg_proc.dat       |  6 +++---
src/include/libpq/libpq-be.h          |  4 +++-
src/include/pgstat.h                  | 16 +++++++++++++---
src/test/regress/expected/rules.out   | 10 ++++++----
src/test/ssl/t/001_ssltests.pl        |  8 ++++----
11 files changed, 102 insertions(+), 25 deletions(-)



Message-ID: <E1gpM2Q-0008L0-6d@gemulon.postgresql.org>
Permalink:  ../E1gpM2Q-0008L0-6d@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gpM2Q-0008L0-6d@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Add more columns to pg_stat_ssl
  In-Reply-To: <E1gpM2Q-0008L0-6d@gemulon.postgresql.org>
  References: <E1gpM2Q-0008L0-6d@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox