Re: 8.5 and application name

From: Allan Kamau <kamauallan(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 8.5 and application name
Date: 2009-12-26 15:39:20
Message-ID: ab1ea6540912260739q4b03d6d1s4fa89568f504631e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer <spam_eater(at)gmx(dot)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(at)postgresql(dot)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?

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Kellerer 2009-12-26 16:56:38 Re: 8.5 and application name
Previous Message Thomas Kellerer 2009-12-26 13:16:48 8.5 and application name