Re: Client application name - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Client application name
Date
Msg-id 4ADEE231.7050709@enterprisedb.com
Whole thread Raw
In response to Re: Client application name  (Dave Page <dpage@pgadmin.org>)
List 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 by date:

Previous
From: Dave Page
Date:
Subject: Re: Client application name
Next
From: Simon Riggs
Date:
Subject: Re: Client application name