From: Allan Kamau <kamauallan@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: 8.5 and application name
Date: Sat, 26 Dec 2009 18:39:20 +0300
Message-ID: <ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com> (raw)
In-Reply-To: <hh52bs$kip$1@ger.gmane.org>
References: <hh52bs$kip$1@ger.gmane.org>
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?
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: kamauallan@gmail.com
Subject: Re: 8.5 and application name
In-Reply-To: <ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com>
References: <hh52bs$kip$1@ger.gmane.org> <ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com>
* 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