Logging which interface was connected to in log_line_prefix

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Logging which interface was connected to in log_line_prefix
Дата
Msg-id CAKAnmmK-U+UicE-qbNU23K--Q5XTLdM6bj+gbkZBZkjyjrd3Ow@mail.gmail.com
обсуждение исходный текст
Ответы Re: Logging which interface was connected to in log_line_prefix
Re: Logging which interface was connected to in log_line_prefix
Список pgsql-hackers
Someone on -general was asking about this, as they are listening on multiple IPs and would like to know which exact one clients were hitting. I took a quick look and we already have that information, so I grabbed some stuff from inet_server_addr and added it as part of a "%L" (for 'local interface'). Quick patch / POC attached.

Cheers,
Greg

Вложения

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