From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Scott Langley <slangley@scharp.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
Date: Wed, 09 Jul 2008 11:38:20 +0300
Message-ID: <487478FC.5080607@enterprisedb.com> (raw)
In-Reply-To: <4873F034.8010301@scharp.org>
References: <4873F034.8010301@scharp.org>
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
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: heikki@enterprisedb.com, slangley@scharp.org
Subject: Re: Patch to allow setting schema/search_path in the connectionURL
In-Reply-To: <487478FC.5080607@enterprisedb.com>
References: <4873F034.8010301@scharp.org> <487478FC.5080607@enterprisedb.com>
* 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