Re: pg_stat_ssl additions - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: pg_stat_ssl additions
Date
Msg-id 20181128173928.GR3415@tamriel.snowman.net
Whole thread Raw
In response to Re: pg_stat_ssl additions  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Greetings,

* Bruce Momjian (bruce@momjian.us) wrote:
> On Wed, Nov 28, 2018 at 06:31:59PM +0100, Peter Eisentraut wrote:
> > On 20/11/2018 22:41, Peter Eisentraut wrote:
> > >>> - Adds new fields to pg_stat_ssl: issuerdn and clientserial.  These
> > >>> allow uniquely identifying the client certificate.  AFAICT, these are
> > >>> the most interesting pieces of information provided by sslinfo but not
> > >>> in pg_stat_ssl.  (I don't like the underscore-free naming of these
> > >>> fields, but it matches the existing "clientdn".)
> > >> clientdn, clientserial, issuerdn are the fields about client
> > >> certificates. Only the last one omits prefixing "client". But
> > >> "clientissuerdn" seems somewhat rotten... Counldn't we rename
> > >> clientdn to client_dn?
> > > I'd prefer renaming as well, but some people might not like that.
> >
> > Any thoughts from others about whether to rename clientdn to client_dn
> > to allow better naming of the new fields?
>
> Makes sense.  The SSL acronyms can get very complex.

Agreed.

Thanks!

Stephen

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_stat_ssl additions
Next
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL Limits and lack of documentation about them.