From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: 8.5 and application name
Date: Sat, 26 Dec 2009 17:56:38 +0100
Message-ID: <hh5f7i$i2r$1@ger.gmane.org> (raw)
In-Reply-To: <ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com>
References: <hh52bs$kip$1@ger.gmane.org>
<ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com>
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
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: 8.5 and application name
In-Reply-To: <hh5f7i$i2r$1@ger.gmane.org>
References: <hh52bs$kip$1@ger.gmane.org> <ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com> <hh5f7i$i2r$1@ger.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