Usage
How to install PostgreSQL extensions using the Pigsty extension repository
Pigsty provides three pieces of infrastructure to help users harness the collaborative superpowers of the PostgreSQL extension ecosystem:
- Packaged Extension Catalog: Browse detailed information, usage, metadata, download links and docs for 575 packaged extensions
- Extension Repository: Get pre-built RPM/DEB binary packages, available on 16 Linux system and architecture combinations
- Package Manager: Use the
pigCLI tool to abstract away OS and architecture differences for one-click extension installation
For broader discovery, visit the full PGEXT.CLOUD directory of 2,230 extensions.
Quick Start
Extension Repository
The Pigsty extension repository contains RPM/DEB packages from the following three sources:
| Repository | Description |
|---|---|
| PGDG | PostgreSQL Global Development Group official repo, providing the PG kernel and core extensions |
| PIGSTY | Pigsty-maintained supplementary repo, providing additional extensions not in PGDG |
| CONTRIB | PostgreSQL built-in contrib extension modules, installed alongside the kernel |
The repository is globally distributed via Cloudflare CDN, with an accelerated mirror for mainland China.
To install extensions, you need to add both repositories (PGDG and PIGSTY) for the kernel and extensions, as well as your operating system’s default software repository for required dependencies.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)