Re: [PATCH] Include application_name in "connection authorized" logmessage - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Include application_name in "connection authorized" logmessage
Date
Msg-id f56f1a4b-f865-27d3-91cc-0b6f023a4760@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] Include application_name in "connection authorized" log message  (Don Seiler <don@seiler.us>)
Responses Re: [PATCH] Include application_name in "connection authorized" log message  (Don Seiler <don@seiler.us>)
List pgsql-hackers
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"?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: inconsistency and inefficiency in setup_conversion()
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: PANIC during crash recovery of a recently promoted standby