| From: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: 8.5 and application name |
| Date: | 2009-12-26 16:56:38 |
| Message-ID: | hh5f7i$i2r$1@ger.gmane.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Allan Kamau wrote on 26.12.2009 16:39:
> On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer<spam_eater(at)gmx(dot)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(at)postgresql(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gianvito Pio | 2009-12-27 10:32:58 | Get a table name |
| Previous Message | Allan Kamau | 2009-12-26 15:39:20 | Re: 8.5 and application name |