pgsql: Add GSS information to connection authorized log message - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Add GSS information to connection authorized log message
Date
Msg-id E1kkY13-0004jk-1z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add GSS information to connection authorized log message

GSS information (if used) such as if the connection was authorized using
GSS or if it was encrypted using GSS, and perhaps most importantly, what
the GSS principal used for the authentication was, is extremely useful
but wasn't being included in the connection authorized log message.

Therefore, add to the connection authorized log message that
information, in a similar manner to how we log SSL information when SSL
is used for a connection.

Author: Vignesh C
Reviewed-by: Bharath Rupireddy
Discussion:
https://www.postgresql.org/message-id/CALDaNm2N1385_Ltoo%3DS7VGT-ESu_bRQa-sC1wg6ikrM2L2Z49w%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/init/postinit.c |  82 ++++++++++----------------
src/test/kerberos/t/001_auth.pl   | 118 +++++++++++++++++++++++++++-----------
2 files changed, 114 insertions(+), 86 deletions(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Track total number of WAL records, FPIs and bytes generated in t
Next
From: Michael Paquier
Date:
Subject: pgsql: Refactor CLUSTER and REINDEX grammar to use DefElem for option l