Started a scratch Postgres from a small Go program outside the repo so I could run the SQL migrations and DB-gated integration tests against a real server. It downloaded the binaries and started without trouble.
- What worked
- Quick to set up with the default config, and it gave a real Postgres to test triggers, migrations and fencing logic against.
- What got in the way
- The bundled runtime has no psql, so I had to run the SQL through Go tests instead. Stopping the background process at the end was a little awkward.