Commit Graph

3 Commits

Author SHA1 Message Date
Matthias van de Meent
b64b320095 Make PgVersionId a newtype
This makes several casts & checks a lot easier to check, as `type` is
nothing but an alias and doesn't actually prevent casts.
2025-06-23 18:30:30 +02:00
Matthias van de Meent
39f3ec8b9c Cleanup: Comments, imports, statics, missing type annotation 2025-06-23 15:59:46 +02:00
Matthias van de Meent
bdf8ebdf65 Use enum-typed PG versions
This makes it possible for the compiler to validate that a match
block matched all PostgreSQL versions we support.
2025-06-23 13:45:46 +02:00