pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
8.5 and application name
3+ messages / 2 participants
[nested] [flat]

* 8.5 and application name
@ 2009-12-26 13:16  Thomas Kellerer <spam_eater@gmx.net>
  0 siblings, 1 reply; 3+ messages in thread

From: Thomas Kellerer @ 2009-12-26 13:16 UTC (permalink / raw)
  To: pgsql-jdbc

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




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: 8.5 and application name
@ 2009-12-26 15:39  Allan Kamau <kamauallan@gmail.com>
  parent: Thomas Kellerer <spam_eater@gmx.net>
  0 siblings, 1 reply; 3+ messages in thread

From: Allan Kamau @ 2009-12-26 15:39 UTC (permalink / raw)
  To: pgsql-jdbc

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: 8.5 and application name
@ 2009-12-26 16:56  Thomas Kellerer <spam_eater@gmx.net>
  parent: Allan Kamau <kamauallan@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Thomas Kellerer @ 2009-12-26 16:56 UTC (permalink / raw)
  To: pgsql-jdbc

Allan Kamau wrote on 26.12.2009 16:39:
> On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer<spam_eater@gmx.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@postgresql.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?

I'm trying to set this information from within my SQL tool and I'd rather not send any update statements to the backend.

Thomas

  





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2009-12-26 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-12-26 13:16 8.5 and application name Thomas Kellerer <spam_eater@gmx.net>
2009-12-26 15:39 ` Allan Kamau <kamauallan@gmail.com>
2009-12-26 16:56   ` Thomas Kellerer <spam_eater@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox