PostgreSQL compatibility
The current and original SQL corpora both achieved 100% parity with PostgreSQL 18.7 on native PostDurable and local workerd.
Results by environment
The replay compares values, result descriptors, command tags, and SQLSTATEs. Both corpora recorded zero mismatches across the tested statements.
| SQL fixture | PostgreSQL 18.7 | Native PostDurable | Local workerd |
|---|---|---|---|
| Current corpus | 1,674 | 1,674 | 1,674 |
| Original corpus | 1,643 | 1,643 | 1,643 |
Stock clients exercised
- psql and libpq
SQL through the local relay, SCRAM authentication, and encrypted TCP through the optional gateway.
- Node pg and tokio-postgres
Stock drivers with bound parameters, binary values, and typed result descriptors.
- Prisma and Drizzle
Tested migrations, schema introspection, prepared reads, rollback, and representative application queries.
What to check before migrating
The parity claim covers the compared fixtures. Check your migrations, application queries, error handling, privileges, and extension requirements on a disposable database. Local qualification does not establish hosted performance or compatibility for arbitrary PostgreSQL extensions.
Read the compatibility profiles and limitsReproduce the local replay
Run these commands from a built checkout with PostgreSQL 18.7 available.
python3 qualification/historical.py --corpus current
python3 qualification/historical.py --corpus historical