JDBC - setting PG variables in URL - Mailing list pgsql-general

From Jan Bilek
Subject JDBC - setting PG variables in URL
Date
Msg-id 006101c790e7$63800d50$0100a8c0@ook
Whole thread Raw
Responses Re: JDBC - setting PG variables in URL
List pgsql-general
Hi,
Is it possible to set any of postgre variables in JDBC conection URL?

Example:
"jdbc:postgresql://localhost:/dbname?pgvar1=value2&pgvar2=value2"

Is this or simular construction plausible? We tried it, but it didn't work.
OR - question could be put this way: How to set internal postgre variables
(like search_path etc.) from Java2 enviroment using JDBC?

Thanks for any hints.

Regards,
Jan


pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: Date Math
Next
From: "Joshua D. Drake"
Date:
Subject: Re: JDBC - setting PG variables in URL