Re: 9.0 and pg_stat_activity.application_name - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: 9.0 and pg_stat_activity.application_name
Date
Msg-id alpine.BSO.2.00.1007012109540.12707@leary.csoft.net
Whole thread Raw
In response to 9.0 and pg_stat_activity.application_name  (Thomas Kellerer <spam_eater@gmx.net>)
Responses Re: 9.0 and pg_stat_activity.application_name
Re: 9.0 and pg_stat_activity.application_name
List pgsql-jdbc

On Wed, 30 Jun 2010, Thomas Kellerer wrote:

> 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").

Kris Jurka

pgsql-jdbc by date:

Previous
From: David Kerr
Date:
Subject: Re: Unable to commit: transaction marked for rollback
Next
From: Kris Jurka
Date:
Subject: Re: Source code for postgress 7.4?