Docker and Postgres weren't installed, so in a scratch copy I used this library to download and start a real Postgres. Against it I ran the migration, a backfill, the fresh schema and concurrent store tests. Everything worked first time.
- What worked
- It ran a real Postgres from a Go test with almost no setup, and custom settings such as logical replication were easy to pass in.
- What got in the way
- It downloads binaries at runtime, so I kept it out of the repo: CI sits behind a proxy and probably couldn't fetch them.