-
-
Notifications
You must be signed in to change notification settings - Fork 360
schema config parameter has no effect with pg driver (postgres) #459
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
Comments
Same problem here. |
@pedro-ribeiro @stefaneg Ok, seems like this needs a bit of hoop jumping to make it work with pg. Thanks for reporting! |
Could we have a post connect query executed for set options? Other database/scenarios may also benefit from running some set options to configure the session some way before any other sql commands are executed. Example: -- on connect
set search_path = <schema>, public; Providing the user/role has the appropriate grants on that schema? Note: Ended up just making multiple users with different configured search paths to work around this. |
any update on this? |
Any update on this? |
All can someone confirm if this was ever fixed? I am using the latest beta and am getting the same issue. If it has been fixed and it’s now a regression can someone tell me which version to roll back to please. |
I'm still seeing this problem. |
Still seeing this issue. Not sure if this ever will be fixed. |
I trying to get db-migrate to create the migration table in a schema of my choosing, to no avail. After a brief look through the code, it seems to me that the schema attribute in database.json is never used. If I understand the code correctly, the config object is passed directly to the node-postgres driver, which does nothing with the schema attribute.
This issue here is possibly relevant, it basically states that schema specification through config is not supported.
brianc/node-postgres#1123
Am I missing something?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: