Re: Feature request: Logging SSL connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Feature request: Logging SSL connections
Дата
Msg-id 4703.1389974030@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Feature request: Logging SSL connections  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Feature request: Logging SSL connections  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Applied, thanks!

Minor bikeshedding: the messages would read better, to my eye, as

"user=%s database=%s SSL enabled (protocol=%s, cipher=%s)"

Putting "enabled" where it is requires extra mental gymnastics on
the part of the reader.  And why the random change between "="
in one part of the string and ": " in the new part?  You could take
that last point a bit further and make it

"user=%s database=%s SSL=enabled (protocol=%s, cipher=%s)"

but I'm not sure if that's an improvement.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Funny representation in pg_stat_statements.query.
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance