From: Kris Jurka <books@ejurka.com>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 9.0 and pg_stat_activity.application_name
Date: Sat, 25 Dec 2010 02:09:35 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1012250208290.26018@leary.csoft.net> (raw)
In-Reply-To: <alpine.BSO.2.00.1007012109540.12707@leary.csoft.net>
References: <i0ft8t$tri$1@dough.gmane.org>
<alpine.BSO.2.00.1007012109540.12707@leary.csoft.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, spam_eater@gmx.net
Subject: Re: 9.0 and pg_stat_activity.application_name
In-Reply-To: <alpine.BSO.2.00.1012250208290.26018@leary.csoft.net>
References: <i0ft8t$tri$1@dough.gmane.org> <alpine.BSO.2.00.1007012109540.12707@leary.csoft.net> <alpine.BSO.2.00.1012250208290.26018@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox