Re: Application name patch - v3
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Dave Page <dpage@pgadmin.org>, pgsql-hackers@postgresql.org
Date: 2009-11-26T00:35:45Z
Lists: 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