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

From Stephen Frost
Subject Re: Application name patch - v2
Date
Msg-id 20091019143803.GG17756@tamriel.snowman.net
Whole thread Raw
In response to Re: Application name patch - v2  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> 2009/10/19 Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>:
> > Or are you saying that it should not be possible for the client to
> > change the value after connecting? That limits the usefulness with
> > connection pools.
>
> What I know, connections from connection pool without reset are shared
> by one application. But I am not against some possibility to change
> this value from application. I am against to possibility an change by
> normal user. When we allow it, then this value has not any wight,
> because any broken appliaction (via SQL injection) can change it.

Broken applications have much bigger problems than this.  Predicating
what we would/should do on the assumption of an application that's
broken just doesn't make sense to me.
Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Application name patch - v2
Next
From: Dave Page
Date:
Subject: Re: Application name patch - v2