Skip to content

pig v1.0.0

New pg/pt/pb/pitr commands, availability matrix

This release introduces three major new subcommand groups (pig pg, pig pt, pig pb) for managing PostgreSQL, Patroni, and pgBackRest, along with an orchestrated PITR command and enhanced extension availability display.

New Commands

  • pig pg - PostgreSQL instance management

    • pg init/start/stop/restart/reload/status - Control and manage PostgreSQL instances
    • pg role/promote - Detect and switch instance role (primary/replica)
    • pg psql/ps/kill - Connection and session management
    • pg vacuum/analyze/freeze/repack - Database maintenance operations
    • pg log - Log viewing (list/tail/cat/less)
  • pig pt - Patroni cluster management

    • pt list/config - View cluster status and configuration
    • pt restart/reload/reinit - Manage cluster members
    • pt switchover/failover - Cluster failover operations
    • pt pause/resume - Control automatic failover
    • pt start/stop/status/log - Patroni service management
  • pig pb - pgBackRest backup management

    • pb info/ls - View backup information
    • pb backup/restore/expire - Backup operations
    • pb create/upgrade/delete - Stanza management
    • pb 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 avail and pig 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

Download asset
FileChecksum
pig-1.0.0-1.aarch64.rpm Linuxarm64SHA-256 30663707…a872
pig-1.0.0-1.x86_64.rpm Linuxamd64SHA-256 d2b94404…414c
pig-v1.0.0.darwin-amd64.tar.gz macOSamd64SHA-256 c8a169e4…4e62
pig-v1.0.0.darwin-arm64.tar.gz macOSarm64SHA-256 c0996037…a2f8
pig-v1.0.0.linux-amd64.tar.gz Linuxamd64SHA-256 13837c6f…79f6
pig-v1.0.0.linux-arm64.tar.gz Linuxarm64SHA-256 08207dfe…c876
pig_1.0.0-1_amd64.deb Linuxamd64SHA-256 a543882a…ce66
pig_1.0.0-1_arm64.deb Linuxarm64SHA-256 4cd6ec54…8995