Re: [PATCH] Include application_name in "connection authorized" log message

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Don Seiler <don(at)seiler(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Include application_name in "connection authorized" log message
Date: 2018-07-02 07:13:50
Message-ID: f56f1a4b-f865-27d3-91cc-0b6f023a4760@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2018-07-02 07:25:13 Re: PANIC during crash recovery of a recently promoted standby
Previous Message John Naylor 2018-07-02 06:59:03 Re: inconsistency and inefficiency in setup_conversion()