Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the type of the 'masterid' case statement
It seems that newish versions of pg8000 complain (probably correctly) that a case statement is of text type, but the masterid column should be an integer. This adds an explicit cast, which works fine across all three database engines.
- Loading branch information