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

From Andres Freund
Subject Re: [PATCH] Include application_name in "connection authorized" logmessage
Date
Msg-id 20180927214644.6th4brxsfznzye7b@alap3.anarazel.de
Whole thread Raw
In response to Re: [PATCH] Include application_name in "connection authorized" logmessage  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [PATCH] Include application_name in "connection authorized" logmessage  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Hi,

On 2018-09-27 17:41:56 -0400, Stephen Frost wrote:
> Of course, if I'm missing something as to why the ascii-cleaning makes
> sense or is necessary, I'm all ears, but I'm just not seeing it.

There's many reasons. For example you can send terminal control
characters to the server. When somebody then looks at the log, you can
screw with them pretty good, unless they're always careful to go through
less (without -r).  We should be *more* not *less* careful about this
kind of hting.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [PATCH] Include application_name in "connection authorized" logmessage
Next
From: Thomas Munro
Date:
Subject: Re: Collation versioning