Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 524A36328BA for ; Sat, 26 Dec 2009 11:39:34 -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 99711-05 for ; Sat, 26 Dec 2009 15:39:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mail.postgresql.org (Postfix) with ESMTP id 503A363267C for ; Sat, 26 Dec 2009 11:39:23 -0400 (AST) Received: by ey-out-2122.google.com with SMTP id 22so841545eye.33 for ; Sat, 26 Dec 2009 07:39:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ZnfM/oxilcOJuKxA4PYsCr9z4CI8W7l9tHFvgx2CjXE=; b=ejZfOKVJCqQzRlUcMChuoBwhvE3/gh+ws5UgFWFQ7HW+VPLW9U4EMBgpe7qLbh9oUR xZdfXODfN/TKj0a0iGazYOQtERbBcCxNx/5aSeUO4whQS67E1Y4A7tGAl6I3LVVB/584 GaX0ykDJsSB/CBG/80YamJl8R0njonjTCWHl8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aOHCoTcgHqNM/keZcZxiI/KtonitI9bcaQtZ2hIcmUZWuNTXFlE3QHemsYH7GFWDE5 7F7M2y/QVyy1KhUXZAdt3sO6eKQ/cWhO9UC2WfQqJ+nqQ/2jnqIORu07T5E14zFaJRD7 ebSXw5lvfFAaytXuh5jF1lC9uzCDTP8QXDxOc= MIME-Version: 1.0 Received: by 10.213.97.14 with SMTP id j14mr3875514ebn.52.1261841960731; Sat, 26 Dec 2009 07:39:20 -0800 (PST) In-Reply-To: References: Date: Sat, 26 Dec 2009 18:39:20 +0300 Message-ID: Subject: Re: 8.5 and application name From: Allan Kamau To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/96 X-Sequence-Number: 20177 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?