Re: Patch to allow setting schema/search_path in the connectionURL

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: cowwoc <cowwoc(at)bbs(dot)darktech(dot)org>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
Date: 2014-09-18 00:54:13
Message-ID: CADK3HH+MLmeJNShi7r4opYT14m_QRpc8+T=pewYHeE6gVq_bwg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I don't think it did, I'm not opposed to this. I think there may even be an
outstanding pull request for it.

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 17 September 2014 14:04, cowwoc <cowwoc(at)bbs(dot)darktech(dot)org> wrote:

> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message stagirus 2014-09-18 19:47:44 Re: Patch to allow setting schema/search_path in the connectionURL
Previous Message cowwoc 2014-09-17 18:04:34 Re: Patch to allow setting schema/search_path in the connectionURL