Re: 8.5 and application name - Mailing list pgsql-jdbc

From Allan Kamau
Subject Re: 8.5 and application name
Date
Msg-id ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com
Whole thread Raw
In response to 8.5 and application name  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: 8.5 and application name  (Thomas Kellerer <spam_eater@gmx.net>)
List pgsql-jdbc
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?

pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: 8.5 and application name
Next
From: Thomas Kellerer
Date:
Subject: Re: 8.5 and application name