Skip to content

Releases: pgsty/pig

pig-v1.4.1

01 May 01:26

Choose a tag to compare

  • 510 Extension, 3 new extension, 17 updated
  • Ubuntu 26.04 resolute support, drop support for Ubuntu 20.04 focal
  • Bump el9.aarch64 ad hoc patroni to 4.1.2
  • Calibrate upstream repo definition

pig-v1.4.0

19 Apr 10:21

Choose a tag to compare

  • Refresh the extension catalog and increase the total available extensions to 507, with version bumps such as timescaledb 2.26.3, decoderbufs 3.5.0, pgclone 4.0.0, and nominatim_fdw 1.3.

  • Bump the default pgrx version from 0.17.0 to 0.18.0 and align related Rust extension builds.

  • Refresh authoritative source bundles for pig build get, covering Cloudberry / OrioleDB build inputs and bundled artifacts for RDKit and OneSparse-related packages.

  • Fix repo set flag isolation and correct schema maintenance SQL.

  • Bump patroni to 4.1.1 for el9.aarch64.

  • RPM: https://pigsty.io/docs/repo/pgsql/rpm/

  • DEB: https://pigsty.io/docs/repo/pgsql/deb/

Changelog

  • 794a863 build: bump pgrx to 0.18.0
  • 4c21023 build: refresh authoritative source bundles
  • f4851cb bump extension to the latest version (507)
  • 8cf18d9 bump patroni version to 4.1.1 for el9.aarch64
  • 32ddbad fix(repo,postgres): isolate repo set flags and correct schema maintenance SQL

pig-v1.3.4

14 Apr 11:43

Choose a tag to compare

Changelog

  • eeb427c Normalize selected extension source archive references
  • 2add493 build: bump default pgrx version to 0.17.0
  • 23b7969 fix: resolve staticcheck issues for pg tune
  • a390b25 release v1.3.4 with 504 extensions

Extension

32 new extension packages, 22 extension package updated, 504 total

Package Old New Comment
block_copy_command - 0.1.5 new, PG 14-18, pgrx 0.17.0
pg_kazsearch - 2.0.0 new, PG 16-18, pgrx 0.17.0
pg_rrf - 0.0.3 new, PG 14-17, pgrx 0.16.1 -> 0.17.0
pgmqtt - 0.1.0 new, PG 14-18, pgrx 0.16.1 -> 0.17.0
pg_when - 0.1.9 new, PG 14-18, pgrx 0.17.0
provsql - 1.2.3 new, PG 14-18
pg_isok - 1.4.1 new, PG 14-18
pg_byteamagic - 0.2.4 new, PG 14-18
logical_ddl - 0.1.0 new, PG 14-18
datasketches - 1.7.0 new, PG 14-18
pg_text_semver - 1.2.1 new, PG 14-18
external_file - 1.2 new, PG 14-18
pg_query_rewrite - 0.0.5 new, PG 14-18
pghydro - 6.6 new, PG 14-18
pg_datasentinel - 1.0 new, PG 15-18
onesparse - 1.0.0 new, PG 18 only
rdkit - 202503.6 new, PG 14-18
pg_dispatch - 0.1.5 new, PG 14-18
pg_fsql - 1.1.0 new, PG 14-18
pg_liquid - 0.1.7 new, PG 14-18
pg_regresql - 2.0.0 new, PG 14-18
pg_slug_gen - 1.0.0 new, PG 15-18
pg_stat_ch - 0.3.4 new, PG 16-18
pg_variables - 1.2.5 new, PG 14-18
pgcalendar - 1.1.0 new, PG 14-18
pgclone - 3.6.0 new, PG 14-18
pgelog - 1.0.2 new, PG 14-18
pglock - 1.0.0 new, PG 14-18
pgproto - 0.2.4 new, PG 14-18
postgresbson - 2.0.2 new, PG 14-18
rdf_fdw - 2.4.0 new, PG 14-18
parray_gin - 1.4.0 new, PG 14-18
timescaledb 2.25.2 2.26.2 bump
pg_background 1.8 1.9.2 bump
pg_ivm 1.13 1.14 bump
system_stats 3.2 4.0 bump
nominatim_fdw 1.1.0 1.2 bump
pg_textsearch 0.5.0 1.0.0 bump
pg_clickhouse 0.1.5 0.1.10 bump
pg_search 0.22.2 0.22.6 bump
pg_store_plans 1.9 1.10 bump
pg_tzf 0.2.3 0.2.4 bump, pgrx 0.17.0
pg_anon 3.0.1 3.0.13 bump, pgrx 0.16.1 -> 0.17.0
pg_cardano 1.1.1 1.2.0 bump, pgrx 0.17.0
pg_strict 1.0.3 1.0.5 bump, pgrx 0.16.1 -> 0.17.0
pg_vectorize 0.26.0 0.26.1 bump, pgrx 0.16.1 -> 0.17.0
pglinter 1.1.1 1.1.2 bump, pgrx 0.16.1 -> 0.17.0
pgx_ulid 0.2.2 0.2.3 bump, pgrx 0.17.0
wrappers 0.5.7 0.6.0 bump, pgrx 0.16.1 -> 0.17.0
pg_trickle 0.16.0 0.17.0 bump, pgrx 0.17.0
supautils 3.1.0 3.2.1 bump
ddl_historization 0.0.7 0.2 bump
pg_incremental 1.4.1 1.5.0 bump
pg_failover_slots 1.2.0 1.2.1 bump
plv8 3.2.4 3.2.4-2 fix el10 build

pig-v1.3.3

10 Apr 13:07

Choose a tag to compare

Changelog

  • 7db4d1b bump golang to 1.26.2
  • b0b6ea9 bump version string to 1.3.3
  • e465e21 fix: update pgext.cloud links to pigsty.io
  • 30ac134 pig v1.3.2 & pigsty v4.2.2

pig-v1.3.2

23 Mar 04:05

Choose a tag to compare

Changelog

  • 60eecfe add pig pg tune for postgresql parameter tuning
  • a68c700 add two more package alias pgdog & pdu
  • 916a3eb bump version string to v1.3.2
  • 5f751d4 routine extension metadata update

pig-v1.3.1

05 Mar 13:58

Choose a tag to compare

Changelog

  • 177b1bb build: bump postgresql source mapping to 18.3
  • 411c016 bump percona ppg to 18.3
  • 6827cad bump pigsty version to 4.2.1
  • 808bf90 bump version to 1.3.1
  • 113f41d feat(pg): centralize active versions and remove pg13 defaults
  • edc9b00 fix pig build spec rsync symbol dir issue
  • f43bd25 refactor(pg): make active major list the single source of truth
  • 80148b7 remove pg13 from extension data
  • 4c6ecc1 rename nginx repo module from infra to nginx
  • 67c30a6 routine extension metadata update
  • 06c5374 test(pg): align test fixtures with pg14-18 support

pig-v1.3.0

27 Feb 02:49

Choose a tag to compare

This release is a focused engineering update from v1.2.0 to v1.3.0: 15 commits, 74 files changed, +1184 / -236 LOC.

It hardens the pig build pipeline and extends catalog/alias coverage, increasing total extensions from 451 to 461.

Highlights

  • Build source download improvements (pig build get):
    • Parse multi-source Source fields (whitespace/newline/tab) and deduplicate entries.
    • Add source mappings for agensgraph / agentsgraph.
    • pgedge now downloads both postgresql-17.9.tar.gz and spock-5.0.5.tar.gz.
  • Dependency resolution and install improvements (pig build dep):
    • RPM dependencies can infer PG major from pgmajorversion in spec files; missing spec/control files now 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.
    • PGVERSION placeholders can be expanded from --pg, installed PG majors, or extension metadata.
    • Dependency install failures are downgraded to warnings so batch runs continue.
  • DEB build result semantics fixed (pig build ext/pkg):
    • Successful build command exit code is authoritative; artifact discovery is best-effort warning only.
    • 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/updated now returns resolved package names instead of extension aliases.
  • Extension catalog and alias updates:
    • New aliases: agensgraph / agens, pgedge, babelfishpg.
    • openhalodb is aligned to PG14 package naming; ivorysqldb naming is aligned.
    • Fork metadata and availability matrix were refreshed in batch (including timescaledb, pgmq, orioledb, documentdb, pg_tde, and babelfishpg_* entries).
  • Engineering and release:
    • Version bumped to v1.3.0, copyright year moved to 2026, and README refreshed for 461 extensions and current alias docs.
  • Compatibility Notes
    • Structured removed/updated fields in pig ext rm/update now 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

Changelog

  • da8e347 add agensgraph and pgedge alias
  • 8110c00 adjust ivorysqldb babelfishpg alias
  • 3b450f2 avoid concat ext pkg name with version when download
  • 33fd517 build(deb): avoid empty package list banner on successful no-artifact runs
  • befffbf build(deb): treat successful build command as authoritative result
  • b8b917d build(dep): treat dependency install failures as warnings
  • ef3c905 build/dep: improve rpm/deb dependency resolution
  • 55df9a4 build/get: support multi-source parsing and pgedge spock tarball
  • b8ecf8d bump version string to 1.2.1
  • fac9faf bump version to 1.3.0
  • 7144e09 ext/catalog: refresh fork metadata and matrix entries
  • 86edbd7 ext: show resolved package names in rm/update results
  • 33847ab fix(ext): satisfy staticcheck S1011 in rm/update
  • 8fe3ecc v1.3.0

pig-v1.2.0

23 Feb 07:04

Choose a tag to compare

v1.2.0

  • Extension catalog and alias resolution enhancements:

    • Introduce dynamic PG category alias resolution by PG major version.
    • Add OS-level alias overrides (ansible/bootstrap) and converge unknown distro fallback to PGDG-only.
    • Add aliases such as node/infra and babelfish/cloudberry, and refresh extension metadata to reduce package resolution ambiguity.
  • Plan preview for high-risk operations:

    • Add pig install --plan with structured execution plan output.
    • Align preview semantics for pig pitr and pgBackRest repack/expire under --plan / --dry-run.
    • Add plan-flag consistency tests to keep subcommand behavior aligned.
  • Native sty configuration capability:

    • Add pig sty configure with full execution flow (preflight, argument handling, execution orchestration).
    • Unify sty conf/configure behavior: native implementation by default, with --raw fallback retained.
    • Add tests for configure main flow, preflight, routing, and install integration to improve maintainability.
  • Repo/build/reliability fixes:

    • Fix nil dereference in repo cache on os.Stat error paths.
    • Align Ubuntu and Debian repo channel mapping, and add timeout control for mirror pulls during reload.
    • Harden repo rm for dotted module names with safe deletion and path validation.
    • Fix symlink preservation, cross-device migration, and target-directory handling in sty init and build flows.
    • Improve text output and matrix color rendering, and fix ext command validation for empty args/targets.
  • 35 commits, 66 files changed, LOC: +5006 / -379

  • PG extension and kernel package updates

Package Old New Notes
timescaledb 2.25.0 2.25.1
citus 14.0.0-2PIGSTY 14.0.0 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

344b77385fa9c3d4fe5e1961340e68716251e38d1cb8308f5af45ce8a03cd206  pig-1.2.0-1.aarch64.rpm
aa9cf1820a9045cc42f0d66689d5e8679cb71452042f3f01ddd4c3a518a2b757  pig-1.2.0-1.x86_64.rpm
f26e4d9e9fa76c39f7c591c18a09287ca3388e016d121c196302ee9eafb5b678  pig-v1.2.0.darwin-amd64.tar.gz
2ca41efc3495822305f6e6a3ae1825d57cc97e764f280581f833c72e6e5019a2  pig-v1.2.0.darwin-arm64.tar.gz
f7aa291b3534d92d0459b6e8301190e39c63db14a45a6c097d4c5d3062c35181  pig-v1.2.0.linux-amd64.tar.gz
38007ecd6d7a69bae0e3d8f7c78f1a4c8bbaead320b7ac319b0d94d6b53853f0  pig-v1.2.0.linux-arm64.tar.gz
e824716ddfbf3805dc0a1fd6d97917241b7780503657e9fd40a37beb6b398d7a  pig_1.2.0-1_amd64.deb
b67baa404d877b37004331041cb270c85b8f9a3f8a92a5083390a54d76553d2a  pig_1.2.0-1_arm64.deb

Release: https://github.com/pgsty/pig/releases/tag/v1.2.0

Changelog

  • 549f881 add babelfish cloudberry alias
  • 441558c add node/infra package alias
  • 24cf46a build(make): resolve target alias conflicts and fix release wiring
  • 57e834a bump babelfish extension info to the latest version
  • a58f8a8 bump pig to v1.2.0
  • 71ce718 bump version string
  • f598c8a chore(ext catalog): refresh extension metadata entries
  • 707785e docs(sty): update native configure epic and hardening notes
  • 40de632 ext: add dynamic PG category alias resolution
  • 7db0511 ext: align category alias rendering with pgext conf rules
  • 0cacaa4 ext: enforce PGDG-only filtering in unknown-OS fallback
  • a023603 ext: refine catalog aliases with OS-specific ansible/bootstrap overrides
  • 5f01806 ext: restrict category fallback to unknown distros
  • 49d158d feat(install): add --plan preview and install plan output
  • ee1d874 feat(preview): unify repack and expire on --plan with dry-run compatibility
  • b1e0338 feat(sty): add native configure command and core flow
  • 46bd37e fix(ext cmd): validate no-arg commands and empty plan targets
  • 7f1422d fix(ext import): run downloads in target dir without chdir
  • 0d318f7 fix(ext resolve): deduplicate resolved package names
  • b2b1b40 fix(output): improve text rendering and matrix color behavior
  • 5a925b8 fix(reload): add bounded mirror fetch timeout and reuse shared helper
  • 57ac3b0 fix(repo): align Ubuntu and Debian repo channel mapping
  • a7dad6b fix(repo): prevent nil dereference on os.Stat error in Cache
  • ddcb9d0 refactor(http): use shared timeout client across commands
  • 8c89500 refactor(pitr): standardize preview on --plan with dry-run alias
  • bb26be8 refactor(utils): simplify PutFile temporary file fallback
  • e3b2acb sty: unify conf/configure with native default and --raw fallback
  • 397e696 test(sty): expand native configure and routing coverage
  • c787450 update orioledb babelfishpg cloudberry src

pig-v1.1.1

14 Feb 00:06

Choose a tag to compare

Changelog

  • 3d80959 fix(build): preserve symlink semantics and support cross-device migration
  • 0615919 fix(postgres): handle log-dir root path safely in log file resolver
  • 1e3b260 fix(repo): allow rm for dotted module names with safe path checks
  • 1705d48 fix(sty): allow safe relative symlinks during init extraction
  • b794137 v1.1.1

pig-v1.1.0

12 Feb 13:56

Choose a tag to compare

This release focuses on an Agent-native architecture upgrade from v1.0.0 to v1.1.0.

Add 7 new extensions, now provide 451 extensions.

New Features

  • Introduce unified structured output with global --output (text, yaml, json, json-pretty) across major command groups.
  • Add ANCS (Agent Native Command Schema) metadata for commands, including machine-readable capability/risk semantics.
  • Add pig context (pig ctx) for one-shot environment snapshot (host, PostgreSQL, Patroni, pgBackRest, extensions).
  • Expand --plan mode for risky operations:
    • pig ext add/rm --plan
    • pig pg stop/restart --plan
    • pig pt switchover/failover --plan
    • aligned with pig pitr --plan/--dry-run
  • Improve structured result coverage for ext/repo/pg/pt/pb/pitr/status/version/context, with stable status codes.
  • pig pb info now embeds native pgBackRest info JSON in structured output.
  • Add legacy structured-output wrapper for existing command groups (pg_exporter, pg_probe, do, sty) for better automation compatibility.
  • Routine extension catalog updates, including several Rust extension updates.
  • Update pigsty version to v4.1.0

Extension Update

Extension Old New Comment
timescaledb 2.24.0 2.25.0
citus 14.0.0-2 14.0.0-3 Official tag release
pg_incremental 1.2.0 1.4.1
pg_bigm 1.2-20240606 1.2-20250903
pg_net 0.20.0 0.20.2 libcurl too old on ubuntu22/el8/el9
pgmq 1.9.0 1.10.0 Fix dependency issues
pg_textsearch 0.4.0 0.5.0
pljs 1.0.4 1.0.5
sslutils 1.4-1 1.4-2 el8.pg18 fails to compile
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 Patch fix for concurrent build issue
pg_readonly 1.0.3 1.0.4
timestamp9 1.4.0-1 1.4.0-2 Rebuild to fix dependency issue
pg_uint128 1.1.1 1.2.0
pg_roaringbitmap 0.5.5 1.1.0 Handed over to PGDG
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 Updated to pgrx 0.17.0
pg_search 0.21.4 0.21.6/0.21.7 RPM 0.21.7 (manual build for el8), DEB 0.21.6
pg_graphql 1.5.12-1 1.5.12-2 Switch to official release
pg_summarize 0.0.1-2 0.0.1-3 Rebuild to fix pg18 issue
nominatim_fdw - 1.1.0 New, synced with PGDG YUM
pg_utl_smtp - 1.0.0 New, synced with PGDG YUM
pg_strict - 1.0.2 New Rust extension
pg_track_optimizer - 0.9.1 New extension
pgmb - 1.0.0 New extension

