Re: Proposal: Save user's original authenticated identity for logging

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Proposal: Save user's original authenticated identity for logging
Дата
Msg-id YGUgHMF9zxNvY323@paquier.xyz
обсуждение исходный текст
Ответ на Re: Proposal: Save user's original authenticated identity for logging  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Proposal: Save user's original authenticated identity for logging
Список pgsql-hackers
On Wed, Mar 31, 2021 at 04:42:32PM +0900, Michael Paquier wrote:
> Attached is an updated patch, with a couple of comments tweaks, the
> reworked tests and an indentation done.

Jacob has mentioned me that v15 has some false positives in the SSL
tests, as we may catch in the backend logs patterns that come from
a previous test.  We should really make that stuff more robust by
design, or it will bite hard with some bugs remaining undetected while
the tests pass.  This stuff can take advantage of 0d1a3343, and I
think that we should make the kerberos, ldap, authentication and SSL
test suites just use connect_ok() and connect_fails() from
PostgresNode.pm.  They just need to be extended a bit with a new
argument for the log pattern check.  This has the advantage to
centralize in a single code path the log file truncation (or some log
file rotation if the logging collector is used).
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Refactor SSL test framework to support multiple TLS libraries
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Crash in BRIN minmax-multi indexes