Docs Blog Download & Install 简体中文 GitHub

THE POSTGRESQL EXTENSION PACKAGE MANAGER

Packager Index Gateway

One gateway to PostgreSQL extension packages. 575 catalog entries · PostgreSQL 14-18 · EL / Debian / Ubuntu

One CLI to search the catalog, configure repositories, and install native RPM / DEB. Availability is target-specific.

$ curl -fsSL https://repo.pigsty.io/pig | bash

WHY IT EXISTS

Installing an Extension Shouldn't Be a Project

The hard part is not the extension—it is reliable delivery across versions, systems, and architectures.

WITHOUT PIG

Manual at Every Layer

  • Find the right repository, package, or source
  • Match the PG major, OS release, and architecture
  • Own the toolchain and build when no binary exists
  • Repeat the process for every host and major upgrade

WITH PIG

One Consistent Workflow

  • repo set writes region-aware apt / dnf configuration
  • install resolves names, PG majors, systems, and architectures
  • build provides a spec-driven path when no package exists
  • The result stays native RPM / DEB, with no database runtime dependency

PIG remains optional: the Pigsty repositories work with plain apt and dnf, and PIG never becomes a database runtime dependency.

AGENT-NATIVE CLI

Understand First. Orchestrate Safely.

PIG is more than scriptable: ANCS exposes capabilities, risk, and confirmation requirements as machine-readable schema. Unified results, context snapshots, and reviewable plans let agents understand before they act.