-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
current_schema: converting NULL to string is unsupported #692
Comments
Was a missing grant |
@StephaneBunel What was the missing |
I had to set |
This is my connection string and I'm getting the above error. I didn't want to post the actual user name, password, database and schema but I did use actual values that work. What was the grant? |
For anyone getting here with a similar error. There is a schema called |
Describe the Bug
SQL error when creating driver using postgres.WithInstance()
sql: Scan error on column index 0, name "current_schema": converting NULL to string is unsupported in line 0: SELECT CURRENT_SCHEMA()
Steps to Reproduce
Expected Behavior
no error
Migrate Version
v4.15.1
Postgres Version
v14.1
Go Version
go1.17.5 linux/amd64
The text was updated successfully, but these errors were encountered: