Repository navigation
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:
pig update -v 1.11.0
pig versionSee the installation guide for first-time installation and platform details.
Checksums
c3c24b64dce312a13fe1b3bcb15d38101095dfd2569ed88186838a33291abcac pig-1.11.0-1.aarch64.rpm
2c0d05aba718957f4654cb135771610f042b6f71b7902a792b598744632736b9 pig-1.11.0-1.x86_64.rpm
d9c0b9b3bde4e5e53d64a0df177dcda48575eed0310178adaff11f6d33a76cd9 pig-v1.11.0.darwin-amd64.tar.gz
474788f79563e99e7443e619bb7e594f598284c9a81f22d53f33bacf03c5da27 pig-v1.11.0.darwin-arm64.tar.gz
8f21efdd33d5a063eb7e12d2908912682af4dd94e336d82124ab9eb57808974c pig-v1.11.0.linux-amd64.tar.gz
4c2699618fb50d6bb5d2c0807e407442c69c9873a4d33dc3193bbab9c039bdcd pig-v1.11.0.linux-arm64.tar.gz
4bf90bbd4bc179391b5d88f2d51cb2d08b165212305434f59d12dcab0dc7ea5a pig_1.11.0-1_amd64.deb
ba4fb6cd9927712fe6ac7af237a7f96076febd972cb99c121ebf620a08664979 pig_1.11.0-1_arm64.deb
Full changelog: v1.10.4...v1.11.0