JDBC - setting PG variables in URL

Поиск
Список
Период
Сортировка
От Jan Bilek
Тема JDBC - setting PG variables in URL
Дата
Msg-id 006101c790e7$63800d50$0100a8c0@ook
обсуждение исходный текст
Ответы Re: JDBC - setting PG variables in URL  ("Joshua D. Drake" <jd@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: Date Math
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: JDBC - setting PG variables in URL