Introduction

Why do we need yet another package manager? Especially for Postgres extensions?

Have you ever struggled with installing or upgrading PostgreSQL extensions? Digging through outdated documentation, cryptic configuration scripts, or searching GitHub for forks and patches? Postgres’s rich extension ecosystem also means complex deployment processes, especially across multiple distributions and architectures. PIG can solve these headaches for you.

This is exactly why Pig was created. Developed in Go, Pig is dedicated to one-stop management of Postgres and its 464 extensions. Whether it’s TimescaleDB, Citus, PGVector, 30+ Rust extensions, or all the components needed to self-host Supabase, Pig’s unified CLI makes everything accessible. It completely eliminates source compilation and messy repositories, directly providing version-aligned RPM/DEB packages that perfectly support Debian, Ubuntu, RedHat, and other mainstream distributions on both x86 and Arm architectures, no guessing, no hassle.

Pig isn’t reinventing the wheel; it fully leverages native system package managers (APT, YUM, DNF) and strictly follows PGDG official packaging standards for seamless integration. You do not need to choose between “the standard way” and “shortcuts”. Pig respects existing repositories, follows OS best practices, and coexists harmoniously with existing repositories and packages. If your Linux system and PostgreSQL major version are not in the supported list, you can use pig build to compile extensions for your specific combination.

Want to supercharge your Postgres and escape the hassle? Visit the PIG official documentation for guides, and check out the extensive extension list, turning your local Postgres database into an all-capable multi-modal data platform with one click. If Postgres’s future is unmatched extensibility, then Pig is the magic lamp that helps you unlock it. After all, no one ever complains about “too many extensions”.

Automation-Friendly

PIG’s command system is automation-ready out of the box: consistent argument conventions, stable output behavior, and --dry-run or confirmation flows for high-risk operations to reduce mistakes.

ANNOUNCE pig: The Postgres Extension Wizard


Linux Compatibility

PIG and the Pigsty extension repository support the following Linux distribution and PostgreSQL version combinations:

OS CodeVendorMajorMinorFull NamePG VersionsNotes
el7.x86_64EL77.9CentOS 7 x8613-15EOL
el8.x86_64EL88.10RockyLinux 8 x8614-18Near EOL
el8.aarch64EL88.10RockyLinux 8 ARM14-18Near EOL
el9.x86_64EL99.7RockyLinux 9 x8614-18
el9.aarch64EL99.7RockyLinux 9 ARM14-18
el10.x86_64EL1010.1RockyLinux 10 x8614-18
el10.aarch64EL1010.1RockyLinux 10 ARM14-18
d11.x86_64Debian1111.11Debian 11 x8614-18EOL
d11.aarch64Debian1111.11Debian 11 ARM14-18EOL
d12.x86_64Debian1212.13Debian 12 x8614-18
d12.aarch64Debian1212.13Debian 12 ARM14-18
d13.x86_64Debian1313.3Debian 13 x8614-18
d13.aarch64Debian1313.3Debian 13 ARM14-18
u20.x86_64Ubuntu2020.04.6Ubuntu 20.04 x8614-18EOL
u20.aarch64Ubuntu2020.04.6Ubuntu 20.04 ARM14-18EOL
u22.x86_64Ubuntu2222.04.5Ubuntu 22.04 x8614-18
u22.aarch64Ubuntu2222.04.5Ubuntu 22.04 ARM14-18
u24.x86_64Ubuntu2424.04.4Ubuntu 24.04 x8614-18
u24.aarch64Ubuntu2424.04.4Ubuntu 24.04 ARM14-18

Notes:

  • EL refers to RHEL-compatible distributions, including RHEL, CentOS, RockyLinux, AlmaLinux, OracleLinux, etc.
  • EOL indicates the operating system has reached or is about to reach end of support; upgrading to a newer version is recommended
  • indicates full support; recommended for use
  • PG versions 14-18 means support for PostgreSQL 14, 15, 16, 17, and 18 major versions

Last Modified 2026-03-23: update pig version to 1.3.2 (0c88dd5)