Specify schema in jdbc connection string?

Started by Dan Armbrustover 20 years ago3 messagesgeneral
Jump to latest
#1Dan Armbrust
daniel.armbrust.list@gmail.com

Is there any way to specify which schema I want to use (or have at the
front of the search path) within the jdbc connection string?

I've seen several people asking for the feature in the archives, one
person saying they wrote it but the patch was rejected, but not
authoritative answers...

Thanks,

Dan

--
****************************
Daniel Armbrust
Biomedical Informatics
Mayo Clinic Rochester
daniel.armbrust(at)mayo.edu
http://informatics.mayo.edu/

#2Kris Jurka
books@ejurka.com
In reply to: Dan Armbrust (#1)
Re: Specify schema in jdbc connection string?

On Thu, 8 Dec 2005, Dan Armbrust wrote:

Is there any way to specify which schema I want to use (or have at the front
of the search path) within the jdbc connection string?

No. It is still an open todo open.
http://jdbc.postgresql.org/todo.html

Kris Jurka

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Kris Jurka (#2)
Re: Specify schema in jdbc connection string?

Kris Jurka <books@ejurka.com> writes:

On Thu, 8 Dec 2005, Dan Armbrust wrote:

Is there any way to specify which schema I want to use (or have at the front
of the search path) within the jdbc connection string?

No. It is still an open todo open.

Depending on what you need, it might be an adequate workaround to set
per-user search paths via ALTER USER.

regards, tom lane