Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 3C8586335D5 for ; Fri, 26 Mar 2010 08:39:01 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 23212-10 for ; Fri, 26 Mar 2010 11:38:50 +0000 (UTC) X-Greylist: delayed 00:19:29.773236 by SQLgrey-1.7.6 Received: from ikoffice.de (ikoffice.de [81.169.166.92]) by mail.postgresql.org (Postfix) with ESMTP id B8F436327A2 for ; Fri, 26 Mar 2010 08:38:50 -0300 (ADT) Received: from p5481d358.dip.t-dialin.net ([84.129.211.88] helo=[192.168.1.16]) by ikoffice.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1Nv7ZL-0005RH-Ua for pgsql-jdbc@postgresql.org; Fri, 26 Mar 2010 12:19:16 +0100 Message-ID: <4BAC9834.6000608@ikoffice.de> Date: Fri, 26 Mar 2010 12:19:16 +0100 From: Daniel Migowski User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: GUC variables in parameter URL Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Bar: - X-Spam-Score-Int: -17 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201003/65 X-Sequence-Number: 20405 Hi all, I want to bring the old discussion on GUC variables in the JDBC connection string back. Currently I definitely need to set the schema search path, and all I got is the connection URL, because it is in a place where we alternatively use Microsoft SQL server connection URLs. Of course I can change the clients code, but this would be a real mess. The only reason I found which spoke against adding them, was: "If we do, people stop using the config files and enter all parameters into the url, and this make them hard to type." Despite the fact that this are two wrong assumptions in one sentence, we speak about providing possibilities for cases where other possibilities are lacking. What are your opinions on this? If this feature is not yet available, I would even implement this myself in the driver, by issuing a SET command on startup sending all the parameters starting with "guc_". Regards, Daniel Migowski