From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: 9.0 and pg_stat_activity.application_name
Date: Fri, 02 Jul 2010 08:36:20 +0200
Message-ID: <i0k1d2$qpd$1@dough.gmane.org> (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>
Kris Jurka, 02.07.2010 03:15:
>> 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").
>
OK, thanks for the feedback.
Thomas
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: spam_eater@gmx.net
Subject: Re: 9.0 and pg_stat_activity.application_name
In-Reply-To: <i0k1d2$qpd$1@dough.gmane.org>
References: <i0ft8t$tri$1@dough.gmane.org> <alpine.BSO.2.00.1007012109540.12707@leary.csoft.net> <i0k1d2$qpd$1@dough.gmane.org>
* 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