pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Migowski <dmigowski@ikoffice.de>
To: pgsql-jdbc@postgresql.org
Subject: GUC variables in parameter URL
Date: Fri, 26 Mar 2010 12:19:16 +0100
Message-ID: <4BAC9834.6000608@ikoffice.de> (raw)

Hi all,

I want to bring the old discussion on GUC variables in the JDBC 
connection string back. Currently I definitely need to set the schema 
search path, and all I got is the connection URL, because it is in a 
place where we alternatively use Microsoft SQL server connection URLs.

Of course I can change the clients code, but this would be a real mess.

The only reason I found which spoke against adding them, was: "If we do, 
people stop using the config files and enter all parameters into the 
url, and this make them hard to type." Despite the fact that this are 
two wrong assumptions in one sentence, we speak about providing 
possibilities for cases where other possibilities are lacking.

What are your opinions on this? If this feature is not yet available, I 
would even implement this myself in the driver, by issuing a SET command 
on startup sending all the parameters starting with "guc_".

Regards,
Daniel Migowski




view thread (2+ messages)  latest in thread

Message-ID: <4BAC9834.6000608@ikoffice.de>
Permalink:  ../4BAC9834.6000608@ikoffice.de/
Also on:    postgresql.org/message-id/4BAC9834.6000608@ikoffice.de

 · 

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: dmigowski@ikoffice.de
  Subject: Re: GUC variables in parameter URL
  In-Reply-To: <4BAC9834.6000608@ikoffice.de>
  References: <4BAC9834.6000608@ikoffice.de>

* 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