Re: Application name patch - v2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Application name patch - v2
Дата
Msg-id 1577.1256055402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Application name patch - v2  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Application name patch - v2
Re: Application name patch - v2
Список pgsql-hackers
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.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Application name patch - v2
Следующее
От: David Christensen
Дата:
Сообщение: Re: UTF8 with BOM support in psql