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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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