Re: [PATCH] Include application_name in "connection authorized" log message
От | Don Seiler |
---|---|
Тема | Re: [PATCH] Include application_name in "connection authorized" log message |
Дата | |
Msg-id | CAHJZqBCCKutpAnXoo2Gj-w3WROBzyr9XmPiMDSmZ7qvAYNP+6g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] Include application_name in "connection authorized" logmessage (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>) |
Ответы |
Re: [PATCH] Include application_name in "connection authorized" logmessage
|
Список | pgsql-hackers |
On Mon, Jul 2, 2018 at 2:13 AM, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
-- On 21.06.18 16:21, Don Seiler wrote:
> - (errmsg("connection
> authorized: user=%s database=%s",
> -
> port->user_name, port->database_name)));
> + (errmsg("connection
> authorized: user=%s database=%s application=%s",
> +
> port->user_name, port->database_name, port->application_name)));
Why is it "application" and not "application_name"?
I was trying to be consistent since we don't use "user_name" or "database_name" as labels even though those are the variable names.
Don Seiler
www.seiler.us
www.seiler.us
В списке pgsql-hackers по дате отправления: