Release
The latest stable version is v1.10.0.
| Version | Date | Summary | GitHub |
|---|---|---|---|
| v1.10.0 | 2026-10-17 | 603 catalog entries, PostgreSQL target and recovery safety, faithful Inventory, automation fixes | v1.10.0 |
| v1.9.0 | 2026-10-06 | 600 catalog entries, Xray roles, repository keys, pgrx 0.19.3 | v1.9.0 |
| v1.8.1 | 2026-09-03 | CLI/repository safety, debug packages by default, pgrx 0.19.2 | v1.8.1 |
| 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 | 2026-08-11 | 572 extensions, Grafana schema v2, SOW-first repository generation | v1.6.2 |
| v1.6.1 | 2026-07-30 | Catalog refresh and embedded Pigsty 4.5.0 | v1.6.1 |
| v1.6.0 | 2026-07-28 | 562 packaged extensions, patronictl passthrough, inventory & CMDB, Grafana | v1.6.0 |
| v1.5.1 | 2026-07-08 | PG kernel fork updates, mirror mode, bug fixes | v1.5.1 |
| v1.5.0 | 2026-07-04 | 531 extensions, pigsty v4.4, pg/pt/pb/pitr rework, clone & fork | v1.5.0 |
| v1.4.2 | 2026-06-18 | 524 extensions, PG19 beta, pgrx 0.18.1, Patroni fixes | v1.4.2 |
| v1.4.1 | 2026-05-01 | 510 extensions, Ubuntu 26.04 support, repo calibration | v1.4.1 |
| v1.4.0 | 2026-04-19 | 510 extensions, pgrx 0.18.0, more building specs | v1.4.0 |
| v1.3.4 | 2026-04-14 | 504 extensions refreshed, release checksums updated | v1.3.4 |
| v1.3.3 | 2026-04-10 | 481 extensions and Go 1.26.2 update | v1.3.3 |
| v1.3.2 | 2026-03-23 | Routine metadata refresh, new pg tune, new build aliases | v1.3.2 |
| v1.3.1 | 2026-03-05 | Retire PG13 defaults, unify PG14-18 support window, 464 extensions | v1.3.1 |
| v1.3.0 | 2026-02-27 | Build pipeline hardening, 461 extensions, new pgedge/ivory support | v1.3.0 |
| v1.2.0 | 2026-02-23 | Unified aliases, routine updates, plan mode, repo fixes | v1.2.0 |
| v1.1.1 | 2026-02-14 | Path, symlink, and build migration fixes | v1.1.1 |
| v1.1.0 | 2026-02-12 | 451 extensions, Agent-Native CLI framework | v1.1.0 |
| v1.0.0 | 2026-01-26 | New pg/pt/pb/pitr commands, availability matrix | v1.0.0 |
| v0.9.0 | 2025-12-28 | Rename sty deploy and expand sty conf options | v0.9.0 |
| v0.8.1 | 2025-12-27 | Restore llvmjit to the pgsql-full alias | v0.8.1 |
| v0.8.0 | 2025-12-26 | 440 extensions, remove sysupdate repo | v0.8.0 |
| v0.7.5 | 2025-12-12 | Routine extension update, fixed aliyun mirror | v0.7.5 |
| v0.7.4 | 2025-12-01 | Update ivory/pgtde kernel and 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 | minor 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 |
v1.10.0
Pig v1.10.0 strengthens the correctness and safety of existing commands. It verifies PostgreSQL
targets before operations, preserves Inventory sources and YAML types, and makes repository,
extension, and automation results match the work actually performed. The bundled catalog grows
from 600 to 603 records. Embedded Pigsty remains 4.5.0; the default cargo-pgrx remains 0.19.3.
PostgreSQL targets and maintenance
- An explicit
-Dbindspsql,ps,kill,vacuum,analyze,freeze, andrepackto the selected instance, including--alldatabase enumeration. PIG validates the PID, data directory, port, socket, and process identity before starting the SQL client. Invalid, stale, copied, or uncertain runtime metadata causes failure instead of a fallback to another instance. - Without
-D, those SQL commands retain native client connection defaults.pg cloneandpg forkretain their own port options. Promotion timeline checks use the selected instance or its control data; an unresolved timeline is left unknown. - Plans and confirmation retry commands preserve the selected data directory, PostgreSQL version,
operating-system user, and maintenance options.
VACUUM FULLplans correctly require confirmation. - Maintenance operands are literal database names. Values containing
=or beginning withpostgres://orpostgresql://are rejected before planning or execution, without echoing the value. Spaces and non-ASCII names remain supported. Generated commands put names after--, so a database named--allcannot become a command option. vacuum,analyze, andfreeze --allvalidate the complete database list before maintenance begins. Use native clients when a connection string or a database name rejected by this boundary is required.
See pig pg for target selection and
maintenance commands for database-name rules.
Runtime state, recovery, and fork safety
- Permission failures, malformed PID metadata, and unavailable process identity are reported as
errors or unknown state. They cannot authorize forced initialization, restore, or fork replacement.
pg statusreturns130201(exit3) for permission failures and130808(exit1) for other runtime-probe failures. Plans report an unresolved precondition asunknown. - Declining PITR confirmation or reaching EOF returns
161001(exit7) before any service stop, restore, or startup. An unknown state cannot supply a PID for forced termination or count as successful startup. Post-restore SQL checks require a verified target. - Replacing a nonempty unmanaged fork requires valid ownership metadata with a matching explicit target path. Missing, damaged, or mismatched metadata cannot authorize deletion. Existing protections for running targets and source/destination relationships remain in force.
- Clone and fork path checks run as the selected database operating-system user when needed,
supporting private
0700data directories. An inaccessible or unresolved path cannot bypass validation. Managed orphan cleanup remains available through the managed fork name. - Files written as the database user use private sibling staging and exact-target replacement.
The new file has
0600permissions; directory or symlink targets are refused, and replacement does not overwrite the contents of another hard link to the old file.
The PITR reference explains the managed recovery workflow;
pig pb restore remains a separate restore primitive.
Inventory and Pigsty
sty deployanddopass the resolved Inventory path explicitly to Ansible. Flag and environment paths resolve from the caller’s working directory; quoted~/paths expand before resolution. A selected missing or invalid source does not silently fall back to another inventory.pg_users[].rolespreserves both role-name strings and structured grants, including grant state and optionaladmin,set, andinheritattributes.- Editing, serialization, and CMDB export retain strings that YAML consumers might otherwise interpret as numbers, dates, or timestamps. Existing timestamp scalars retain their original source representation. Independent PyYAML checks verify the emitted string types.
sty conf --proxyaccepts uppercase and lowercase HTTP, HTTPS, ALL, and NO proxy variables. Missing HTTP and HTTPS values both fall back to ALL_PROXY. Version completion observes dotted version boundaries, so a request for1.1cannot select1.10.
See Inventory source selection and pig sty.
Repositories and extensions
- Repository commands validate the complete operand list before changing files. Empty values,
empty comma-separated elements, and unsafe repository names fail before mutation.
Only truly argument-free
repo rmbacks up all repository files;repo rm allexpands thenode,pgsql, andinframodules. Removal results preserve the original request and distinguish missing targets from removed files.--updatealso refreshes the cache after a full backup. - Repository creation retains documentation RPMs. Debug package suppression continues to use
--nodbg; a-docsor-docname alone does not make a package a debug package. - Default extension lists, availability summaries, and refresh results count all catalog records,
including SQL utilities and retained lifecycle entries. The total describes catalog coverage,
not how many extensions can be installed on one host or enabled with
CREATE EXTENSION. - Text, JSON, and YAML share availability rules. On covered Linux platforms, package matrices take
precedence and a missing matrix cell means unavailable. Architecture aliases are normalized.
On macOS, the status describes declared PostgreSQL support without promising an RPM/DEB package.
ext list -vselects the version used to evaluate status; unavailable records remain listed. ext importreports failure if any requested package cannot be resolved or downloaded, while retaining successful downloads and reporting the completed and failed portions. APT virtual dependency markers are excluded from package download requests. Installed-library scanning also recognizes catalog entries without a control file.- The three new catalog records are
pg_icu_parser,pg_vectorsearch, andtextsearch_intl. Existing versions and platform metadata are refreshed as well. Usepig ext avail NAMEto inspect a target before installing.
Builds and automation
- Multi-version build dependency installation expands package names for every selected PostgreSQL major version and removes duplicates. Default build targets retain their metadata and local installation rules independently of package-matrix gaps.
- Debian/Ubuntu builds preserve the inherited
PATHorder and append the current user’s~/.cargo/binwhen present, preserving an explicitly selected toolchain. - Xray setup recognizes complete legacy service definitions, including marker-free macOS plists generated by the previous renderer. A comment alone cannot prove ownership; changed or foreign definitions still require explicit replacement. Matching reruns preserve a running service.
- JSON/YAML output and
PIG_NON_INTERACTIVE=1consistently disable prompt input and use non-interactive sudo in PIG-owned adapters. Explicit data-input channels remain available; native Patronictl forwarding retains its interaction and exit contract. - CMDB connection strings, legacy VMess credentials, and license keys are excluded from routine parameters and failure details. Explicit credential export and raw Inventory display retain their documented sensitive-output behavior.
- Exporter HTTP 4xx/5xx responses now fail with the numeric status and standard description,
without including response bodies or custom status text. Unsupported
pig updateplatforms fail explicitly. Command help and bilingual references are aligned with these behaviors. - Go dependencies and validation tools are refreshed. CI includes Linux permission and instance boundary acceptance plus independent YAML consumer checks.
See pig build, pig pe, and global command behavior.
Upgrade notes
Existing command names and flags remain available. Automation should handle the corrected failure
statuses for partial imports, HTTP errors, cancelled recovery, and indeterminate PostgreSQL state.
Scripts must supply valid repository operands, explicit confirmation where required, and literal
maintenance database names. When a name begins with -, place all options before -- and the name.
Upgrade with the installation instructions.
Release artifacts: v1.10.0
v1.9.0
Pig v1.9.0 adds one-command Xray client/server setup, automatic Pigsty repository-key
preparation, and a refreshed 600-entry extension catalog. The default cargo-pgrx
version is now 0.19.3; the embedded Pigsty version remains 4.5.0.
Xray clients and servers
pig build proxyinstalls or verifies Xray.pig build proxy clientconfigures a VLESS/REALITY/Vision HTTP/SOCKS client;pig build proxy serverconfigures a Linux server. Linux uses systemd; the macOS client uses a dedicated user LaunchAgent.- Client input accepts a standard VLESS URI,
--from FILE/-, or explicit connection flags. The first client listener is127.0.0.1:12345; the first direct server listener is0.0.0.0:443. Repeated setup preserves existing listeners and server credentials. - Matching configuration, ownership, permissions, and service state avoid rewrites and
restarts. Failed client connectivity checks restore prior managed files and service state.
Replacing a different client requires
--replace --yes;--planpreviews either role. server --export-only --host HOST --export -exports an existing connection without changing the deployment. File exports use mode0600; explicit stdout export requires text output. Ordinary results and plans omit credentials. The historical VMess positional form remains available through V2Ray.
Run the server command on the server, then transfer client.uri securely to the client and run
the client command there. See pig build for prerequisites and macOS setup.
Repository keys
repo add,repo set, andsty bootprepare the embedded Pigsty public key when selected repositories need it. Existing regular key files are reused; missing defaults are installed offline at/etc/pki/rpm-gpg/RPM-GPG-KEY-pigstyor/etc/apt/keyrings/pigsty.asc.- Implicit default-key failure emits a warning and falls back only for selected Pigsty
definitions. Default key references remain stable, including APT
signed-by. - Explicit signing-key references are mandatory: invalid or unavailable keys fail before
repository replacement or cache refresh. EL imports explicit references with
rpm --import. Selecting unrelated repositories does not prepare the Pigsty key.
See pig repo for signature-enforcement
defaults and the distinction between key preparation and metadata refresh.
Catalog and build defaults
- The embedded catalog contains 600 entries, adding 22 entries to the v1.8.1 snapshot.
New entries include
edtf_postgres,plphp,pg_lexo,pg_money,istore,colnames,pg_statkit,pgtelemetry,pg_rusage,pgexporter_ext,pg_statvfs, andlibx509pq. Package versions and platform-availability metadata are refreshed as well. - The catalog total includes retained lifecycle records. Installability depends on each
extension’s state and OS/architecture/PostgreSQL matrix. Use
pig ext avail NAMEto check a target. pig build pgrxdefaults tocargo-pgrx 0.19.3. An explicit-vand extension-specific catalog metadata continue to select another required version.- Platform debug packages remain enabled by default, as in v1.8.1. Use
--nodbgfor RPMdebuginfo/debugsourceand DEBdbgsymsuppression;-s|--symbolis a deprecated no-op.
Compatibility
No existing command or flag is removed. New Xray role commands use VLESS/REALITY/Vision; existing positional VMess commands retain their V2Ray behavior. Server setup checks the local listener and service. Configure the firewall, cloud security group, and any Nginx frontend for the chosen public port, then verify the connection from the client.
Release artifacts: v1.9.0
Verification
The verified v1.9.0 tag points to
9eb5488. The exact commit passed
full CI, including randomized tests,
command race regressions, vet, static analysis, vulnerability scanning, and a release snapshot.
The Release workflow produced eight
Linux/macOS archives and RPM/DEB packages. Published downloads were verified against SHA-256.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.9.0-1.aarch64.rpm Linuxarm64SHA-256 | d0d80bd2…180f | |
| pig-1.9.0-1.x86_64.rpm Linuxamd64SHA-256 | e3b25640…6a7c | |
| pig-v1.9.0.darwin-amd64.tar.gz macOSamd64SHA-256 | d7eb266e…cab9 | |
| pig-v1.9.0.darwin-arm64.tar.gz macOSarm64SHA-256 | 09628457…8824 | |
| pig-v1.9.0.linux-amd64.tar.gz Linuxamd64SHA-256 | a4b5ffca…afd2 | |
| pig-v1.9.0.linux-arm64.tar.gz Linuxarm64SHA-256 | ddfa80fb…8def | |
| pig_1.9.0-1_amd64.deb Linuxamd64SHA-256 | 3d955a24…d93a | |
| pig_1.9.0-1_arm64.deb Linuxarm64SHA-256 | c175b375…1471 |
v1.8.1
Pig v1.8.1 is a safety, correctness, and maintenance release on top of
v1.8.0. It hardens command initialization, privileged log access,
repository and build workflows, release integrity, and structured-output redaction. It also
refreshes the embedded extension catalog and moves the build toolchain to Go 1.27.1 and
cargo-pgrx 0.19.2. The embedded Pigsty version remains 4.5.0.
CLI safety and correctness
- Read-only and configuration-independent commands no longer require a writable
HOMEor create~/.pigas a side effect. Leaf commands preserve their declared initialization policy. pig pg log,pig pt log, andpig pb logpreserve arguments through sudo execution as the database OS user and reject unsafe log-file links.pig dovalidates Pigsty names and rejects reserved Ansible cluster targets before execution.- Native PostgreSQL role detection is bound to the selected instance rather than an unrelated local default.
- Structured results redact credentials, license material, and build-proxy identifiers while retaining truthful command failure.
Repository and build hardening
- Repository add and remove operations now fail when any requested operation fails, deduplicate module selections, and preserve replacement boundaries.
- Offline cache bundles reject unsafe paths, links, special files, and incomplete inputs; archive extraction remains rooted and fail-closed. The obsolete exported cache wrapper was removed after production moved to the structured result path.
- Build source and artifact validation rejects incomplete or unsafe inputs.
pig build proxyuses the package-provided service contract, treats its operands as optional, and keeps secret identifiers out of structured output. - Self-update verifies release checksums, and release tooling refuses dirty or mismatched-tag publication and immutable artifact replacement.
Toolchain and catalog
pig build extandpig build pkgkeep platform debug packages enabled by default; use--nodbgto omit them.-s|--symbolremains a deprecated compatibility no-op.Go is updated to
1.27.1; Logrus to1.10.2; GoReleaser to2.18.0; and golangci-lint to2.13.2.pig build pgrxnow installscargo-pgrx 0.19.2by default. Use-vwhen an extension requires an older pgrx line recorded in its catalog metadata.The embedded catalog is refreshed from the maintained pgext view. It adds
acdat 0.1.0, marks the supersededpgcontext_pgvectorentry removed, and updates package versions, repository ownership, PostgreSQL coverage, and availability matrices.
Verification
The release is built from source commit
1c6f524.
The exact commit passed the full CI workflow,
including randomized tests, command race regressions, vet, static analysis, dead-code detection,
vulnerability scanning, and a GoReleaser snapshot. The tag then passed the
Release workflow, which produced the
published RPM, DEB, macOS, and Linux artifacts.
Compatibility notes
- No CLI command or flag is removed in this release.
- Scripts that previously depended on read-only commands creating local configuration should create that state explicitly instead.
- The pgrx default changes to
0.19.2; extension-specific metadata remains authoritative when a build requires another pgrx version.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.8.1-1.aarch64.rpm Linuxarm64SHA-256 | 4154b3e4…23cf | |
| pig-1.8.1-1.x86_64.rpm Linuxamd64SHA-256 | 35c398f4…869d | |
| pig-v1.8.1.darwin-amd64.tar.gz macOSamd64SHA-256 | 6c08b6a6…8455 | |
| pig-v1.8.1.darwin-arm64.tar.gz macOSarm64SHA-256 | 0fb6c86c…b868 | |
| pig-v1.8.1.linux-amd64.tar.gz Linuxamd64SHA-256 | 9219e874…bf2b | |
| pig-v1.8.1.linux-arm64.tar.gz Linuxarm64SHA-256 | b3092488…3078 | |
| pig_1.8.1-1_amd64.deb Linuxamd64SHA-256 | 6fc30450…618e | |
| pig_1.8.1-1_arm64.deb Linuxarm64SHA-256 | 1a70cd71…0051 |
Release artifacts: v1.8.1
v1.8.0
Pig v1.8.0 updates native controller workflows from v1.7.0. Go implementations of pig sty boot and pig sty conf replace wrappers for the legacy bootstrap and configure shell scripts. The packaged PostgreSQL extension count remains 575. The embedded Pigsty version remains 4.5.0.
Highlights
pig sty bootcan elevate once through sudo. It verifies Ansible and its actual Python runtime. It supports explicit local packages, HTTP(S) URLs, trusted automatic offline packages, committed local repositories, and regional online repositories. It backs up repository configuration before replacement and restores it on failure. It attempts to repair localhost SSH and a missing~/pigsty, but repair is not guaranteed.pig sty confgenerates inventory natively from safe templates. It supports up to ten IP mappings, exact domain replacement, region and proxy settings, PostgreSQL-version selection, and random credentials. It validates the complete candidate, then writes it atomically with mode0600.- Bootstrap download and extraction no longer require
curl,wget,tar, orgzip. Offline operation uses onlypigsty-localand requires the/www -> /data/nginxlayout. - EL8 and newer consistently prefer DNF. Local RPM requirements resolve by provider capability. This release updates extension metadata and availability matrices, and moves the toolchain to Go
1.26.6.
Compatibility Notes
pig sty bootno longer runs<PIGSTY_HOME>/bootstrap. Automation that relied on script side effects must use the native command.- Removed
pig sty conf --raw.--conf MODEand positionalMODEare equivalent.--ipaccepts up to ten addresses. You cannot combine it with--skip. - EL8 and newer use DNF. The limited EL7 compatibility catalog keeps its separate legacy YUM path.
Checksums
Artifacts: GitHub Release · checksums.txt
Release: https://github.com/pgsty/pig/releases/tag/v1.8.0
v1.7.0
Pig v1.7.0 updates repository compatibility and the catalog from v1.6.2. It makes China-mirror selection explicit and preserves native DNF module filtering by default. It restores a simplified EL7 repository catalog. The bundled extension snapshot grows from 572 to 575. The embedded Pigsty version remains 4.5.0.
Highlights
-m|--mirrordirectly selects the bundledchinarepository definitions. PGDG, Rocky Linux, Debian, Ubuntu, Docker, and other regional routes use the maintained mirror list. This replaces the former PGDG proxy rewrite at runtime.- EL repository definitions no longer receive
module_hotfixes=1globally. Pigsty and PGDG repositories explicitly enable it when they need to override module streams. BaseOS, AppStream, EPEL, and other repositories retain native DNF module filtering. - EL7 retains a limited compatibility catalog. It includes archived CentOS 7 Base/Updates/Extras/SCLo and EPEL definitions for
x86_64, plus shared Pigsty and supported PGDG entries. EL7 YUM rendering removes the DNF-onlymodule_hotfixeskey. - If the catalog has no matching definitions, repository setup reports an unsupported platform. It no longer continues with an empty repository set.
Extension Catalog
- Packaged extensions: 572 -> 575, with no removals.
- Add
pg_local_cache 1.2.0,pg_statviz 0.1.0, andpg_policy 0.1.0. - Refresh
biscuit 3.0.0,pg_clickhouse 0.10.0,pg_search 0.25.2,pg_turbovecpackages1.29.0,pg_uuid_v8 1.1.0, and the Debianq3c 2.0.5package.
Compatibility Notes
- No commands or global flags are removed in this release.
-m|--mirrornow explicitly selects the China region. It no longer rewrites the PGDG proxy. For a specific route, use--region=default|china|europe.- Custom EL repository definitions must set
meta.module_hotfixes: 1explicitly to override module streams. Ordinary OS repositories omit this setting. EL7 removes it. - EL7 is end-of-life and has only limited compatibility coverage. Prefer EL8 or newer for current PostgreSQL and extension packages.
Checksums
Artifacts: GitHub Release · checksums.txt
Release: https://github.com/pgsty/pig/releases/tag/v1.7.0
v1.6.2
Pig v1.6.2 adds features and updates the catalog from v1.6.1. Packaged extensions increase from 562 to 572. This release adds native Grafana dashboard schema v2 support and improves local repository generation. The embedded Pigsty version remains 4.5.0.
Highlights
pig sty grafanaaccepts legacy dashboard JSON and nativedashboard.grafana.app/v2Dashboard resources. It loads v2 dashboards through the Grafana resource API to preserve tabs and section variables across loading and dumping. Dumps preserve an existing v2 destination. New dumps use the legacy format by default.- When SOW is available,
pig repo createpreferssow create --pigsty --timeout 10m -- <dir>. It requires arepo_completemarker that is a regular file. On Linux, it can fall back tocreaterepo_c/dpkg-scanpackages. - Local repository creation works on macOS through SOW. On macOS, it defaults to the current directory and does not require
sudo. The Linux default remains/www/pigsty. - Release metadata is bumped to
1.6.2; the embedded Pigsty version stays at4.5.0.
Extension Catalog
- Packaged extensions: 562 -> 572, with no removals.
- 10 new extensions:
pg_turbovec,pg_disorder,pg_mentat,plruby,jsonb_plruby,hstore_plruby,ltree_plruby,pg_describe,cat_tools, andpg_vault_tde. - 12 version refreshes:
timescaledb 2.29.1,q3c 2.0.5,pgmnemo 0.16.1,pg_search 0.25.1,citus 14.2.0,citus_columnar 14.2.0,provsql 1.12.0,plpgsql_check 2.10.4,pg_rational 0.0.3,pgbson 2.1.0,pg_readme 0.7.1, andpg_readme_test_extension 0.7.1. - Package metadata and availability matrices are refreshed. Run
pig ext reloadto replace the embedded release snapshot with the latest online catalog.
Compatibility Notes
- No commands or global flags are removed in this release.
- With SOW installed,
pig repo createprefers it over the legacy Linux generators. It checks for the completion marker before reporting success. - The catalog count does not guarantee package availability for every PostgreSQL / OS / architecture combination. Check the target host with
pig ext avail NAME.
Checksums
Artifacts: GitHub Release · checksums.txt
Release: https://github.com/pgsty/pig/releases/tag/v1.6.2
v1.6.1
Pig v1.6.1 is a maintenance release. It updates the bundled extension catalog and sets the embedded Pigsty version to 4.5.0. It adds no commands and changes no flags.
Highlights
- Regenerates the embedded
extension.csvfrom Pigsty package repositories. New installations use current package metadata without first runningpig ext reload. - Update the embedded Pigsty version reported by
pig styandpig statusfrom4.4.0to4.5.0. - Keep 562 packaged extensions across PostgreSQL 14-18, EL 8/9/10, Debian 12/13, and Ubuntu 22/24/26 on
x86_64andaarch64.
Checksums
Artifacts: Pigsty Mirror · checksums.txt
Release: https://github.com/pgsty/pig/releases/tag/v1.6.1
v1.6.0
Pig v1.6.0 is a major release. pig pt becomes a transparent patronictl launcher. The root-level pig inventory group adds lossless editing and validation of pigsty.yml, plus an experimental PostgreSQL CMDB bridge. pig sty grafana adds native Grafana dashboard management. The packaged extension catalog grows to 562.
Highlights
pig ptbecomes a nativepatronictllauncher. All cluster commands (list,restart,switchover,failover,edit-config, …) forward directly with native flags, prompts, output, and exit codes. New patronictl features therefore work without a new pig release. Local helpersstatus,log,set, andservice/svcremain. New options are-c/--config-file,-d/--dcs-url, and-k/--insecure. Usepig pt -- …to pass arguments directly.- Adds the root-level
pig inventorycommand group (aliasinv):status/list/show/edit/validate/check/diff. Its lossless YAML engine preserves comments, formatting, key order, and anchors byte-for-byte.editvalidates before writing, then writes atomically. Invalid YAML cannot reach disk. - Adds experimental
pig inventory cmdbsubcommands:check/init/load/dump/enable/disable. They exchange inventory with the PostgreSQL Pigsty CMDB through a native driver. They use bounded timeouts and confirmation tied to a digest for destructive operations. - Adds
pig sty grafana(aliasgf) for native Grafana dashboard management over HTTP. Its commands areinfo/list/boot/load/init/dump/clean/lang/style. Removessty edit/validate/check/cmdb/dashboard/releaseto simplifypig sty. Usepig inventory,pig sty grafana, andpig sty list/getinstead. - Reliability improvements: repository, catalog, and download writes are atomic, preventing truncated files after interruption. Structured
-o json|yamloutput keeps only the result envelope on stdout and sends wrapped-tool output to stderr. More specific exit codes distinguish usage errors (2) from missing--yesconfirmation (7). Ansible list variables use JSON encoding. - Repository updates: MySQL moves to 8.4 LTS, with new Percona XtraBackup (
pxb84) and MySQL Tools repositories. Kubernetes moves to v1.36. LLVM APT coverage extends to Debian/Ubuntu 26. Percona TDE uses repo.percona.com directly. Removes thewiltondbrepository. - Toolchain: Go 1.26.5, new native PostgreSQL driver (pgx v5), embedded Pigsty version
4.4.0.
Extension Catalog
- Packaged extensions: 531 -> 562; the broader PGEXT.CLOUD directory contains 2,230 entries.
- 33 new extensions, including the
pg_lakefamily (pg_lake,pg_lake_table,pg_lake_engine,pg_lake_iceberg,pg_lake_copy),pg_jieba,pg_cjk_parser,pg_fts,pgmonitor,pgmemento,pg_tiktoken_c,online_advisor,pgsqlmock, andplx. - 2 removed:
pg_analytics,spat; 58 version refreshes, includingvector 0.8.5,timescaledb 2.28.3,pg_search 0.24.3,pg_tde 2.2.1, andpowa 5.2.0. - Aligns package aliases with Pigsty. Renames
kafkatokafka-stack. The Debian/Ubuntupostgresqlalias maps only topostgresql-$v. For the full development set, usepgsql/pgsql-full.
Compatibility Notes
- ⚠
pig pt failover <name>now treats the positional argument as the cluster, not the promotion candidate. Usepig pt failover CLUSTER --candidate MEMBER. Review failover automation before upgrading. pig ptuses native cluster-first positional arguments (restart CLUSTER [MEMBER]). Forwarded commands return native patronictl exit codes and manage their own confirmation prompts.-yno longer controls those prompts. They no longer support-o json; use native--format json.pig pt set K=Vand nativeshow-config/edit-configreplacepig pt config.- In structured output mode, wrapped-tool output goes to stderr. Stdout contains only the JSON/YAML envelope. Update scripts that parsed mixed output.
pig inventory edittightens the inventory file mode to 0600 after a successful edit, since the file may contain credentials.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.6.0
v1.5.1
Pig v1.5.1 updates PG kernel forks to the latest package names.
Highlights
- Adds mirror/proxy mode to repository, build, sty, update, and extension update workflows.
pig build rust -malso configures Cargo mirrors throughrsproxy.cn. - Adds explicit PostgreSQL 19 beta build options:
pig build repo --beta,pig build tool --beta, andpig build pgrx -b. PostgreSQL 18 and PG14-18 remain the stable defaults. - Refresh kernel and fork package aliases for IvorySQL, PolarDB, OrioleDB, OpenHaloDB, Babelfish, and the pgEdge suite.
- Improve the Cloudberry package build flow for
cloudberry,cloudberry-backup, andcloudberry-pxf. - Refresh source/package metadata for Cloudberry, Babelfish, OrioleDB, pgEdge, PolarDB,
polarstore,zlog,libpgfeutils, andlibfq. - Improve repository generation for newer EL release strings, including PGDG on EL9.6+ / EL10+ and EPEL’s EL10
10zstream. - Refresh extension versions including
pg_ivm 1.15,spock 5.0.10,snowflake 2.5.0,pg_tde 2.2,decoderbufs 3.6.0, and IvorySQL5.4packages.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.5.1
v1.5.0
Pig v1.5.0 updates PostgreSQL operations for daily DBA work. It adds local database clone and fork workflows. It clarifies the roles of pg, pt, pb, and pitr. It also improves previews, confirmation, and structured output for high-risk operations.
Highlights
pig pgfocuses on local PostgreSQL operations.pig pg clonemakes quick database-level copies.pig pg forkcreates temporary physical instance forks for local validation, recovery drills, and isolated experiments.- Recovery commands have clearer roles.
pig pitrcoordinates Patroni, PostgreSQL, and pgBackRest.pig pb restoreremains the low-level pgBackRest restore command. Restore commands require an explicit target. They provide more specific plans and guidance for steps after recovery. - Patroni operations use more consistent behavior. High-risk actions such as
pig pt restart,reinit,switchover, andfailoveruse Pig-managed confirmation and plan output. When a restart is required,pig pt config pgdirects operators topig pt restart --pending. - Structured output no longer confirms destructive commands. High-risk execution requires explicit
-y/--yes.--planandnext_actionsprovide more consistent workflows to preview an operation before execution. - Improves logs and status output for incident response. The
pg,pb, andptlog commands support common latest / tail / show / grep workflows. Structured log snapshots use JSONL semantics. - Build and release defaults were refreshed: Pig is
1.5.0, embedded Pigsty is4.4.0, andpig build pgrxdefaults tocargo-pgrx 0.19.1.
Extension Catalog
- Available extensions: 524 -> 531, with no removals.
- New extensions:
pg_ducklake,pgdisablelogerror,pg_stat_log,pg_stat_plans,passwordpolicy,db2fce,plpgsql_wrap. - Refreshed a batch of existing extension versions and package metadata, including
timescaledb 2.28.2,postgis 3.6.4,vector 0.8.4,biscuit 2.4.1,citus 14.1.0,orioledb 1.8,documentdb 0.113,credcheck 5.0, andpgtt 4.5. orioledbaliases no longer pin to PG17. They resolve against the requested PostgreSQL major version. EL9 ARM64 Patroni aliases now select noarch packages.
Compatibility Notes
- For destructive operations in automation, use
-y/--yes. Structured output mode no longer replaces human confirmation. pig pb restoreandpig pitrrequire exactly one explicit recovery target. For automatic promotion, use--target-action=promote.- Removed ambiguity in several short options. For log commands,
-o jsonselects a JSONL snapshot. It does not apply to tail/follow streaming modes.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.5.0
v1.4.2
- Refresh the built-in extension catalog from 510 to 524 available extensions. This adds 14 extensions:
pg_stl,pgmnemo,psql_bm25s,pg_orca,pg_sorted_heap,graph,pgrdf,fsm_core,jsonschema,pg_durable,pg_mockable,pg_uuid_v8,pg_stat_backtrace, andpg_projection. - Update package metadata for 48 existing extensions, including
timescaledb 2.28.0,timescaledb_toolkit 1.23.0,pg_task 2.1.29,pg_search 0.24.0,pg_clickhouse 0.3.2,pg_graphql 1.6.1,documentdb 0.112,toastinfo 1.7,wrappers 0.6.1, andpgclone 4.3.2. No extensions were removed or demoted. - Add PostgreSQL 19 beta install/build/config support. PG19 is accepted as an explicit installable major, while PostgreSQL 18 remains the stable default for auto-detection, catalog display, and latest-version aliases.
- Add
pg19package aliases and PG19 category alias resolution. PG19 category aliases borrow the PostgreSQL 18 visibility template and limit beta package expansion to PGDG-origin entries. pig sty conf -v 19enables thebetarepository module if the template supports it. It warns if the template is not tuned for PG19 beta or cannot enable the beta repository automatically.- Fixes Patroni cluster operations by passing the resolved
CLUSTER_NAMEtopatronictl restart,reinit,switchover, andfailover.pig pt listalso accepts an optional cluster name. - Bump the default
pgrxversion forpig build pgrxfrom0.18.0to0.18.1. - Bump release metadata to
v1.4.2, refresh Go module checksums, and add focused tests for PG19 aliases/config generation plus Patroni cluster-scope behavior.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.4.2
v1.4.1
- 510 extensions, 3 new extensions, 20 updated.
- Ubuntu 26.04
resolutesupport, drop support for Ubuntu 20.04focal. - Bump
el9.aarch64ad hocpatronito4.1.2. - Bump pgEdge to PostgreSQL 18.
- Calibrate upstream repo definition.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.4.1
v1.4.0
- Refresh the extension catalog and increase the total available extensions to 510, with version bumps such as
timescaledb 2.26.3,decoderbufs 3.5.0,pgclone 4.0.0, andnominatim_fdw 1.3. - Bump the default
pgrxversion from0.17.0to0.18.0and align related Rust extension builds. - Updates authoritative source bundles for
pig build get. These include Cloudberry / OrioleDB build inputs and bundled artifacts for RDKit and OneSparse packages. - Fix
repo setflag isolation and correct schema maintenance SQL. - Bump
patronito4.1.1forel9.aarch64.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.4.0
v1.3.4
Increases total available extensions to 504.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.3.4
v1.3.3
- Refresh extension catalog and increase total available extensions to 481.
- Bump Go toolchain from
1.26.0to1.26.2.
Extension Updates
| Extension | Old | New | Notes |
|---|---|---|---|
timescaledb | 2.25.2 | 2.26.2 | available, PG15-18 |
pg_background | 1.8 | 1.9.2 | DEB only, PG14-18 |
pg_ivm | 1.13 | 1.14 | upgraded, PG14-18 |
system_stats | 3.2 | 4.0 | upgraded, PG14-18 |
nominatim_fdw | 1.1.0 | 1.2 | upgraded, PG14-18 |
pg_textsearch | 0.5.0 | 1.0.0 | PG17-18 |
pg_clickhouse | 0.1.5 | 0.1.10 | available, PG14-18 |
pg_search | 0.22.2 | 0.22.6 | manual download, PG15-18 |
pg_store_plans | 1.9 | 1.10 | upgraded, PG14-18 |
pg_dispatch | 0.1.5 | new, PG14-18 | |
pg_fsql | 1.1.0 | new, PG14-18 | |
pg_liquid | 0.1.7 | new, PG14-18 | |
pg_regresql | 2.0.0 | new, PG14-18 | |
pg_slug_gen | 1.0.0 | new, PG15-18 | |
pg_stat_ch | 0.3.3 | new, PG16-18 | |
pg_variables | 1.2.5 | new, PG14-18 | |
pgcalendar | 1.1.0 | new, PG14-18 | |
pgclone | 2.2.0 | new, PG14-18 | |
pgelog | 1.0.2 | new, PG14-18 | |
pglock | 1.0.0 | new, PG14-18 | |
pgproto | 0.2.1 | new, PG14-18 | |
postgresbson | 2.0.2 | new, PG14-18 | |
rdf_fdw | 2.4.0 | new, PG14-18 | |
parray_gin | 1.4.0 | new, PG14-18 |
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.3.3
v1.3.2
Routine maintenance release.
- Refresh a batch of extension version metadata and catalog entries.
- Add the
pig pg tunesubcommand to generate PostgreSQL tuning parameters from hardware resources and workload profiles. - Add
pduandpgdogsource package aliases forpig build get. - Migrate extension catalog URLs from
pgext.cloudtopigsty.io/ext.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.3.2
v1.3.1
This is a small maintenance release from v1.3.0 to v1.3.1.
- PG13 install/build support is removed because PGDG upstream has dropped PG13 archive/distribution.
- Active supported PostgreSQL major versions are now 14-18.
- Refresh extension catalog (
461 -> 464), includingpg_pinyin,pg_eviltransform, andqos. - Percona PPG upstream repo is bumped to
18.3. - Fix
pig builddependency/build sync issues; rsync now uses--keep-dirlinks. - In YUM repos, Nginx is split out from
infrainto its own module index (nginx).
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.3.1
v1.3.0
This engineering update moves from v1.2.0 to v1.3.0. It contains 15 commits across 74 changed files, with +1184 / -236 LOC.
It improves the reliability of the pig build pipeline and extends catalog and alias coverage. Total extensions increase from 451 to 461.
Highlights
- Build source download improvements (
pig build get):- Parse multi-source
Sourcefields (whitespace/newline/tab) and deduplicate entries. - Add source mappings for
agensgraph/agentsgraph. pgedgenow downloads bothpostgresql-17.9.tar.gzandspock-5.0.5.tar.gz.
- Parse multi-source
- Dependency resolution and install improvements (
pig build dep):- RPM dependencies can infer the PG major version from
pgmajorversionin spec files. Missing spec/control files return explicit errors. - DEB dependency parsing now covers
Build-Depends/Build-Depends-Arch/Build-Depends-Indep, including multiline fields, alternatives, arch qualifiers, and build-profile cleanup. PGVERSIONplaceholders can be expanded from--pg, installed PG majors, or extension metadata.- Dependency install failures are downgraded to warnings so batch runs continue.
- RPM dependencies can infer the PG major version from
- DEB build result semantics fixed (
pig build ext/pkg):- A successful build command exit code determines success. Artifact discovery is best-effort and can only produce warnings.
- Suppress empty package-list banners on successful no-artifact runs.
- Partial artifacts are warnings, not failures.
- Build logs now print real metadata source/version values instead of always composing
name-version.
- Better machine-readable ext operation output (
pig ext rm/update):- After alias resolution,
removed/updatednow returns resolved package names instead of extension aliases.
- After alias resolution,
- Extension catalog and alias updates:
- New aliases:
agensgraph/agens,pgedge,babelfishpg. openhalodbis aligned to PG14 package naming;ivorysqldbnaming is aligned.- Fork metadata and availability matrix were refreshed in batch (including
timescaledb,pgmq,orioledb,documentdb,pg_tde, andbabelfishpg_*entries).
- New aliases:
- Engineering and release:
- Updated the version to
v1.3.0, including av1.2.1transition commit. Changed the copyright year to 2026. Updated the README for 461 extensions and current alias documentation.
- Updated the version to
Compatibility Notes
- Structured
removed/updatedfields inpig ext rm/updatenow contain package names. Automation that matched extension aliases should update parsing logic.
New Extensions (451 -> 461)
| Extension | Version | Notes |
|---|---|---|
aux_mysql | 1.5 | openHalo MySQL compatibility helper (PG14) |
gb18030_2022 | 1.0 | IvorySQL charset conversion module |
ivorysql_ora | 1.0 | IvorySQL Oracle compatibility extension |
ora_btree_gin | 1.0 | Oracle datatype GIN indexing support |
ora_btree_gist | 1.0 | Oracle datatype GiST indexing support |
pg_get_functiondef | 1.0 | Function definition utility |
plisql | 1.0 | PL/iSQL procedural language |
snowflake | 2.4 | pgEdge Snowflake-style ID generator |
spock | 5.0.5 | pgEdge multi-master logical replication extension |
lolor | 1.2.2 | pgEdge logical-replication-friendly large objects |
Full Commit List (v1.2.0..v1.3.0)
b8ecf8dbump version string to 1.2.155df9a4build/get: support multi-source parsing and pgedge spock tarballda8e347add agensgraph and pgedge alias86edbd7ext: show resolved package names in rm/update resultsef3c905build/dep: improve rpm/deb dependency resolution7144e09ext/catalog: refresh fork metadata and matrix entriesbefffbfbuild(deb): treat successful build command as authoritative result33fd517build(deb): avoid empty package list banner on successful no-artifact runs3b450f2avoid concat ext pkg name with version when download33847abfix(ext): satisfy staticcheck S1011 in rm/updateb8b917dbuild(dep): treat dependency install failures as warnings8110c00adjust ivorysqldb babelfishpg aliasfac9fafbump version to 1.3.01f88f06chore: update copyright year to 2026c804757v1.3.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.3.0
v1.2.0
Extension catalog and alias resolution enhancements:
- Introduce dynamic PG category alias resolution by PG major version.
- Adds OS-level alias overrides (
ansible/bootstrap). Unknown distributions now fall back only to PGDG. - Add aliases such as
node/infraandbabelfish/cloudberry, and refresh extension metadata to reduce package resolution ambiguity.
Plan preview for high-risk operations:
- Add
pig install --planwith structured execution plan output. - Align preview semantics for
pig pitrand pgBackRestrepack/expireunder--plan/--dry-run. - Add plan-flag consistency tests to keep subcommand behavior aligned.
- Add
Native
styconfiguration capability:- Add
pig sty configurewith full execution flow (preflight, argument handling, execution orchestration). - Unifies
sty conf/configurebehavior. The native implementation is the default, and--rawremains as a fallback. - Add tests for configure main flow, preflight, routing, and install integration to improve maintainability.
- Add
Repo/build/reliability fixes:
- Fix nil dereference in repo cache on
os.Staterror paths. - Align Ubuntu and Debian repo channel mapping, and add timeout control for mirror pulls during reload.
- Harden
repo rmfor dotted module names with safe deletion and path validation. - Fix symlink preservation, cross-device migration, and target-directory handling in
sty initand build flows. - Improve text output and matrix color rendering, and fix ext command validation for empty args/targets.
- Fix nil dereference in repo cache on
35 commits, 66 files changed, LOC:
+5006 / -379PG extension and kernel package updates
| Package | Old | New | Notes |
|---|---|---|---|
timescaledb | 2.25.0 | 2.25.1 | |
citus | 14.0.0-3 | 14.0.0-4 | Rebuilt from the latest official upstream release |
age | 1.7.0 | 1.7.0 | Add PG 17 support for version 1.7.0 |
pg_background | - | 1.8 | DEB-only build; RPM package comes from PGDG |
pgmq | 1.10.0 | 1.10.1 | This extension package is currently unavailable |
pg_search | 0.21.6 | 0.21.8 | Used as direct download package |
oriolepg | 17.11 | 17.16 | OriolePG kernel update |
orioledb | beta12 | beta14 | Matched with OriolePG 17.16 |
cloudberry | - | 2.0.0 | New package |
babelfishpg | - | 5.5.0 | New BabelfishPG package group |
babelfish | - | 5.5.0 | New Babelfish compatibility package |
antlr4-runtime413 | - | 4.13 | New runtime dependency for Babelfish |
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.2.0
v1.1.1
Fixes
- Preserve symlink semantics during build-tree migration and support cross-device moves.
- Handle a PostgreSQL log directory configured as the filesystem root without resolving files outside the intended directory.
- Allow
pig repo rmto remove repository modules whose names contain dots while retaining safe-path validation. - Accept safe relative symlinks when
pig sty initextracts a Pigsty release archive.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.1.1-1.aarch64.rpm Linuxarm64SHA-256 | 22fe5e95…7429 | |
| pig-1.1.1-1.x86_64.rpm Linuxamd64SHA-256 | 7f5a10bb…457a | |
| pig-v1.1.1.darwin-amd64.tar.gz macOSamd64SHA-256 | b90aec9d…0e59 | |
| pig-v1.1.1.darwin-arm64.tar.gz macOSarm64SHA-256 | 3063e3a7…f4ea | |
| pig-v1.1.1.linux-amd64.tar.gz Linuxamd64SHA-256 | 081ff8c8…e177 | |
| pig-v1.1.1.linux-arm64.tar.gz Linuxarm64SHA-256 | 9a81e868…272d | |
| pig_1.1.1-1_amd64.deb Linuxamd64SHA-256 | 85ce861c…f541 | |
| pig_1.1.1-1_arm64.deb Linuxarm64SHA-256 | 3a108f05…664f |
Release: https://github.com/pgsty/pig/releases/tag/v1.1.1
v1.1.0
This release upgrades the CLI architecture from v1.0.0 to v1.1.0, with 79 commits across 193 changed files. It extends pig from an interactive CLI to a CLI that agents can orchestrate.
Seven new extensions are added, bringing the total available extensions to 451.
New Features
- Adds a unified output framework for agents. Global
--outputsupportstext/yaml/json/json-pretty. A commonResultstructure provides stable status codes and machine-readable output forext/repo/pg/pt/pb/pitr/status/version/context. - Adds ANCS (Agent Native Command Schema) metadata, including
type/volatility/parallel/risk/confirm/os_user/costfields. In structured mode,helpoutputs a command capability tree. Agents can use it to identify capabilities and risks. - Adds the
pig context(pig ctx) environment snapshot command. One call collects host, PostgreSQL, Patroni, pgBackRest, and extension information for direct use in agent workflows. - Extends plan support beyond PITR with
pig ext add/rm --plan,pig pg stop/restart --plan, andpig pt switchover/failover --plan. These matchpig pitr --plan/--dry-runin a common, reviewable format. Plans show actions, scope, risks, and expected results. - Extends structured results with native
pgbackrest infoJSON. Unifies structured return DTOs across Patroni/PostgreSQL/PITR/Repo/Ext for automation compatibility. - Adds legacy structured wrappers for command groups such as
pg_exporter/pg_probe/do/sty. These retain existing interaction behavior while providing structured execution results and captured output. - Update pigsty to
v4.1.0.
Extension Update
| Extension | Old | New |
|---|---|---|
| timescaledb | 2.24.0 | 2.25.0 |
| citus | 14.0.0-2 | 14.0.0-3 |
| pg_incremental | 1.2.0 | 1.4.1 |
| pg_bigm | 1.2-20240606 | 1.2-20250903 |
| pg_net | 0.20.0 | 0.20.2 |
| pgmq | 1.9.0 | 1.10.0 |
| pg_textsearch | 0.4.0 | 0.5.0 |
| pljs | 1.0.4 | 1.0.5 |
| sslutils | 1.4-1 | 1.4-2 |
| table_version | 1.11.0 | 1.11.1 |
| supautils | 3.0.2 | 3.1.0 |
| pg_math | 1.0 | 1.1.0 |
| pgsentinel | 1.3.1 | 1.4.0 |
| pg_uri | 1.20151224 | 1.20251029 |
| pgcollection | 1.1.0 | 1.1.1 |
| pg_readonly | 1.0.3 | 1.0.4 |
| timestamp9 | 1.4.0-1 | 1.4.0-2 |
| pg_uint128 | 1.1.1 | 1.2.0 |
| pg_roaringbitmap | 0.5.5 | 1.1.0 |
| plprql | 18.0.0 | 18.0.1 |
| pglinter | 1.0.1 | 1.1.0 |
| pg_jsonschema | 0.3.3 | 0.3.4 |
| pg_anon | 2.5.1 | 3.0.1 |
| vchord | 1.0.0 | 1.1.0 |
| pg_search | 0.21.4 | 0.21.6/0.21.7 |
| pg_graphql | 1.5.12-1 | 1.5.12-2 |
| pg_summarize | 0.0.1-2 | 0.0.1-3 |
| nominatim_fdw | - | 1.1.0 |
| pg_utl_smtp | - | 1.0.0 |
| pg_strict | - | 1.0.2 |
| pg_track_optimizer | - | 0.9.1 |
| pgmb | - | 1.0.0 |
Bug Fixes
- Security fix: resolve parsing panic in
pig build proxywhen receiving malformed proxy addresses. - Security fix: resolve path traversal risk in
pig pg log, preventing access to files outside the log directory via../../. - Security hardening: improve installer/repo path and quoting handling to reduce path injection and invalid-path misuse risks.
- Build reliability fixes:
pig build get/pkg/extnow propagates errors and returns non-zero exit codes when downloads or builds fail. Fixes false DEB build failures caused by apg_vermismatch. - Repository/catalog update fixes: adds quiet mirror fallback for
ext/repo reload. Commandsrepo add/set/rmreturn the correct error status when cache updates fail. - Extension management fixes:
ext updatenow uses explicit targets, and status drift issues are fixed.ext importdownloads requested DEB resources to the specified repository directory. - Output/observability fixes: aligns structured-output exit codes with text mode. Improves permission handling and parsing stability in
pg status.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.1.0
v1.0.0
This release adds three command groups: pig pg for PostgreSQL, pig pt for Patroni, and pig pb for pgBackRest. It also adds a coordinated PITR command and improves extension availability displays.
New Commands
pig pg- PostgreSQL instance managementpg init/start/stop/restart/reload/status- Control and manage PostgreSQL instancespg role/promote- Detect and switch instance role (primary/replica)pg psql/ps/kill- Connection and session managementpg vacuum/analyze/freeze/repack- Database maintenance operationspg log- Log viewing (list/tail/cat/less)
pig pt- Patroni cluster managementpt list/config- View cluster status and configurationpt restart/reload/reinit- Manage cluster memberspt switchover/failover- Cluster failover operationspt pause/resume- Control automatic failoverpt start/stop/status/log- Patroni service management
pig pb- pgBackRest backup managementpb info/ls- View backup informationpb backup/restore/expire- Backup operationspb create/upgrade/delete- Stanza managementpb check/start/stop/log- Control operations
pig pitr- Orchestrated Point-In-Time Recovery- Automatic Patroni/PostgreSQL coordination
- Multiple recovery targets: time, LSN, XID, restore point
- Dry-run mode and post-recovery guidance
New Features
- Add availability matrix to
pig ext availandpig ext ls
Improvements
- Unified command aliases across pg/pt/pb commands
- Standardized error message format
- Code refactoring and cleanup
Bug Fixes
- Fix missing UTIL extension category
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v1.0.0
v0.9.0
Changes
- Rename
pig sty installtopig sty deployso the command name reflects that it runs the Pigsty deployment playbook. - Add the
-g,-p, and-ooptions topig sty conf, aligning it with the configure script available in this release. - Keep
llvmjitin thepgsql-fullpackage alias.
Checksums
| File | Checksum | |
|---|---|---|
| pig-0.9.0-1.aarch64.rpm Linuxarm64SHA-256 | ea0c098d…13fa | |
| pig-0.9.0-1.x86_64.rpm Linuxamd64SHA-256 | 707f4e1f…90cc | |
| pig-v0.9.0.darwin-amd64.tar.gz macOSamd64SHA-256 | 56aeb616…d93e | |
| pig-v0.9.0.darwin-arm64.tar.gz macOSarm64SHA-256 | a213d168…3de4 | |
| pig-v0.9.0.linux-amd64.tar.gz Linuxamd64SHA-256 | 6a1a1836…452f | |
| pig-v0.9.0.linux-arm64.tar.gz Linuxarm64SHA-256 | 5e5728aa…b8b0 | |
| pig_0.9.0-1_amd64.deb Linuxamd64SHA-256 | e80d2cb3…353b | |
| pig_0.9.0-1_arm64.deb Linuxarm64SHA-256 | ecb504ef…0fe2 |
Release: https://github.com/pgsty/pig/releases/tag/v0.9.0
v0.8.1
Fix
- Restore
llvmjitto thepgsql-fullpackage alias after it was removed in v0.8.0.
Checksums
| File | Checksum | |
|---|---|---|
| pig-0.8.1-1.aarch64.rpm Linuxarm64SHA-256 | fd9291b1…258c | |
| pig-0.8.1-1.x86_64.rpm Linuxamd64SHA-256 | c2ec07d1…edec | |
| pig-v0.8.1.darwin-amd64.tar.gz macOSamd64SHA-256 | b07017d2…fc34 | |
| pig-v0.8.1.darwin-arm64.tar.gz macOSarm64SHA-256 | 090889ba…0501 | |
| pig-v0.8.1.linux-amd64.tar.gz Linuxamd64SHA-256 | 64cfd28d…9544 | |
| pig-v0.8.1.linux-arm64.tar.gz Linuxarm64SHA-256 | 6216612a…fbe4 | |
| pig_0.8.1-1_amd64.deb Linuxamd64SHA-256 | 29a2109a…d387 | |
| pig_0.8.1-1_arm64.deb Linuxarm64SHA-256 | 7d872865…f882 |
Release: https://github.com/pgsty/pig/releases/tag/v0.8.1
v0.8.0
Extension Updates
- Total extensions reached 440
- New extension: pg_ai_query 0.1.1
- New extension: pg_textsearch 0.1.0
- New extension: pg_clickhouse 0.1.0
- pg_biscuit upgraded from 1.0 to 2.0.1 (switched to new repo, renamed to biscuit)
- pg_search upgraded from 0.20.3 to 0.20.5
- pg_duckdb upgraded to official release 1.1.1
- vchord_bm25 upgraded from 0.2.2 to 0.3.0
- pg_semver upgraded from 0.40.0 to 0.41.0
- pg_timeseries upgraded from 0.1.7 to 0.1.8
- Fixed debian/ubuntu pg18 extension issues: supautils, pg_summarize, pg_vectorize, pg_tiktoken, pg_tzf, pglite_fusion, pgsmcrypto, pgx_ulid, plprql
- Pigsty version synced to 4.0.0
Repository Updates
- Removed pgdg yum sysupdate repo due to upstream changes
- Removed pgdg yum llvmjit package due to upstream changes
- Fixed patroni 3.0.4 duplicate package issue on el9.aarch64
- Added priorities for EL repository definitions. Skips the Docker repository when it is unavailable.
- Added epel 10 / pgdg 9/10 OS minor version hotfix
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.8.0
v0.7.5
Extension Updates
- timescaledb 2.23.1 -> 2.24.0
- pg_search 0.20.0 -> 0.20.3
- convert 0.0.4 -> 0.0.5
- pglinter 1.0.0 -> 1.0.1
- pgdd 0.6.0 -> 0.6.1
- pg_session_jwt 0.3.3 -> 0.4.0
- pg_anon 2.4.1 -> 2.5.1
- pg_enigma 0.4.0 -> 0.5.0
- wrappers 0.5.6 -> 0.5.7
- pg_vectorize 0.25.0 -> 0.26.0
Repository Updates
Uses the corrected Aliyun PGDG mirror repository.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.7.5
v0.7.4
- Update extension metadata:
pg_search,pgmq,pg_stat_monitor - Updates the PGDG repository URL. The
extrasdirectory moves to the parent directory. - Bump ivorysql to 5.0 (compatible with PG 18.0)
- Bump Percona Postgres TDE Kernel to 18.1
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.7.4
v0.7.3
- Add new command:
pig repo reloadto update repo metadata - Fixes the EL PGDG sysupdate aarch64 repository. The aarch64 repository is now ready.
- Fix EL10.aarch64 PGDG repo renaming issue
- Update extension versions
- Bump Pigsty version to 3.7.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.7.3
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
Updated extensions: vchord pg_later pgvectorscale pglite_fusion pgx_ulid pg_search citus timescaledb pg_profile pg_stat_monitor documentdb
New extensions: pglinter pg_typeid pg_enigma pg_retry pg_biscuit pg_weighted_statistics
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.7.2
v0.7.1
- New PGEXT.CLOUD extension catalog.
- Removes unnecessary sudo calls. Pig can now run inside Docker.
- Allow using
pg18,pg17arg format in pig ext link command - Adds the environment variable
PIG_NO_SUDOto prevent sudo use. - 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
Release: https://github.com/pgsty/pig/releases/tag/v0.7.1
v0.7.0
- Add support for Debian 13 and EL 10 distributions
- Updates many extensions to their latest versions with PostgreSQL 18 support.
- Almost all Rust extensions now support PG 18 via pgrx 0.16.1
pig buildcommand overhaulpig build pkg <pkg>downloads source, prepares dependencies, and builds in one operation.pig build pgrxis now separated frompig build rustpig build pgrx [-v pgrx_version]can now use existing PG installation directlypig build depwill now handle extension dependencies on both EL and Debian systemspig build exthas more compact output. It can build RPM packages on EL without a build script.pig build specnow supports downloading spec files directly from Pigsty repopig build repo/pig repo add/pig repo setnow usenode,pgsql,infraas default repo modules instead ofnode,pgdg,pigsty
- Optimized error logging
- Adds a catalog website based on Hugo and Hextra.
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.7.0
v0.6.2
- Use official PG 18 repo instead of testing repo
- Add
vprefix when specifying pigsty version string - Improved network connectivity check
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.6.2
v0.6.1
- Add el10 and debian 13 trixie support stub
- Dedicated PIG documentation website.
- Rebuild with go 1.25 and CI/CD pipeline
- Use PIGSTY PGDG mirror in mainland China
- Remove unused
pgdg-el10fixrepo - Use Pigsty WiltonDB mirror
- Add EL 10 dedicated epel repo
- Version output includes the Go build environment.
Release: https://github.com/pgsty/pig/releases/tag/v0.6.1
v0.6.0
- New extension catalog: https://ext.pgsty.com
- 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://ext.pgsty.com
- Fixes OrioleDB on Debian/Ubuntu.
- Fix epel repo on EL distributions
- Bump golang to 1.24.5
- Bump pigsty to v3.6.0
Checksums
Release: https://github.com/pgsty/pig/releases/tag/v0.6.0
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
- Fixes pgvectorscale failures on Debian/Ubuntu with PG17.
- 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
Release: https://github.com/pgsty/pig/releases/tag/v0.4.1
v0.4.0
- Updates the extension list to 407 available extensions.
- 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 - Fixes
pig ext scanmatching for several extensions.
Release: https://github.com/pgsty/pig/releases/tag/v0.4.0
v0.3.4
- Routine extension metadata update
- Uses the Aliyun EPEL mirror to replace the broken Tsinghua TUNA mirror.
- Bump pigsty version string
- Add
gitlabrepo to the repo list
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
Release: https://github.com/pgsty/pig/releases/tag/v0.3.3
v0.3.2
Enhancement
- New extensions
- Use
upxto reduce binary size - Remove embedded pigsty to reduce binary size
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
Release: https://github.com/pgsty/pig/releases/tag/v0.3.1
v0.3.0
This release introduced a PIG homepage alongside the PostgreSQL extension catalog.
Release: https://github.com/pgsty/pig/releases/tag/v0.3.0
v0.2.2
404 Extensions Available in Pig v0.2.2
Release: https://github.com/pgsty/pig/releases/tag/v0.2.2
v0.2.0
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
Extension updates
- 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
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
Extension updates
- 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.1.4
v0.1.3
Version v0.1.3 is a routine update with 390 available extensions.
Release: https://github.com/pgsty/pig/releases/tag/v0.1.3
v0.1.2
Includes 351 PostgreSQL extensions, including postgresql-anonymizer 2.0.
Release: https://github.com/pgsty/pig/releases/tag/v0.1.2
v0.1.1
Update Extension List
Release: https://github.com/pgsty/pig/releases/tag/v0.1.1
v0.1.0
pig CLI v0.1 released
Release: https://github.com/pgsty/pig/releases/tag/v0.1.0
v0.0.1
Genesis Release
Release: https://github.com/pgsty/pig/releases/tag/v0.0.1
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)