How I Got Postgres into a Single Binary
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Jeff Lindsay (progrium) released miniPG, a single binary that embeds a real Postgres server and client and is used like the sqlite3 CLI: point it at a directory and run a query, or use serve and run for software that expects a server. It builds for Mac, Windows and Linux. He reports that it runs Postgres through his Hyper9 layer, cutting startup from 7 seconds to 800ms, though these figures are self-reported and unverified. It targets local, single-user use, not production.