pig v1.11.0
PIG v1.11.0 aligns embedded Pigsty support with v4.6.0, adds ordered template shorthand lookup in pig sty conf, hardens package and operational command safety across ext, repo, do, pg, pb, pitr, sty, and inventory, and updates the embedded PostgreSQL extension catalog to 625 entries.
Command and package safety
- Protected package removal:
pig ext rmnow blocks accidental removal of PostgreSQL server packages, shared contrib bundles, and supported replacement kernels when invoked through an extension name or category alias (100102, exit2). Independent procedural-language packages remain removable by extension name, while intentional server or kernel removal requires an explicit package-group alias such aspg18-server,pg18-contrib(EL), ororioledb-server. See the protected package removal design. - APT release-level trust reconciliation:
pig repo addandrepo setreconciletrustedandsigned-byoptions across matching APT URIs and suites before writing repository files, preservingsty bootsigning policies across additive operations while rejecting conflicting explicit definitions. - Explicit playbook removal boundaries:
pig do pgsql-rmpassespg_rm_pkg=falseby default unless--uninstallsetspg_rm_pkg=true, andpig do pgmon-rmremoves/infra/targets/pgrds/<cluster>.ymloninfrahosts to matchpgmon-add. See the operations CLI safety contract. - PostgreSQL and recovery execution guards: text
pig pg statusnow shares structured exit status and avoids externaltestdependency when already running as the target DBSU;pig pg psql -fenablesON_ERROR_STOP=1and resolves caller-relative paths before user switching; internal database enumeration passespsql -X;pig pg forkpins isolateddata_directory,hba_file,ident_file,port, and recovery/archive overrides across bothpostgresql.confandpostgresql.auto.conf, while propagating--forceinto confirmation retry hints;pig pg vacuumandpig pg freezeenforce--tablewhen--schemais specified;pig pg killandpig pg tunereject invalid PID, watch, and floating-point boundaries; andpig pb restore/pig pitrpreserve incremental/differential backup labels, reject--reset-*/--no-*overrides and empty-Dflags, and omit raw option values from validation errors. - Structured output and inventory fidelity: early argument-error rendering honors attached
-ojsonspellings without crossing--; atomic file writes preserve existing permissions instead of falling back to0644; legacy wrapper downloads keep progress off stdout; bounded diagnostic capture retains both head and tail context while preserving full data capture for configuration and SQL queries;pig inventory cmdb dumppreserves signed/unsigned 64-bit integer and floating-point scalar types and flags multi-host PostgreSQL URI andsslpasswordcredentials;pig pt statusemits structured JSON errors when Patroni configuration resolution fails; andpig sty grafanarejects unsafe dashboard path segments while redacting malformed endpoint URLs. - Catalog loading and installation paths:
pig exthonors configured catalog sources and validates PostgreSQL installation paths before installation operations.
Pigsty 4.6.0 bootstrap and configuration
pig sty confresolves bare template names in Pigsty’s fixed order (conf/,conf/ha/,conf/fork/,conf/app/,conf/demo/,conf/build/), so shorthand names such asfull,trio, orossapply the selected template’s version-pinning and preflight rules.pig sty confwrites explicitly selected or detecteddefaultregion values into templates that start withchina, keeping the output file and structured result aligned.pig sty bootandpig repo bootcheck/var/tmp/pkg.tgzfirst and fall back to/tmp/pkg.tgzonly when the primary path does not exist, rejecting untrusted or unreadable automatic bundles before creating target directories.
Catalog and package aliases
- Added
kesandopenbaoto theinfrapackage-group alias on both EL and Debian/Ubuntu. - Refreshed nine extension versions in the bundled catalog:
login_hook:1.8->1.9pg_curl:2.4.6->2.5.0pg_improv:0.12.2->0.14.0pg_integrity_checksums:2.1.0->2.2.0pg_mentat:1.19.1->1.20.0pg_search:0.26.5->0.26.6pg_tokenizer:1.0.0->1.1.0vchord:1.2.0->1.3.0vchord_bm25:1.0.0->1.1.0
- Removed the retired
documentdb_distributedcatalog entry, cleaned its residualrequire_byreferences oncitus,documentdb, anddocumentdb_core, and restoredcolumnartoavailablestatus.
Catalog count and build versions
The embedded catalog contains 625 records (625 available entries and 0 retained removed records). They map to 518 distinct package names, including PostgreSQL contrib modules, or 457 non-contrib package families. See the catalog-entry counting rule.
PIG v1.11.0 is built with Go 1.27.4, embeds Pigsty 4.6.0, and defaults cargo-pgrx to 0.19.3. Follow the installation guide to upgrade PIG.
Upgrade
Upgrade an existing PIG installation to this release:
See the installation guide for first-time installation and platform details.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.11.0-1.aarch64.rpm Linuxarm64SHA-256 | c3c24b64…bcac |
|
| pig-1.11.0-1.x86_64.rpm Linuxamd64SHA-256 | 2c0d05ab…36b9 |
|
| pig-v1.11.0.darwin-amd64.tar.gz macOSamd64SHA-256 | d9c0b9b3…6cd9 |
|
| pig-v1.11.0.darwin-arm64.tar.gz macOSarm64SHA-256 | 474788f7…da27 |
|
| pig-v1.11.0.linux-amd64.tar.gz Linuxamd64SHA-256 | 8f21efdd…974c |
|
| pig-v1.11.0.linux-arm64.tar.gz Linuxarm64SHA-256 | 4c269961…bdcd |
|
| pig_1.11.0-1_amd64.deb Linuxamd64SHA-256 | 4bf90bbd…ea5a |
|
| pig_1.11.0-1_arm64.deb Linuxarm64SHA-256 | ba4fb6cd…4979 |