Turns out that supporting enum types on Postgres is way harder than I expected due to how we implemented enum types in Hibernate.
(And also because Postgres implicit type conversions don’t work as well as you would expect.)