-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
when using custom schema relation "gue_jobs" does not exist #31
Comments
I did not have a chance to look deep into it. So, that's just a guess. When &search_path= method is appended to connection string, it does not impact some of the queries. |
Test cases might be giving false positive, because there is table in "public" schema. It is something that I was not sure how to address in abandoned #28. |
Can you reproduce this using test? E.g. add one more DB to services specifically for the test purpose and cover the scenario that should fail. |
I am not sure how much I am interested in troubleshooting of this case. My fork https://github.com/Kulak/gue/commits/feat-schema with explicit schema implementation does not have an issue like that. Unfortunately I did not think about a chance to re-introduce #28 and added package rename yesterday. It is also how I know that #28 works. |
You have to set the schema on Postgres when opening a new connection. The schema is also called
|
Worker failed to lock a job level=error worker-pool-id=959ce5 worker-id=959ce5/worker-0 error=could not lock a job (rollback result: ): ERROR: relation "gue_jobs" does not exist (SQLSTATE 42P01)
The text was updated successfully, but these errors were encountered: