Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWIMq-0000J8-FX for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Sep 2014 05:10:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWIMp-0007O3-W9 for pgsql-jdbc@arkaria.postgresql.org; Tue, 23 Sep 2014 05:10:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWIMp-0007Nu-1Z for pgsql-jdbc@postgresql.org; Tue, 23 Sep 2014 05:10:23 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWIMl-0002O7-9x for pgsql-jdbc@postgresql.org; Tue, 23 Sep 2014 05:10:21 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id s8N5AAZ02474 for ; Mon, 22 Sep 2014 22:10:11 -0700 Message-ID: <542100AD.9000701@hogranch.com> Date: Mon, 22 Sep 2014 22:10:05 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Patch to allow setting schema/search_path in the connectionURL References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com> <1410977074803-5819366.post@n5.nabble.com> <1411069664209-5819543.post@n5.nabble.com> <541C5FE2.9070506@bbs.darktech.org> <1411448121224-5820023.post@n5.nabble.com> <1411448577700-5820026.post@n5.nabble.com> In-Reply-To: <1411448577700-5820026.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.9 (--) 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 On 9/22/2014 10:02 PM, stagirus wrote: > I thought the following context might be helpful. We have been using Oracle. > It conveniently and transparently relates a user to a schema. postgres' default search_path is $USER,public... so if there's a schema the same name as the user role, then it will look for objects there before it looks in public... which as far as I can tell is exactly what you're saying Oracle does. -- john r pierce 37N 122W somewhere on the middle of the left coast -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc