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 757310d9-f742-bdc9-6900-ae817335f43b@2ndquadrant.com
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
On 24/09/2018 23:10, Stephen Frost wrote:
> Since we're putting it into common/string.c (which seems pretty
> reasonable to me, at least), I went ahead and changed it to be
> 'pg_clean_ascii'.  I didn't see any other obvious cases where we could
> use this function (though typecmds.c does have an interesting ASCII
> check for type categories..).

I think we might want to contain this functionality to guc.c.  In
general, we should allow more non-ASCII things rather than encourage
more "ASCII cleaning".

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: file cloning in pg_upgrade and CREATE DATABASE
Next
From: Peter Eisentraut
Date:
Subject: Re: Collation versioning