Allan Kamau wrote on 26.12.2009 16:39:
> On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer<spam_eater@gmx.net> wrote:
>> Hi,
>>
>> in 8.5alpha3 there is a new feature to set an application name parameter
>> which is displayed in pg_stat_activity view
>>
>> Is there (already) a way to set this parameter through the JDBC driver (e.g.
>> properties, URL parameter)?
>>
>> Thanks
>> Thomas
>>
>>
>> --
>> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-jdbc
>>
>
> Just guessing: How about passing the sql to set this variable from
> JDBC as an ordinary query?
I'm trying to set this information from within my SQL tool and I'd rather not send any update statements to the
backend.
Thomas