Re: 9.0 and pg_stat_activity.application_name

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: 9.0 and pg_stat_activity.application_name
Дата
Msg-id alpine.BSO.2.00.1012250208290.26018@leary.csoft.net
обсуждение исходный текст
Ответ на Re: 9.0 and pg_stat_activity.application_name  (Kris Jurka <books@ejurka.com>)
Ответы Re: 9.0 and pg_stat_activity.application_name  (akbarstatx <dennis@kabonkulator.com>)
Список pgsql-jdbc

On Thu, 1 Jul 2010, Kris Jurka wrote:

> On Wed, 30 Jun 2010, Thomas Kellerer wrote:
>
>> will there be a way in the upcoming 9.0 driver to set the new
>> application_name property for pg_stat_activity?
>
> When implemented I imagine that it will be able to be set at connection start
> via a URL or datasource parameter and then at runtime by
> Connection.setClientInfo("ApplicationName", "My App").
>

I have implemented this.  You can now set application_name on connection
startup with an ApplicationName URL parameter and it can be set
dynamically with Connection.setClientInfo.

Kris Jurka

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

Предыдущее
От: Degrassi Francesco
Дата:
Сообщение: Re: Postgresql XA prepare() method behaviour
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: refreshRow is slow