Re: Application name patch - v3 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Application name patch - v3
Date
Msg-id 18291.1259195745@sss.pgh.pa.us
Whole thread Raw
In response to Re: Application name patch - v3  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On Wednesday 25 November 2009 23:01:35 Tom Lane wrote:
>> I think that's really essential, not optional.  The proposed patch will
>> transfer the application name from one backend to another without any
>> encoding conversion.  If it contains non-ASCII characters that will
>> result in injection of badly-encoded data inside the backend, which is
>> something we have been trying hard to avoid in recent versions.

> Isn't that similarly the case with pg_stat_activity?

Well, we do still have some un-plugged holes there, but that's not an
excuse for adding more.
        regards, tom lane


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: float value is rounded
Next
From: Tom Lane
Date:
Subject: Re: force index problem in 8.4.1