pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cowwoc <cowwoc@bbs.darktech.org>
To: pgsql-jdbc@postgresql.org
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
Date: Thu, 18 Sep 2014 13:01:45 -0700 (PDT)
Message-ID: <541B3A0D.1080604@bbs.darktech.org> (raw)
In-Reply-To: <1411069664209-5819543.post@n5.nabble.com>
References: <4873F034.8010301@scharp.org>
	<487478FC.5080607@enterprisedb.com>
	<Pine.BSO.4.64.0807091611590.6781@leary.csoft.net>
	<1410977074803-5819366.post@n5.nabble.com>
	<CADK3HH+MLmeJNShi7r4opYT14m_QRpc8+T=pewYHeE6gVq_bwg@mail.gmail.com>
	<1411069664209-5819543.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

I added a hook that runs immediately before acquiring a Connection. It 
sets the schema using an SQL update command, and forwards the connection 
on to the rest of the application. Not ideal but it works.

Gili

On 18/09/2014 3:47 PM, stagirus [via PostgreSQL] wrote:
> I too have a similar requirement to specify the schema.
>
> I see in various discussions that many people have tried to fix this 
> problem. It appears there is no resolution yet. It is sad that the 
> JDBC driver community does not seem to pay any attention to the 
> end-user needs. Hello.. PLEASE WAKE UP! We are in a different era!
>
> Does anybody know of a solution on how to designate a schema while 
> establishing the connection? I would highly appreciate it!!!




--
View this message in context: http://postgresql.1045698.n5.nabble.com/Patch-to-allow-setting-schema-search-path-in-the-connectionU...
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

view thread (41+ messages)  latest in thread

Message-ID: <541B3A0D.1080604@bbs.darktech.org>
Permalink:  ../541B3A0D.1080604@bbs.darktech.org/
Also on:    postgresql.org/message-id/541B3A0D.1080604@bbs.darktech.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: cowwoc@bbs.darktech.org
  Subject: Re: Patch to allow setting schema/search_path in the connectionURL
  In-Reply-To: <541B3A0D.1080604@bbs.darktech.org>
  References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com> <Pine.BSO.4.64.0807091611590.6781@leary.csoft.net> <1410977074803-5819366.post@n5.nabble.com> <CADK3HH+MLmeJNShi7r4opYT14m_QRpc8+T=pewYHeE6gVq_bwg@mail.gmail.com> <1411069664209-5819543.post@n5.nabble.com> <541B3A0D.1080604@bbs.darktech.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox