pgsql: Add GSS information to connection authorized log message

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: Add GSS information to connection authorized log message
Дата
Msg-id E1kkY13-0004jk-1z@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Track total number of WAL records, FPIs and bytes generated in t
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Refactor CLUSTER and REINDEX grammar to use DefElem for option l