Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id BCA1065085C for ; Wed, 9 Jul 2008 17:16:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 56302-03 for ; Wed, 9 Jul 2008 17:16:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 5B675650248 for ; Wed, 9 Jul 2008 17:16:52 -0300 (ADT) Received: (qmail 32033 invoked by uid 1112); 9 Jul 2008 20:16:50 -0000 Date: Wed, 9 Jul 2008 16:16:50 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Heikki Linnakangas cc: Scott Langley , pgsql-jdbc@postgresql.org Subject: Re: Patch to allow setting schema/search_path in the connectionURL In-Reply-To: <487478FC.5080607@enterprisedb.com> Message-ID: References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/24 X-Sequence-Number: 18809 On Wed, 9 Jul 2008, Heikki Linnakangas wrote: > I think it would be more useful to provide a way to set any GUC variable in > the connection string, not just search_path. > In previous discussions: http://archives.postgresql.org/pgsql-jdbc/2004-02/thrd2.php#00022 One significant roadblock was how to handle the Datasource implementation which needs to know all the available GUC parameters at compile time: http://archives.postgresql.org/pgsql-jdbc/2004-02/msg00037.php I'm not particularly excited about enumerating them all and the suggested alternative methods of passing these values in Properties, String[][] don't seem terribly appealing Kris Jurka