pig v1.5.0
By Ruohang Feng In Release
531 extensions, pigsty v4.4, pg/pt/pb/pitr rework, clone & fork
Pig v1.5.0 is a PostgreSQL operations release for day-to-day DBA work. It adds local database clone/fork workflows, clarifies the boundaries between pg, pt, pb, and pitr, and tightens preview, confirmation, and structured-output behavior for high-risk operations.
Highlights
pig pgis now more focused on local PostgreSQL operations.pig pg clonecreates quick database-level copies, whilepig pg forkcreates disposable physical instance forks for local validation, recovery drills, and isolated experiments.- Recovery flows are split more clearly:
pig pitris the orchestration entry point across Patroni, PostgreSQL, and pgBackRest;pig pb restoreremains the low-level pgBackRest restore primitive. Restore commands now require an explicit target and provide more concrete plans and post-restore guidance. - Patroni operations are more predictable: high-risk actions such as
pig pt restart,reinit,switchover, andfailoveruse Pig-managed confirmation and plan output;pig pt config pgpoints operators topig pt restart --pendingwhen a restart is required. - Automation is safer: structured output no longer implies confirmation for destructive commands. High-risk execution requires explicit
-y/--yes, while--planandnext_actionsare more consistent for preview-then-execute workflows. - Logs and status output are more useful during incidents:
pg,pb, andptlog commands now cover common latest / tail / show / grep workflows, and 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. EL9 ARM64 Patroni aliases now point to noarch packages.
Compatibility Notes
- Use
-y/--yesfor destructive operations in automation; structured output mode no longer substitutes for human confirmation. pig pb restoreandpig pitrrequire exactly one explicit recovery target; use--target-action=promotefor auto-promote behavior.- Several ambiguous short options were cleaned up. For log commands,
-o jsonmeans a JSONL snapshot and is not used for tail/follow streaming modes.
Checksums
| File | Checksum | |
|---|---|---|
| pig-1.5.0-1.aarch64.rpm Linuxarm64SHA-256 | 9f83b78e…e1df |
|
| pig-1.5.0-1.x86_64.rpm Linuxamd64SHA-256 | b7920014…3e6e |
|
| pig-v1.5.0.darwin-amd64.tar.gz macOSamd64SHA-256 | ae1081df…a29d |
|
| pig-v1.5.0.darwin-arm64.tar.gz macOSarm64SHA-256 | 6d69efcd…5dc6 |
|
| pig-v1.5.0.linux-amd64.tar.gz Linuxamd64SHA-256 | 8f914821…4a85 |
|
| pig-v1.5.0.linux-arm64.tar.gz Linuxarm64SHA-256 | d4de9ef1…2234 |
|
| pig_1.5.0-1_amd64.deb Linuxamd64SHA-256 | 35fd32af…6245 |
|
| pig_1.5.0-1_arm64.deb Linuxarm64SHA-256 | 2be1df80…3e04 |