Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5DCAF6334A0 for ; Sat, 26 Dec 2009 12:56:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 05974-08 for ; Sat, 26 Dec 2009 16:56:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id ABD596333CB for ; Sat, 26 Dec 2009 12:56:43 -0400 (AST) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NOZwX-0002ES-Nc for pgsql-jdbc@postgresql.org; Sat, 26 Dec 2009 17:56:41 +0100 Received: from ppp-93-104-168-52.dynamic.mnet-online.de ([93.104.168.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Dec 2009 17:56:41 +0100 Received: from spam_eater by ppp-93-104-168-52.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Dec 2009 17:56:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Thomas Kellerer Subject: Re: 8.5 and application name Date: Sat, 26 Dec 2009 17:56:38 +0100 Lines: 29 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-93-104-168-52.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.729 tagged_above=-10 required=5 tests=AWL=0.870, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/97 X-Sequence-Number: 20178 Allan Kamau wrote on 26.12.2009 16:39: > On Sat, Dec 26, 2009 at 4:16 PM, Thomas Kellerer 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