Version v3.7.0 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot. For up-to-date documentation, see the latest version.
PIG Release
pig is an open-source PostgreSQL (& Extension) Package Manager for Mainstream Linux.
Install PostgreSQL 13 ~ 18 along with 437 extensions on (amd64 / arm64) with native apt/yum/dnf.
The latest stable version is v0.7.4, Check the GitHub Repo and pig documentation for more details.
| Version | Date | Summary | GitHub |
|---|---|---|---|
| v0.7.4 | 2025-12-01 | update ivory, pgtde, pgdg extras | v0.7.4 |
| v0.7.3 | 2025-11-24 | fix repo for el10 & debian13 | v0.7.3 |
| v0.7.2 | 2025-11-20 | 437 extensions, fix pig build issue | v0.7.2 |
| v0.7.1 | 2025-11-10 | New Website, improve in-docker experience | v0.7.1 |
| v0.7.0 | 2025-11-05 | Build Enhancement and massive upgrade | v0.7.0 |
| v0.6.2 | 2025-10-03 | PG 18 official Repo | v0.6.2 |
| v0.6.1 | 2025-08-14 | CI/CD, el10 stub, PGDG CN Mirror | v0.6.1 |
| v0.6.0 | 2025-07-17 | 423 extension, percona pg_tde, mcp toolbox | v0.6.0 |
| v0.5.0 | 2025-06-30 | 422 extension, new extension catalog | v0.5.0 |
| v0.4.2 | 2025-05-27 | 421 extension, halo & oriole deb | v0.4.2 |
| v0.4.1 | 2025-05-07 | 414 extension, pg18 alias support | v0.4.1 |
| v0.4.0 | 2025-05-01 | do & pt sub-cmd, halo & orioledb | v0.4.0 |
| v0.3.4 | 2025-04-05 | routine update | v0.3.4 |
| v0.3.3 | 2025-03-25 | alias, repo, deps | v0.3.3 |
| v0.3.2 | 2025-03-21 | new extensions | v0.3.2 |
| v0.3.1 | 2025-03-19 | minior bug fix | v0.3.1 |
| v0.3.0 | 2025-02-24 | new home page and extension catalog | v0.3.0 |
| v0.2.2 | 2025-02-22 | 404 extensions | v0.2.2 |
| v0.2.0 | 2025-02-14 | 400 extensions | v0.2.0 |
| v0.1.4 | 2025-02-12 | routine bugfix | v0.1.4 |
| v0.1.3 | 2025-01-23 | 390 extensions | v0.1.3 |
| v0.1.2 | 2025-01-12 | the anon extension and 350 other ext | v0.1.2 |
| v0.1.1 | 2025-01-09 | Update Extension List | v0.1.1 |
| v0.1.0 | 2024-12-29 | repo, ext, sty, and self-update | v0.1.0 |
| v0.0.1 | 2024-12-23 | Genesis Release | v0.0.1 |
v0.7.4
- Update extension metadata:
pg_search,pgmq,pg_stat_monitor - Update pgdg repo URL, the
extrasnow move to parent directory - Bump ivorysql to 5.0 (compatible with PG 18.0)
- Bump Percona Postgres TDE Kernel to 18.1
Checksums
v0.7.3
- add new command:
pig repo reloadto updaterepo.yml - fix EL PGDG sysupdate aarch64 repo issue (now aarch64 repo ready)
- fix EL10.aarch64 PGDG repo issue (rhel-10-aarch64 to rhel-10.0-aarch64)
- update extension version and meta data
- bump Pigsty version to 3.7.0
Checksums
v0.7.2
- Extension list update, + 6 new extensions, 437 total
- Add PGDG EL10 Sysupdate repo
- Add LLVM APT repo
- use local extension.csv catalog in pig build sub command
- update: vchord pg_later pgvectorscale pglite_fusion pgx_ulid pg_search citus timescaledb pg_profile pg_stat_monitor documentdb
- new: pglinter pg_typeid pg_enigma pg_retry pg_biscuit pg_weighted_statistics
Checksums
v0.7.1
- The brand-new website: https://pgext.cloud
- remove unnecessary sudo usage, now can be used inside docker
- allow using
pg18,pg17arg format in pig ext link command - add environment var
PIG_NO_SUDOto force not using sudo - RPM Changelog: Add PG 18 support to almost all extensions
- DEB Changelog: Add PG 18 support to almost all extensions
- Infra Changelog: Routine update to the latest version
Checksums
v0.7.0
- Bump tons of extension to the latest version, with pg 18 support.
- Most rust extension are bump to the latest pgrx 0.16.1
pig buildoverhaulpig build pkg <pkg>will download source, prepare deps, and build rpm/debpig build pgrxis separated frompig build rustwith its own subcommandpig build pgrx [-v pgrx_version]now can scan existing pg and init with thempig build depwill now process EL rpm spec dependencies directlypig build extwill now build EL rpm spec directly without thebuildscriptpig build specnow support downloading spec files directly from pigsty repopig build repo/pig repo add/pig repo setwill now usingnode,pgsql,infraas default repo modules instead of previousnode,pgdg,pigsty
- Optimized error logging
- Reworked catalog website based on hugo and hextra
Checksums
v0.6.2
- Use official PG 18 repo instead of testing repo
- Add
vprefix when specify pigsty version string - Improved network connectivity check
Checksums
v0.6.1
- Add el10 and debian 13 trixie support stub
- Dedicate website: https://pgext.cloud/pig
- rebuild with go 1.25 and CI/CD pipeline
- Use the PIGSTY mirror in mainland china due to pgdg ftp rsync mirror break
- Remove unused
pgdg-el10fixrepo - Use pigsty mirror for WiltonDB
- Add EL 10 dedicate epel repo (with minor suffix)
- pig version output with go build environment
v0.6.0
- New extension catalog: https://pgext.cloud
- New subcommand:
pig installto simplifypig ext install - Add new kernel support: percona with pg_tde
- Add new package: Google GenAI MCP toolbox for databases
- Add new repo: percona repo and clickhouse repo
- Change extension summary info links to https://pgext.cloud
- fix orioledb broken on the Debian/Ubuntu system
- fix epel repo on EL distributions
- Bump golang to 1.24.5
- Bump pigsty to v3.6.0
Checksums
v0.5.0
- Update the extension list to 422
- New extension: pgactive from AWS
- bump timescaledb to 2.20.3
- bump citus to 13.1.0
- bump vchord to 0.4.3
- bug fix pgvectorscale debian/ubuntu pg17 failure
- bump kubernetes repo to 1.33
- bump default pigsty version to 3.5.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.5.0
v0.4.2
- Update the extension list to 421
- Add openhalo/orioledb support for Debian / Ubuntu
- pgdd 0.6.0 (pgrx 0.14.1)
- convert 0.0.4 (pgrx 0.14.1)
- pg_idkit 0.3.0 (pgrx 0.14.1)
- pg_tokenizer.rs 0.1.0 (pgrx 0.13.1)
- pg_render 0.1.2 (pgrx 0.12.8)
- pgx_ulid 0.2.0 (pgrx 0.12.7)
- pg_ivm 1.11.0 for debian/ubuntu
- orioledb 1.4.0 beta11
- Add el7 repo back
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.4.2
v0.4.1
- Update the extension list to 414
- add
citus_wal2jsonandcitus_pgoutputtopig ext scanmapping - Add PG 18 beta repo
- Add PG 18 package alias
Extension Package Updates
- omnigres 20250507
- citus 12.0.3
- timescaledb 2.19.3
- supautils 2.9.1
- pg_envvar 1.0.1
- pgcollection 1.0.0
- aggs_for_vecs 1.4.0
- pg_tracing 0.1.3
- pgmq 1.5.1
- tzf-pg 0.2.0 (pgrx 0.14.1)
- pg_search 0.15.18 (pgrx 0.14.1)
- anon 2.1.1 (pgrx 0.14.1)
- pg_parquet 0.4.0 (0.14.1)
- pg_cardano 1.0.5 (pgrx 0.12) -> 0.14.1
- pglite_fusion 0.0.5 (pgrx 0.12.8) -> 14.1
- vchord_bm25 0.2.1 (pgrx 0.13.1)
- vchord 0.3.0 (pgrx 0.13.1)
- pg_vectorize 0.22.1 (pgrx 0.13.1)
- wrappers 0.4.6 (pgrx 0.12.9)
- timescaledb-toolkit 1.21.0 (0.12.9)
- pgvectorscale 0.7.1 (pgrx 0.12.9)
- pg_session_jwt 0.3.1 (pgrx 0.12.6) -> 0.12.9
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.4.1
v0.4.0
- Updated extension list, available extensions reached 407
- Added
pig dosubcommand for executing Pigsty playbook tasks - Added
pig ptsubcommand for wrapping Patroni command-line tools - Added extension aliases:
openhaloandorioledb - Added
gitlab-ce/gitlab-eerepository distinction - Built with the latest Go 1.24.2 and upgraded dependency versions
- Fixed
pig ext statuspanic issue under specific conditions - Fixed
pig ext scanunable to match several extensions
Extension Package Updates
- Updated pg_search to 0.15.13
- Updated citus to 13.0.3
- Updated timescaledb to 2.19.1
- Updated pgcollection RPM to 1.0.0
- Updated pg_vectorize RPM to 0.22.1
- Updated pglite_fusion RPM to 0.0.4
- Updated aggs_for_vecs RPM to 1.4.0
- Updated pg_tracing RPM to 0.1.3
- Updated pgmq RPM to 1.5.1
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.4.0
v0.3.4
- routine extension metadata update
- use aliyun epel mirror instead of broken tsinghua tuna mirror
- bump pigsty version string
- add
gitlabrepo to the repo list
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.3.4
v0.3.3
- add
pig build depcommand to install extension build dependencies - update default repo list
- use pigsty.io mirror for
mssqlmodule (wiltondb/babelfish) - merge docker module into
infra - remove pg16/17 from el7 target
- allow installing extensions in el7
- update package alias
pgsql,pgsql-main,pgsql-core,pgsql-mini,pgsql-fullivorysqlnow maps toivorysql4timescaledb-utilspgbackrest_exporter- remove
pgsql-simple - Pulls #13 Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
- Bump polardb to 15.12.3.0-e1e6d85b
pig repo setnow will auto update the meta-cache- clean up embedded pigsty tarball
What’s Changed
- Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 by @dependabot in https://github.com/pgsty/pig/pull/13
New Contributors
- @dependabot made their first contribution in https://github.com/pgsty/pig/pull/13
Full Changelog: https://github.com/pgsty/pig/compare/v0.3.2...v0.3.3
Release: https://github.com/pgsty/pig/releases/tag/v0.3.3
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.3.3
v0.3.2
Enhancement
- new extensions
- use
upxto reduce binary size - remove embeded pigsty to reudce binary size
- allow specifiy
-yto force re-install rust inpig build rust - allow specifiy
-vto specifiypgrxversion to be installed
New Extensions
List of 405 PG extensions:
- apache age 13 - 17 el rpm (1.5.0)
- pgspider_ext 1.3.0 (new extension)
- timescaledb 2.18.2 -> 2.19.0
- citus 13.0.1 -> 13.0.2
- documentdb 1.101-0 -> 1.102-0
- pg_analytics: 0.3.4 -> 0.3.7
- pg_search: 0.15.2 -> 0.15.8
- pg_ivm 1.9 -> 1.10
- emaj 4.4.0 -> 4.6.0
- pgsql_tweaks 0.10.0 -> 0.11.0
- pgvectorscale 0.4.0 -> 0.6.0 (pgrx 0.12.5)
- pg_session_jwt 0.1.2 -> 0.2.0 (pgrx 0.12.6)
- wrappers 0.4.4 -> 0.4.5 (pgrx 0.12.9)
- pg_parquet 0.2.0 -> 0.3.1 (pgrx 0.13.1)
- vchord 0.2.1 -> 0.2.2 (pgrx 0.13.1)
- pg_tle 1.2.0 -> 1.5.0
- supautils 2.5.0 -> 2.6.0
- sslutils 1.3 -> 1.4
- pg_profile 4.7 -> 4.8
- pg_snakeoil 1.3 -> 1.4
- pg_jsonschema 0.3.2 -> 0.3.3
- pg_incremental: 1.1.1 -> 1.2.0
- pg_stat_monitor 2.1.0 -> 2.1.1
- fix ddl_historization ver 0.7 -> 0.0.7
- fix pg_sqlog 3.1.7 -> 1.6
- fix pg_random remove dev suffix
- asn1oid 1.5 -> 1.6
- table_log 0.6.1 -> 0.6.4
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.3.2
v0.3.1
Routine bugfix
- fix repo format string
- fix ext info links
- update pg_mooncake metadata
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.3.1
v0.3.0
The pig project now has a new homepage, alone with the PostgreSQL Extension Catalog.
You can install PostgreSQL Kernels along with & 404 extensions with a simple command. Besides, pig v0.3 is also embedded & shipped with the latest Pigsty v3.3.0.
New Features
pig build subcommand with the ability to set up extension building environment
And other utils such as building proxy:
And pig 0.3.0 is shipped with Pigsty 3.3.0
New Extensions
The pgext.cloud catalog is moving to https://pgext.cloud with more information!
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.3.0
v0.2.2
404 Extensions Available in Pig v0.2.2
- documentdb 0.101-0
- pgcollection (new) 0.9.1
- pg_bzip (new) 1.0.0
- pg_net 0.14.0 (some distro)
- pg_curl 2.4.2
- vault 0.3.1 (SQL -> C)
- table_version 1.10.3 -> 1.11.0
- pg_duration 1.0.2
- timescaledb 2.18.2
- pg_analytics 0.3.4
- pg_search 0.15.2
- pg_graphql 1.5.11
- vchord 0.1.1 -> 0.2.1 ((+13))
- vchord_bm25 0.1.0 -> 0.1.1
- pg_mooncake 0.1.1 -> 0.1.2
- pg_duckdb 0.2.0 -> 0.3.1
- pgddl 0.29
- pgsql_tweaks 0.11.0
Release: https://github.com/pgsty/pig/releases/tag/v0.2.2
v0.2.0
Install the latest pig version with:
New Extensions
- pg_documentdb_core, and ferretdb
- VectorChord-bm25 (vchord_bm25) 0.1.0
- pg_tracing 0.1.2
- pg_curl 2.4
- pgxicor 0.1.0
- pgsparql 1.0
- pgjq 0.1.0
- hashtypes 0.1.5
- db_migrator 1.0.0
- pg_cooldown 0.1
Update Extension Version
- citus 13.0.0 -> 13.0.1
- pg_mooncake 0.1.0 -> 0.1.1
- timescaledb 2.17.2 -> 2.18.1
- supautils 2.5.0 -> 2.6.0
- VectorChord 0.1.0 -> 0.2.0
- pg_bulkload 3.1.22 (+pg17)
- pg_store_plan 1.8 (+pg17)
- pg_search 0.14 -> 0.15.1
- pg_analytics 0.3.0 -> 0.3.2
- pgroonga 3.2.5 -> 4.0.0
- zhparser 2.2 -> 2.3
- pg_vectorize 0.20.0 -> 0.21.1
Release: https://github.com/pgsty/pig/releases/tag/v0.2.0
v0.1.4
Install the latest pig version with:
New Extensions
- pg_documentdb_core, and ferretdb
- VectorChord-bm25 (vchord_bm25) 0.1.0
- pg_tracing 0.1.2
- pg_curl 2.4
- pgxicor 0.1.0
- pgsparql 1.0
- pgjq 0.1.0
- hashtypes 0.1.5
- db_migrator 1.0.0
- pg_cooldown 0.1
Update Extension Version
- citus 13.0.0 -> 13.0.1
- pg_mooncake 0.1.0 -> 0.1.1
- timescaledb 2.17.2 -> 2.18.1
- supautils 2.5.0 -> 2.6.0
- VectorChord 0.1.0 -> 0.2.0
- pg_bulkload 3.1.22 (+pg17)
- pg_store_plan 1.8 (+pg17)
- pg_search 0.14 -> 0.15.1
- pg_analytics 0.3.0 -> 0.3.2
- pgroonga 3.2.5 -> 4.0.0
- zhparser 2.2 -> 2.3
- pg_vectorize 0.20.0 -> 0.21.1
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.1.4
v0.1.3
v0.1.3, routine update, with 390 extensions available now!
- New Extension(s):
Omnigres33 extensions, postgres as platform - New Extension:
pg_mooncake: duckdb in postgres - New Extensions:
pg_xxhash - New Extension:
timescaledb_toolkit - New Extension:
pg_xenophile - New Extension:
pg_drop_events - New Extension:
pg_incremental - Bump
citusto 13.0.0 with PostgreSQL 17 support. - Bump
pgmlto 2.10.0 - Bump
pg_extra_timeto 2.0.0 - Bump
pg_vectorizeto 0.20.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.1.3
v0.1.2
351 PostgreSQL Extensions, including the powerful postgresql-anonymizer 2.0
Now you can install pig with:
Add New Extension
- add pg_anon 2.0.0
- add omnisketch 1.0.2
- add ddsketch 1.0.1
- add pg_duration 1.0.1
- add ddl_historization 0.0.7
- add data_historization 1.1.0
- add schedoc 0.0.1
- add floatfile 1.3.1
- add pg_upless 0.0.3
- add pg_task 1.0.0
- add pg_readme 0.7.0
- add vasco 0.1.0
- add pg_xxhash 0.0.1
Update Extension
- lower_quantile 1.0.3
- quantile 1.1.8
- sequential_uuids 1.0.3
- pgmq 1.5.0 (subdir)
- floatvec 1.1.1
- pg_parquet 0.2.0
- wrappers 0.4.4
- pg_later 0.3.0
- topn fix for deb.arm64
- add age 17 on debian
- powa + pg17, 5.0.1
- h3 + pg17
- ogr_fdw + pg17
- age + pg17 1.5 on debian
- pgtap + pg17 1.3.3
- repmgr
- topn + pg17
- pg_partman 5.2.4
- credcheck 3.0
- ogr_fdw 1.1.5
- ddlx 0.29
- postgis 3.5.1
- tdigest 1.4.3
- pg_repack 1.5.2
Release: https://github.com/pgsty/pig/releases/tag/v0.1.2
v0.1.0
The pig CLI v0.1 is out, with the following new features:
Install Script
Extension Management
You can download the extension and its dependencies with import subcommand, activate different postgres major versions with link, and prepare building env with build subcommand
Repo Management
You can now create a local repo and create a tarball (offline package) from it, copy it to somewhere (e.g., without internet access), and create a repo from that offline package:
Pigsty Management
The pig can also be used as a CLI tool for Pigsty — the battery-include free PostgreSQL RDS
Self-Updating
To update pig itself to the latest version, you can use the following command:
Info
Now pig info provides more details about your OS & PG environment:
Enjoy PostgreSQL!
What’s Changed
- fix typos by @kianmeng in https://github.com/pgsty/pig/pull/4
New Contributors
- @kianmeng made their first contribution in https://github.com/pgsty/pig/pull/4
Full Changelog: https://github.com/pgsty/pig/compare/v0.0.1...v0.1.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.1.0
v0.0.1
Get Started
Installthe pig package first, you can also install via command:
Then it’s ready to use, assume you want to install the pg_duckdb extension:
That’s it! All sets! you can check with the pig ext status sub command:
Check the advanced usage for details and list 340 available extensions.
Installation
The pig util is a standalone go binary with no dependencies. you can just download the binary or use the following commands to add the repo and install it via package manager (recommended).
For Ubuntu 22.04 / 24.04 & Debian 12 or any compatible platforms:
For EL 8/9 and compatible platforms:
For mainland china user: consider replace the
repo.pigsty.iowithrepo.pigsty.cc
Compatibility
pig runs on: RHEL 8/9, Ubuntu 22.04/24.04, and Debian 12, on both amd64/arm64 arch
| Code | Distribution | x86_64 |
aarch64 |
|---|---|---|---|
| el9 | RHEL 9 / Rocky9 / Alma9 / … | PG 17 - 13 | PG 17 - 13 |
| el8 | RHEL 8 / Rocky8 / Alma8 / … | PG 17 - 13 | PG 17 - 13 |
| u24 | Ubuntu 24.04 (noble) |
PG 17 - 13 | PG 17 - 13 |
| u22 | Ubuntu 22.04 (jammy) |
PG 17 - 13 | PG 17 - 13 |
| d12 | Debian 12 (bookworm) |
PG 17 - 13 | PG 17 - 13 |
Here are some bad cases and limitations for the above distros:
citusis not available onaarch64and ubuntu 24.04pljavais missing onel8jdbc_fdwis missing onel8.aarch64andel9.aarch64plluais missing onel8.aarch64for pg 13,14,15topnis missing onel8.aarch64andel9.aarch64for pg13, and alldeb.aarch64pg_partmanandtimeseriesis missing onu24for pg13wiltondbis missing ond12
Release: https://github.com/pgsty/pig/releases/tag/v0.0.1
