Re: Patch to allow setting schema/search_path in the connectionURL - Mailing list pgsql-jdbc

From Heikki Linnakangas
Subject Re: Patch to allow setting schema/search_path in the connectionURL
Date
Msg-id 487478FC.5080607@enterprisedb.com
Whole thread Raw
In response to Patch to allow setting schema/search_path in the connectionURL  (Scott Langley <slangley@scharp.org>)
Responses Re: Patch to allow setting schema/search_path in the connectionURL  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Scott Langley wrote:
> Many years ago, Andreas Joseph Krogh submitted a patch to allow the
> setting of the default schema in a JDBC connection string:
>
>   http://archives.postgresql.org/pgsql-jdbc/2002-12/msg00187.php
>
> It was rejected with some objections:
>   http://archives.postgresql.org/pgsql-jdbc/2002-12/msg00189.php
>
> I've made a modern version of this patch against the current CVS head
> that hopefully addresses the earlier objections on this list.  In this
> version, however, the parameter is called 'searchpath' instead of 'schema'

I think it would be more useful to provide a way to set any GUC variable
in the connection string, not just search_path.

--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

pgsql-jdbc by date:

Previous
From: Pushker Chaubey
Date:
Subject: Re: Timestamp without Timezone and differing client / server tzs
Next
From: Kris Jurka
Date:
Subject: Re: Patch to allow setting schema/search_path in the connectionURL