Re: Application name patch - v3 - Mailing list pgsql-hackers

From Dave Page
Subject Re: Application name patch - v3
Date
Msg-id 937d27e10911250528p1edf0a4ch5e0b09a34fdafa71@mail.gmail.com
Whole thread Raw
In response to Re: Application name patch - v3  (Andres Freund <andres@anarazel.de>)
Responses Re: Application name patch - v3
Re: Application name patch - v3
List pgsql-hackers
On Wed, Nov 25, 2009 at 1:22 PM, Andres Freund <andres@anarazel.de> wrote:
> Hi,
>
> On Thursday 22 October 2009 15:07:13 Dave Page wrote:
>> Updated patch attached. Per discussion, this:
>>
>> - Changes the envvar name to PGAPPNAME
>> - Removes support for setting application_name in the startup packet,
>> and instead sends an explicit SET command as part of the connection
>> setup in PQconnectPoll. In order to avoid adding to the
>> application-visible connection states, this is overloaded on the
>> CONNECTION_SETENV state which is only used in the v2 protocol at
>> present and seems like an ideal fit for such a similar use.
>>
>> Other features are as per the last version.
> One more question: Per my reading of the discussion (which very well might be
> flawed), wasnt the plan to limit the availale characters in the application
> name to ascii?

That was suggested, but I thought the eventual outcome was to not bother.


-- 
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Application name patch - v3
Next
From: Andres Freund
Date:
Subject: Re: Application name patch - v3