Skip to content

Module: PIG

  • PIG 1.8 Documentation

    In pig

    PIG

    — Postgres Install Genius, the missing extension package manager for the PostgreSQL ecosystem PIG is a command-line tool specifically designed for installing, managing, and building PostgreSQL and its extensions. Developed in Go, it is ready to use …

    — Postgres Install Genius, the missing extension package manager for the PostgreSQL ecosystem PIG is a command-line tool specifically designed for installing, managing, and building PostgreSQL and its extensions. Developed in Go, it is ready to use …

  • pig pitr

    In pig

    ReferencePIG

    The pig pitr command performs point-in-time recovery through pgBackRest and conservatively handles the local PostgreSQL and Patroni lifecycle. Unlike the lower-level pig pb restore, pig pitr runs pre-restore checks, stops Patroni and PostgreSQL when …

    The pig pitr command performs point-in-time recovery through pgBackRest and conservatively handles the local PostgreSQL and Patroni lifecycle. Unlike the lower-level pig pb restore, pig pitr runs pre-restore checks, stops Patroni and PostgreSQL when …

  • pig pgbackrest

    In pig

    ReferencePIG

    The pig pgbackrest command (alias pig pb) manages pgBackRest backups and provides low-level restore primitives. It wraps common pgbackrest operations for a simplified backup management experience. All commands run as the database superuser (default …

    The pig pgbackrest command (alias pig pb) manages pgBackRest backups and provides low-level restore primitives. It wraps common pgbackrest operations for a simplified backup management experience. All commands run as the database superuser (default …

  • pig patroni

    In pig

    ReferencePIG

    Since v1.6.0, the pig patroni command (alias pig pt) is a transparent launcher for the installed patronictl binary: pig only owns config-file selection and a few local helpers, while every other command and all of its arguments are forwarded …

    Since v1.6.0, the pig patroni command (alias pig pt) is a transparent launcher for the installed patronictl binary: pig only owns config-file selection and a few local helpers, while every other command and all of its arguments are forwarded …

  • pig postgres

    In pig

    ReferencePIG

    The pig pg command (alias pig postgres) manages local PostgreSQL servers and databases. It wraps local primitives such as pg_ctl, psql, and vacuumdb; use pig pt for Patroni cluster operations and pig pitr for orchestrated PITR. pig pg - Local …

    The pig pg command (alias pig postgres) manages local PostgreSQL servers and databases. It wraps local primitives such as pg_ctl, psql, and vacuumdb; use pig pt for Patroni cluster operations and pig pitr for orchestrated PITR. pig pg - Local …

  • pig inventory

    In pig

    ReferencePIG

    The pig inventory command group (alias pig inv), introduced in v1.6.0, provides lossless inspection, editing, validation, and readiness checks for the Pigsty inventory (pigsty.yml), plus an experimental cmdb subtree that exchanges the inventory with …

    The pig inventory command group (alias pig inv), introduced in v1.6.0, provides lossless inspection, editing, validation, and readiness checks for the Pigsty inventory (pigsty.yml), plus an experimental cmdb subtree that exchanges the inventory with …

  • pig sty

    In pig

    ReferencePIG

    pig can also be used as a CLI tool for Pigsty, a batteries-included free PostgreSQL RDS solution. It brings HA, PITR, monitoring, infrastructure as code (IaC), and rich extension support to your PostgreSQL clusters. pig sty - Init (Download), …

    pig can also be used as a CLI tool for Pigsty, a batteries-included free PostgreSQL RDS solution. It brings HA, PITR, monitoring, infrastructure as code (IaC), and rich extension support to your PostgreSQL clusters. pig sty - Init (Download), …

  • pig build

    In pig

    ReferencePIG

    The pig build command simplifies the full workflow for building PostgreSQL extensions from source. It provides build infrastructure setup, dependency management, and compilation environments for standard and custom PostgreSQL extensions across …

    The pig build command simplifies the full workflow for building PostgreSQL extensions from source. It provides build infrastructure setup, dependency management, and compilation environments for standard and custom PostgreSQL extensions across …

  • pig ext

    In pig

    ReferencePIG

    The pig ext command is an all-in-one tool for managing PostgreSQL extensions. It lets you search, install, remove, update, and manage PostgreSQL extensions, and it can also handle PostgreSQL kernel packages. pig ext - Manage PostgreSQL Extensions pig …

    The pig ext command is an all-in-one tool for managing PostgreSQL extensions. It lets you search, install, remove, update, and manage PostgreSQL extensions, and it can also handle PostgreSQL kernel packages. pig ext - Manage PostgreSQL Extensions pig …

  • pig repo

    In pig

    ReferencePIG

    The pig repo command is a comprehensive package repository manager. It can add, remove, create, and manage repositories on RPM systems (RHEL/CentOS/Rocky/Alma) and Debian systems (Debian/Ubuntu). pig repo - Manage Linux APT/YUM Repo pig repo list # …

    The pig repo command is a comprehensive package repository manager. It can add, remove, create, and manage repositories on RPM systems (RHEL/CentOS/Rocky/Alma) and Debian systems (Debian/Ubuntu). pig repo - Manage Linux APT/YUM Repo pig repo list # …

  • pig

    In pig

    ReferencePIG

    The pig CLI provides a comprehensive toolkit for managing PostgreSQL installations, extensions, repositories, and extension builds from source. Use pig help <command> to view command documentation. pig repo: manage software repositories pig ext: …

    The pig CLI provides a comprehensive toolkit for managing PostgreSQL installations, extensions, repositories, and extension builds from source. Use pig help <command> to view command documentation. pig repo: manage software repositories pig ext: …

  • Release

    In pig

    ReferencePIG

    The latest stable version is v1.8.0. Version Date Summary GitHub v1.8.0 2026-08-14 Native sty boot and sty conf, 575 packaged extensions v1.8.0 v1.7.0 2026-08-12 EL module policy, China mirrors, EL7 compatibility, 575 extensions v1.7.0 v1.6.2 …

    The latest stable version is v1.8.0. Version Date Summary GitHub v1.8.0 2026-08-14 Native sty boot and sty conf, 575 packaged extensions v1.8.0 v1.7.0 2026-08-12 EL module policy, China mirrors, EL7 compatibility, 575 extensions v1.7.0 v1.6.2 …

  • Installation

    In pig

    TaskPIG

    Script Installation The simplest way to install pig is to run the following installation script: Default Installation (Cloudflare CDN): curl -fsSL https://repo.pigsty.io/pig | bash China Mirror: curl -fsSL https://repo.pigsty.cc/pig | bash This …

    Script Installation The simplest way to install pig is to run the following installation script: Default Installation (Cloudflare CDN): curl -fsSL https://repo.pigsty.io/pig | bash China Mirror: curl -fsSL https://repo.pigsty.cc/pig | bash This …

  • Introduction

    In pig

    ConceptPIG

    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 …

    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 …

  • Getting Started

    In pig

    TutorialPIG

    Here is a simple getting started tutorial to help you experience the core capabilities of the PIG package manager. Short Version curl -fsSL https://repo.pigsty.io/pig | bash # Install PIG from Cloudflare pig repo set # One-time setup for Linux, …

    Here is a simple getting started tutorial to help you experience the core capabilities of the PIG package manager. Short Version curl -fsSL https://repo.pigsty.io/pig | bash # Install PIG from Cloudflare pig repo set # One-time setup for Linux, …