dozeGitHubGet doze
Registry
Check against your doze

Which doze do you run?

doze 0.1.1newest · 2 Jul 2026doze 0.1.02 Jul 2026Stop checkingKept in this browser only. Nothing is sent anywhere.

PostgreSQL

OfficialSigned

Real local Postgres, declared not scripted.

doze/postgres
$ doze add postgres
Newest
0.2.4 · 2 Nov 2026
Needs
any doze
Runs
Postgres 14 – 18
Platforms
macOS arm64 · Linux arm64 · Linux x86_64
Licence
Apache-2.0

pg_hint_plan

Coming with postgres 0.3

Steer the planner with hints in SQL comments.

Version1.4.5 – 1.8.1
Postgres14 – 18
PreloadYes
LicenceBSD-3

Add it

One line: the newest 1.8.x
doze.hcl
module postgres "postgres" {
  version    = 18
  extensions = ["pg_hint_plan"]
}
Pinned to an exact version
doze.hcl
module postgres "postgres" {
  version = 18
  extension "pg_hint_plan" { version = "1.8.1" }
}

doze fetches the build for your Postgres major and platform once, checks its sha256, pins it in doze.lock and runs CREATE EXTENSION pg_hint_plan. Nothing to install, the same on a Mac and on Linux. A newer pin later runs ALTER EXTENSION pg_hint_plan UPDATE for you. It preloads: doze adds it to shared_preload_libraries and restarts the instance once when the set changes.

ExtensionPG 14PG 15PG 16PG 17PG 18
pg_hint_plan1.4.5 · coming1.5.4 · coming1.6.3 · coming1.7.2 · coming1.8.1 · coming

Coming with postgres 0.3, which needs doze 0.2.0 or newer.