Minipg packages PostgreSQL as a single executable
Original title: Minipg: PostgreSQL as a Single Executable
It embeds Docker Hub's postgres:18-alpine and runs those binaries via h9, without Docker or a Linux kernel.
Minipg, from progrium, ships PostgreSQL as one executable that stores data, config, credentials, and the Postgres version in a .pgdb directory. A server starts when a command needs it and stops when idle. It embeds Docker Hub's postgres:18-alpine image and runs Alpine's Postgres binaries through the h9 Zig library on the host hypervisor, with no Linux kernel boot, VM image, or Docker. The project is early: on h9's native backend Postgres is about 2x slower than native for one client, and the author says not to trust data that cannot be recreated.
Unconfirmed: Performance and reliability claims are the author's own for an early release.
- Source is MIT-licensed on GitHub and builds with Zig 0.16.
- Supported hosts include Linux x86_64 and arm64 KVM, macOS Apple Silicon, and a v86 browser demo.
- New clusters use Postgres's builtin C.UTF-8 locale.
- A .pgdb holds minipg.toml, including a generated superuser password, and pgdata/.
- Products
- minipgPostgreSQL
- Organizations
- progrium
From the original article
3 min read at progrium.github.iominipg is PostgreSQL as one executable, ready to use, with no server to configure. its data, config, credentials, and Postgres version all live inside it, A server starts when a command needs one and stops on its own when it's idle.
By rguiscard · progrium.github.io
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.