Skip to content
NewA calmer, faster ZeroHour
Otherinfo

Minipg packages PostgreSQL as a single executable

Original title: Minipg: PostgreSQL as a Single Executable

Hacker News · AIby rguiscard ()3 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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/.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

3 min read at progrium.github.io

minipg 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.

Hacker News · AI

By rguiscard · progrium.github.io

Read the full article at Hacker News · AI

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.