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: Thu, 1 Jul 2010 21:15:23 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1007012109540.12707@leary.csoft.net> (raw)
In-Reply-To: <i0ft8t$tri$1@dough.gmane.org>
References: <i0ft8t$tri$1@dough.gmane.org>
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?
Not as of yet, but it hasn't been finalized either. For the moment it
must be SET like any other GUC option.
> If yes, how will this work?
>
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").
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.1007012109540.12707@leary.csoft.net>
References: <i0ft8t$tri$1@dough.gmane.org> <alpine.BSO.2.00.1007012109540.12707@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