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