Postgres 18
Supported upstream until 14 Nov 2030macarmx86version = 18 → 18.6today, then pinned in doze.lock- 18.0
- 18.1
- 18.2
- 18.3
- 18.4
- 18.5
- 18.6
Upstream never tagged 18.5, so there is no 18.5 to build.
Real local Postgres, declared not scripted.
doze/postgres$ doze add postgresThe Postgres servers doze runs: 79 builds of Postgres from doze-binaries, every one for all three platforms. The engine and the module (doze/postgres) are pinned separately in doze.lock.
version = 18 → 18.6today, then pinned in doze.lockUpstream never tagged 18.5, so there is no 18.5 to build.
version = 17 → 17.11today, then pinned in doze.lockversion = 16 → 16.15today, then pinned in doze.lockversion = 15 → 15.19today, then pinned in doze.lockversion = 14 → 14.24today, then pinned in doze.lockdoze add postgres and a fresh version = 14 say so, and suggest 18.Upstream dates from the PostgreSQL versioning policy. Five years of fixes per major.
A bare major takes the newest minor the first time it resolves, then stays there: a new 17.12 never reaches a project already pinned to 17.11. Write the full version when you need to match production.
module postgres "postgres" { version = 17 }
module postgres "postgres" { version = "17.6" }
engines:
postgres:
"17":
resolved: 17.11.0
source: mirror
hashes:
aarch64-apple-darwin: sha256:1214c27cec0f357fbc570bc61788fde1cc918c2bced8b54e077ec990168c77f2
"17.6":
resolved: 17.6.0
source: mirror
hashes:
aarch64-apple-darwin: sha256:8e80925b1568cc09d8a17448368b6a5e6d935c9817474c10ed7fb5aa77780feeEach platform adds its own hash the first time it downloads, so a teammate on Linux adds a line under the same pin. Changing the version in doze.hcl adds a new entry; nothing else moves an engine pin.
Every postgres release so far runs all five majors, and any minor within them. What changes between releases is the doze they need.
| Module release | Needs doze | PG 14 | PG 15 | PG 16 | PG 17 | PG 18 |
|---|---|---|---|---|---|---|
| 0.3.0 Coming | 0.2.0 | coming | coming | coming | coming | coming |
| 0.2.4 Current | any | ✓ | ✓ | ✓ | ✓ | ✓ |
| 0.2.3 | any | ✓ | ✓ | ✓ | ✓ | ✓ |
| 0.2.2 | any | ✓ | ✓ | ✓ | ✓ | ✓ |
| 0.2.1 | any | ✓ | ✓ | ✓ | ✓ | ✓ |
0.2.1–0.2.4 run on any doze; 0.3 needs doze 0.2.0.Majors per release come from the signed index (engines: ["14" … "18"]). All versions