Bug Fixes

  • Fix panic in pig build proxy when parsing malformed proxy addresses.
  • Fix path traversal risk in pig pg log file access.
  • Harden installer/repo path handling and quoting behavior.
  • Fix build pipeline error propagation and non-zero exit behavior for download/build failures.
  • Fix false DEB build failures caused by pg_ver mismatch.
  • Fix repo add/set/rm to return proper non-zero status when cache update fails.
  • Fix ext/repo reload with quiet mirror fallback.
  • Fix extension update behavior (explicit-only update + status drift issues).
  • Fix ext import to download requested DEB packages into target repo directory.

Changelog

  • b273aff Add structured output for status/version and adjust IO
  • 8c76a83 Standardize structured results for ext/repo/pitr
  • b324a8f add --pkg option to print pkg name instead
  • 73a8c7d add YAML and JSON renderers for Result
  • 35f3aac add avail matrix into ext data
  • 5eaac2c add internal/output package for unified result and status code
  • d8c22b6 add more command to pig postgres
  • 3ba2fe5 add new subcommand pgbackrest/postgres/patroni
  • eb05a30 add new subcommand pitr
  • 3f0149f add pig pg role sub command
  • 310e45c add pig pg sub command stub
  • 1d44c28 allow using mirror in pig build sub command
  • a22ddfc ancs: normalize parsing and improve schema output
  • 0eae347 build(deb): avoid false failures from pg_ver mismatch
  • f8be6c0 build: make pkg/get fail correctly on download errors
  • 6a0bf08 build: propagate extension build failures
  • eaadbea bump extension catalog to 451 ext
  • 3bd468d bump extension with pig 0.9.1
  • 256e87f bump go deps to the latest version (1.25.6)
  • e12eb75 bump go to 1.25.7
  • b624098 bump golang to 1.26.0
  • f35bce0 bump version string to 1.0.0
  • 09ea7c5 bump version string to 1.1.0
  • c6af7ad bump version string to the latest
  • 344776d chore(cli): apply small simplifications and remove empty files
  • cbea93a chore(cmd): add ANCS annotations to utility command groups
  • 88ccdd6 ci: add vet staticcheck and deadcode checks
  • d581b38 cmd(build): clarify mirror flag help
  • 9573883 cmd/repo: add ANCS metadata and structured output routing
  • bd8f20b cmd: reduce boilerplate for annotations and legacy wrappers
  • 4bf7fb1 config: refactor env detection and license init
  • 79d1f23 enhance Result with nil safety and String() method
  • dbca98e enhance pg and pt commands with security and usability improvements
  • d79dd60 ext/import: download requested DEBs into repo dir
  • 32a3278 ext: align plan output with --yes and version pins
  • 17e4890 ext: enforce structured output error handling
  • e1ef2a1 ext: make update explicit-only and fix status drift
  • 1887f9a ext: slim package ops and extension scanning
  • c96bbab feat(ancs): add Agent Native Command Schema package
  • 7b04581 feat(cli): add --output flag and ANCS help integration
  • 0af7f23 feat(cmd): unify legacy structured output handling across commands
  • 5763722 feat(cmd/ext): integrate structured output and ANCS annotations
  • 0ae9e84 feat(config): add output format constants and global setting
  • 5b95799 feat(context): add environment snapshot command for agent workflows
  • 935646d feat(core): harden structured output runtime and schema helpers
  • 67f57d2 feat(ext): add structured output for add/rm/update commands
  • f46e90f feat(ext): add structured output for import/link/reload commands
  • 9706f06 feat(ext): unify command output on Result DTOs and add plan preview
  • dff0deb feat(output): add extension module error codes
  • b2dd8a9 feat(output): complete Epic 1 - unified output framework
  • 6d818f1...
Read more