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

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "Scott Langley" <slangley(at)scharp(dot)org>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
Date: 2008-07-09 08:38:20
Message-ID: 487478FC.5080607@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2008-07-09 20:16:50 Re: Patch to allow setting schema/search_path in the connectionURL
Previous Message Pushker Chaubey 2008-07-09 07:23:05 Re: Timestamp without Timezone and differing client / server tzs