Re: Application name patch - v2
От | daveg |
---|---|
Тема | Re: Application name patch - v2 |
Дата | |
Msg-id | 20091020214717.GS18626@sonic.net обсуждение исходный текст |
Ответ на | Re: Application name patch - v2 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Application name patch - v2
|
Список | pgsql-hackers |
On Tue, Oct 20, 2009 at 12:16:42PM -0400, Tom Lane wrote: > Magnus Hagander <magnus@hagander.net> writes: > > Also, how many platforms can't we do this on? If we have BSD and > > Windows covered already. on linux, I believe you can easily read it > > out of /proc/self/cmdline, no? > > Writing a pile of platform-specific code for this is simply insane from > a support point of view. The feature is NOT worth it. Especially not > since the typical result will be something quite uninformative like > "psql" or "java". The cases that are actually useful are the ones where > the application sets it. I don't think we should have a default at all > --- you don't set it, you don't get a name. -1 I'd like a default, especially for psql, to help identify interactive sessions. -dg -- David Gould daveg@sonic.net 510 536 1443 510 282 0869 If simplicity worked, the world would be overrun with insects.
В списке pgsql-hackers по дате отправления: