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

From Allan Kamau
Subject Re: 8.5 and application name
Date
Msg-id [email protected]
Whole thread Raw
In response to 8.5 and application name  (Thomas Kellerer <[email protected]>)
Responses Re: 8.5 and application name
List pgsql-jdbc
On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer <[email protected]> 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 ([email protected])
> 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