Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XUJav-0001EB-Tm for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Sep 2014 18:04:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XUJau-0004z7-Mo for pgsql-jdbc@arkaria.postgresql.org; Wed, 17 Sep 2014 18:04:44 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XUJat-0004z0-Nw for pgsql-jdbc@postgresql.org; Wed, 17 Sep 2014 18:04:43 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XUJam-00012r-2J for pgsql-jdbc@postgresql.org; Wed, 17 Sep 2014 18:04:41 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XUJak-0004dH-QA for pgsql-jdbc@postgresql.org; Wed, 17 Sep 2014 11:04:34 -0700 Date: Wed, 17 Sep 2014 11:04:34 -0700 (PDT) From: cowwoc To: pgsql-jdbc@postgresql.org Message-ID: <1410977074803-5819366.post@n5.nabble.com> In-Reply-To: References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com> Subject: Re: Patch to allow setting schema/search_path in the connectionURL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org Hi, Did this patch ever make it in? Is there a way to specify the default schema before establishing a connection? Thanks, Gili Kris Jurka wrote > 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 > > -- > Sent via pgsql-jdbc mailing list ( > pgsql-jdbc@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc -- View this message in context: http://postgresql.1045698.n5.nabble.com/Patch-to-allow-setting-schema-search-path-in-the-connectionURL-tp2174512p5819366.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc