Matthias van de Meent
eace983d73
Various fixups:
...
- Use u32 for correct parameter formatting in pageserver mgmt API
client
- Use a correctly formatted PgVersionId (not: PgMajorVersion) in
test_branching.py
- Add some documentation on postgres_versioninfo::PgVersionId
2025-06-24 11:33:45 +02:00
Matthias van de Meent
4b7de9135d
Update libs/postgres_versioninfo/src/lib.rs
...
Co-authored-by: Arpad Müller <arpad-m@users.noreply.github.com >
2025-06-23 18:41:14 +02:00
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