ADR-0006 — PostgreSQL versions
- Status: Accepted
- Date: 2026-11-12
- Supersedes: none
- Authors: project maintainers
Context
The saver runs on the tables upstream's saver created, so it should run wherever upstream runs. Upstream's own CI tests PostgreSQL 15 and 16, with 16 as the default. Newer servers are where a change in planner or storage behaviour would show up first.
Decision
We will follow upstream: PostgreSQL 15 and 16 are required in CI, 16 is the default for tests and benchmarks, and 17 and 18 run as non-blocking jobs.
Alternatives considered
- Require 17 and 18 too — rejected: a failure there that upstream shares would block us for a version upstream does not claim.
- Raise the floor to 18 — rejected: an evaluation of PostgreSQL 18 found only minor SQL conveniences and nothing that changes the design.
Consequences
.github/workflows/pg-version-matrix.ymlruns the integration suite on 15–18; only 15 and 16 can fail it.- A break on 17 or 18 is visible early without blocking a release.
References
.github/workflows/pg-version-matrix.yml