pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedGUC variables in parameter URL
2+ messages / 2 participants
[nested] [flat]
* GUC variables in parameter URL
@ 2010-03-26 11:19 Daniel Migowski <dmigowski@ikoffice.de>
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Migowski @ 2010-03-26 11:19 UTC (permalink / raw)
To: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: GUC variables in parameter URL
@ 2010-03-26 14:05 John Abraham <jabraham@ucalgary.ca>
parent: Daniel Migowski <dmigowski@ikoffice.de>
0 siblings, 0 replies; 2+ messages in thread
From: John Abraham @ 2010-03-26 14:05 UTC (permalink / raw)
To: Daniel Migowski <dmigowski@ikoffice.de>; +Cc: pgsql-jdbc
Good idea.
--
John Abraham
jea@hbaspecto.com
On 2010-03-26, at 5:19 AM, Daniel Migowski wrote:
> 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
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-03-26 14:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 11:19 GUC variables in parameter URL Daniel Migowski <dmigowski@ikoffice.de>
2010-03-26 14:05 ` John Abraham <jabraham@ucalgary.ca>
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