Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 410D0632B2D for ; Thu, 1 Jul 2010 22:15:38 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 81776-02 for ; Fri, 2 Jul 2010 01:15:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 9A41C6329BA for ; Thu, 1 Jul 2010 22:15:26 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 010AF28413; Thu, 1 Jul 2010 21:15:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=8ncN8GyCoB7tJ0ZY3Gzy6fAFjaw=; b=ujygJP x8w4zPwXFtFxSJtGwcBOYD3dEgszBSuzD9qDYVgyxE/+mG3RfUyPQEo9e5kgHVaE 4PonqQMa5BhbaL8dA5xfrfGTWU9DdXsXBU22x3IcRDJvYHcrYzIC8NREEX4E9oGi SwMnUsnf90ET8HHk9AeWd460VkF49gW8T0h8o= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id DED7828412; Thu, 1 Jul 2010 21:15:23 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 9E6D3A1FC; Thu, 1 Jul 2010 21:15:23 -0400 (EDT) Date: Thu, 1 Jul 2010 21:15:23 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Thomas Kellerer cc: pgsql-jdbc@postgresql.org Subject: Re: 9.0 and pg_stat_activity.application_name In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/8 X-Sequence-Number: 20673 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