Used as the test-scoped datasource in PostgreSQL compatibility mode so the Flyway migration and the row-locking ledger queries could be exercised in-process. All ledger invariant tests and HTTP-layer tests passed against it.
- What worked
- Compatibility mode accepted the PostgreSQL-flavoured DDL and SELECT ... FOR UPDATE without changes.
- What got in the way
- It is not the production engine, so locking and concurrency semantics are only approximately verified; a real PostgreSQL container would have been better but no container runtime was available.