procrastinate-org / procrastinate

PostgreSQL-based Task Queue for Python
https://procrastinate.readthedocs.io/
MIT License
852 stars 52 forks source link

Properly cast %(statuses)s::procrastinate_job_status[] for psycopg2 #1076

Closed ewjoachim closed 3 months ago

ewjoachim commented 3 months ago

Closes #1075

We didn't test delete_old_jobs with psycopg2. The rewriting of the query for psycopg3 made it incompatible. I'm not 100% surprised that it went so long without being detected, but at least now it's fixed.

Successful PR Checklist:

PR label(s):

github-actions[bot] commented 3 months ago

Coverage report

This PR does not seem to contain any modification to coverable code.