Re: Client application name

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Client application name
Дата
Msg-id 4ADEE231.7050709@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Client application name  (Dave Page <dpage@pgadmin.org>)
Список pgsql-hackers
Dave Page wrote:
> On Wed, Oct 21, 2009 at 10:14 AM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
> 
>> Looking at the way we process the startup packet in
>> ProcessStartupPacket, there's one dirty hack you could do. As the code
>> stands, if you specify "options" key/value pair more than once, the
>> latter value overrides the first one. If we change that in PG 8.5 so
>> that the values are concatenated instead, you can put app name into the
>> first "options" line, and other options (or an empty string) into the
>> second. Pre-8.5 servers will silently ignore the first line.
> 
> Not sure I follow - are you suggesting I set the appname via the
> backend command line options? 

Yep!

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Client application name
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Client application name