Re: 8.5 and application name

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: 8.5 and application name
Дата
Msg-id hh5f7i$i2r$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: 8.5 and application name  (Allan Kamau <kamauallan@gmail.com>)
Список pgsql-jdbc
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




В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Re: 8.5 and application name
Следующее
От: Gianvito Pio
Дата:
Сообщение: Get a table name