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

Re: 9.0 and pg_stat_activity.application_name

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 9.0 and pg_stat_activity.application_name
Date: 2010-07-02 06:36:20
Message-ID: i0k1d2$qpd$1@dough.gmane.org (view raw or flat)
Thread:
Lists: pgsql-jdbc
Kris Jurka, 02.07.2010 03:15:
>> will there be a way in the upcoming 9.0 driver to set the new
>> application_name property for pg_stat_activity?
>
> Not as of yet, but it hasn't been finalized either. For the moment it
> must be SET like any other GUC option.
>
>> If yes, how will this work?
>>
> When implemented I imagine that it will be able to be set at connection
> start via a URL or datasource parameter and then at runtime by
> Connection.setClientInfo("ApplicationName", "My App").
>

OK, thanks for the feedback.

Thomas


In response to

pgsql-jdbc by date

Next:From: Radosław SmoguraDate: 2010-07-03 08:36:46
Subject: Re: Unable to commit: transaction marked for rollback
Previous:From: Oliver JowettDate: 2010-07-02 05:43:51
Subject: Re: Unable to commit: transaction marked for rollback

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