Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtY7P-0005GY-5q for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 07:01:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UtY7O-0001DY-Gz for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 07:01:46 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtY7N-0001DS-SM for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 07:01:46 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UtY7H-0001pg-3E for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 07:01:45 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id E754B29413; Mon, 1 Jul 2013 00:01:37 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id E65DEB071F; Mon, 1 Jul 2013 00:01:37 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id 2B61D120032; Mon, 1 Jul 2013 00:07:54 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Mon, 1 Jul 2013 00:07:53 -0700 (PDT) Message-ID: <51D1294E.8050906@vmware.com> Date: Mon, 01 Jul 2013 10:01:34 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: emesika@redhat.com CC: pgsql-bugs@postgresql.org Subject: Re: BUG #8272: Unable to connect to diffrent schema from jdbc References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -5.0 (-----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 01.07.2013 00:41, emesika@redhat.com wrote: > Hi > Postgres does not support currently defining the schema in teh connection > parameters which makes it imposible to seprate the database to several > schemas and connect to the right one from the application. > > There is already a thread discussing that and a suggested patch that is > fixing that. > See > > http://www.postgresql.org/message-id/4873F034.8010301@scharp.org This is not a bug, but a feature request. I agree that would be a nice feature. Patches are welcome, on the pgsql-jdbc mailing list. As a work-around, you can set up a different db user for each schema, and set search_path as a per-user setting in the server. - Heikki -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs