-
Notifications
You must be signed in to change notification settings - Fork 321
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
0.36.8 breaks database_exists() call #462
Comments
+1 on this. Seeing the exact same issue after upgrading |
+1 Have the same issue too. |
Can we have a parameter to database_exists to control which database to connect to in order to perform the check? |
This code has been changed recently, originally it connected to I think @jtbeach's suggestion makes sense, due to it being difficult to find a database that is guaranteed to exist (and to which connections are allowed) in every single case. |
Looks like there's a fix with the suggested behaviour already in a PR: #463 |
There's a couple of bugs in that PR -- have put a couple of comments on there |
Hello,
We have code doing something like:
It works with 0.36.7 but fails with 0.36.8 with:
I think the new code attempts to connect to "user" default database, which is "user". Unfortunately, this database does not exist.
Is this a bug, or should we modify our code in any way?
Thanks.
The text was updated successfully, but these errors were encountered: