Skip to content

v0.16.0

Choose a tag to compare

@nicoloboschi nicoloboschi released this 04 Nov 12:18
· 3 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.16.0] - 2026-11-04

Added

  • Optional PG0_EXECUTABLE (Python SDK), PG0_INSTALLATION_DIR, and PG0_HOME environment variables to choose where the pg0 executable, the extracted PostgreSQL files, and instance state live, e.g. for Windows machines with application-control policies (#43).

Fixed

  • Pg0.start() in the Python SDK no longer hangs forever on Linux and macOS when PostgreSQL keeps pg0's output handles open (#45).
  • pg0 info and pg0 list no longer report a live instance as stopped on slow Windows machines: the health check now waits up to 10s to connect, and prints psql's error to stderr when it fails (#41).
  • Linux glibc builds: libxml2 is now pinned to 2.9.13+dfsg-1ubuntu0.14, after Ubuntu removed the previous build from its archive. Bundled Ubuntu packages now fall back to Launchpad when the archive no longer has them.

Security

  • Updated Cargo.lock dependencies to clear 24 advisories (quinn-proto, rustls, rustls-webpki, tokio, tar, and others) (#44).