Skip to content

connection-parameters.js does not support currentSchema #1023

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pierluc-codes opened this issue May 17, 2016 · 6 comments
Closed

connection-parameters.js does not support currentSchema #1023

pierluc-codes opened this issue May 17, 2016 · 6 comments

Comments

@pierluc-codes
Copy link

http://stackoverflow.com/questions/4168689/is-it-possible-to-specify-schema-when-connecting-to-postgres-with-jdbc

neither does pg-connection-string

@vitaly-t
Copy link
Contributor

vitaly-t commented May 17, 2016

The feature was introduced in PostgreSQL 9.4:

postgres://username:password@host:port/database?currentSchema=myschema

Both pg-connection-string and this library would need to be updated.

I have logged iceddev/pg-connection-string#9

@pierluc-codes
Copy link
Author

Do you have a link for the postgres protocol? I would like to give it a try.

@elmigranto
Copy link

Do you have a link for the postgres protocol?

@plcstpierre Is this what you are asking about?
https://www.postgresql.org/docs/9.5/static/libpq-connect.html#LIBPQ-CONNSTRING

@pierluc-codes
Copy link
Author

Nope. I mean the low level stuff. What the client is supposed to do when it receive a schema in the string?

@elmigranto
Copy link

It supposed to pass it down to server to figure out.

@charmander
Copy link
Collaborator

Duplicate of #1123

@charmander charmander marked this as a duplicate of #1123 Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants