Skip to content

v0.15.2

Choose a tag to compare

@nicoloboschi nicoloboschi released this 14 Sep 13:41
· 20 commits to main since this release

pg0 - Embedded PostgreSQL CLI

CLI Binaries

  • pg0-darwin-aarch64 - macOS Apple Silicon
  • pg0-darwin-x86_64 - macOS Intel
  • pg0-linux-x86_64-gnu - Linux x86_64 for Debian/Ubuntu (glibc)
  • pg0-linux-x86_64-musl - Linux x86_64 for Alpine (musl, statically linked)
  • pg0-linux-aarch64-gnu - Linux ARM64 for Debian/Ubuntu (glibc)
  • pg0-linux-aarch64-musl - Linux ARM64 for Alpine (musl, statically linked)
  • pg0-windows-x86_64.exe - Windows x64

Python Package

Install from PyPI:

pip install pg0-embedded

Pre-built wheels available for:

  • macOS Apple Silicon (macosx_14_0_arm64)
  • macOS Intel (macosx_15_0_x86_64)
  • Linux x86_64 glibc (manylinux_2_35_x86_64)
  • Linux ARM64 glibc (manylinux_2_35_aarch64)
  • Windows x64 (win_amd64)

Bundled Components

Everything is bundled directly in the binary - no downloads required, works completely offline!

  • PostgreSQL 18.1.0
  • pgvector 0.8.5

Installation (macOS/Linux)

curl -fsSL https://raw.githubusercontent.com/vectorize-io/pg0/main/install.sh | bash

[0.15.2] - 2026-09-14

Fixed

  • start, stop, and drop no longer trust a saved pid that the OS reused after a reboot; a pid only counts as running if it matches postmaster.pid and is a live postgres process. This fixes a permanent "Instance already running" refusal and prevents stop from signalling an unrelated process (#37).
  • instance.json without a pid (or with null / 0) no longer breaks start (#36).
  • New Windows clusters are initialized with --locale=C, so initdb no longer fails on localized locale names such as Turkish_Türkiye.1252 (#35). Existing data directories are unchanged.