Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWVUo-0002rf-WD for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Sep 2014 19:11:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWVUo-00062I-Aj for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Sep 2014 19:11:30 +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 1XWVUn-000621-M3 for pgsql-jdbc@postgresql.org; Tue, 23 Sep 2014 19:11:29 +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 1XWVUj-0008Et-E7 for pgsql-jdbc@postgresql.org; Tue, 23 Sep 2014 19:11:27 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XWVUh-0001wm-Dn for pgsql-jdbc@postgresql.org; Tue, 23 Sep 2014 12:11:23 -0700 Date: Tue, 23 Sep 2014 12:11:23 -0700 (PDT) From: stagirus To: pgsql-jdbc@postgresql.org Message-ID: <1411499483417-5820189.post@n5.nabble.com> In-Reply-To: <54210BA9.3020107@hogranch.com> References: <1411447985623-5820021.post@n5.nabble.com> <5420FE8B.7070109@hogranch.com> <1411448824623-5820028.post@n5.nabble.com> <54210115.7060203@hogranch.com> <1411449476155-5820034.post@n5.nabble.com> <542103B8.1080208@hogranch.com> <1411450782332-5820048.post@n5.nabble.com> <54210BA9.3020107@hogranch.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 Great news.. I finally resolved this problem. I have done the following stuff to make it work. 1. I have carefully created a role with proper privileges. 2. I have created a schema with the same name as the role and assigned ownership at the time of creation. 3. The tool that I am using fortunately supports setting the default schema to be used. More than anything else, this seems to be the main driver. Wola.. it worked. I want to thank all of you who tried to solve my problem. Very kind of you. JDBC driver devleoper(s) - show some mercy. Be open and flexible. Many people have offered solutions (code changes) to support the default/current schema problem. Accept that feature and make it part of your JDBC driver. Thank you all. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Patch-to-allow-setting-schema-search-path-in-the-connectionURL-tp2174512p5820189.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