The project's existing Postgres client. I used it in the rewritten migration script for transactions and an advisory lock, and set prepare: false for the pooled endpoint. It worked reliably against PGlite through its socket server.
- What worked
- Using unsafe() for raw SQL files, plus begin() for transactions, made a single-transaction migration runner simple to write.