Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group