Application name patch - v3 - Mailing list pgsql-hackers

From Dave Page
Subject Application name patch - v3
Date
Msg-id 937d27e10910220607h4238f2dei777d8678c6a7b5f6@mail.gmail.com
Whole thread Raw
Responses Re: Application name patch - v3  (Andres Freund <andres@anarazel.de>)
Re: Application name patch - v3  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
PGDay.EU 2009 Conference: http://2009.pgday.eu/start

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Using views for row-level access control is leaky
Next
From: Rod Taylor
Date:
Subject: Re: Using views for row-level access control is leaky