Re: Logging which local address was connected to in log_line_prefix

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Logging which local address was connected to in log_line_prefix
Дата
Msg-id CAKAnmmLKiYT_vUfDejH8OKheTwU+DGQztH5zMTbWsJ_=4p3P2Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logging which local address was connected to in log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Logging which local address was connected to in log_line_prefix
Список pgsql-hackers
Thanks for all the feedback. Please find attached a version which prints "[none]" as the default value, "[local]" for a socket, and otherwise whatever pg_getnameinfo_all spits out. I cleaned up the coding, respected padding, removed the family checks, and expanded the docs a tiny bit to give the reader more context as to what "local address" means. I also looked into alternatives to the term "local address" but that still seems the most correct and commonly used term.

I have not attempted the caching change yet.

Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

Вложения

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