Skip to content

PIG Blog

Articles, design notes, release notes, and project news for PIG — the PostgreSQL extension package manager by Pigsty.

PIG Blog
pig v1.8.1 clirepobuildcatalog
Bootstrapping a Pigsty Controller as a Recoverable Transaction styrepoinstall
pig v1.8.0 styrepoinventorycatalog
Catalog v2 Proposal: Immutable Typed Snapshots Instead of Bigger CSV catalogrepoextcli
PIG 2.0 Product Direction: A Proposal, Not a Release Contract clistycatalog
pig v1.7.0 repocatalogext
SOW: Postpartum Care for 100,000 Packages repobuildcatalog
pig v1.6.2 catalogrepoextsty
A Packaging Patch Has Been Corrupting Valkey's Memory Accounting Since 2017 buildrepo
pig v1.6.1 catalogextinstallrepo
pig v1.6.0 inventorypatronicatalogcli
Let Patronictl Speak for Itself patronicli
A Bounded Grafana Client Instead of Dashboard Shell Scripts sty
Use the CMDB Pigsty Already Has inventorysty
Edit the Declaration, Preserve the Document: Lossless Pigsty Inventory inventorysty
pig v1.5.1 repobuildext
Instantly Clone PostgreSQL Databases—No Black Magic Required postgresclisty
What Is a PostgreSQL Distribution? postgresrepoextsty
pig v1.5.0 patronipgbackrestcatalogpostgres
One Grammar for Dangerous Work: PIG's Operations CLI Safety Contract clipostgrespgbackrestpitr
Why PIG Keeps the Cobra Command Layer Flat cli
pig v1.4.2 patronibuildcatalogsty
Extensions for Everyone extrepocatalogbuild
pig v1.4.1 catalogpatroni
pig v1.4.0 buildcatalogpatronirepo
pig v1.3.4 catalog
504 Extensions: Expand the PostgreSQL Landscape extcatalogbuild
pig v1.3.3 catalog
pig v1.3.2 catalogbuildextpostgres
The 70% Tuner: Defining the Boundary of pig pg tune postgres
The PostgreSQL Extension Encyclopedia: Bilingual and Ready to Use extcatalogrepo
464 Extensions, Ready Out of the Box: The New PostgreSQL Extension Catalog extcatalogrepo
pig v1.3.1 buildcatalog
pig v1.3.0 catalogbuildcliext
pig v1.2.0 repostycatalogcli
Compile, Validate, Then Commit: The Native sty conf Pipeline styinventory
pig v1.1.1 reposty
pig v1.1.0 clipatronibuildcatalog
From Human-Friendly to Agent-Native: PIG's CLI Contract cli
pig v1.0.0 patronipgbackrestpostgrespitr
pig v0.9.0 styext
pig v0.8.1 ext
pig v0.8.0 repocatalogpatroni
pig v0.7.5 repo
pig v0.7.4 catalog
Forging a China-Rooted, Global PostgreSQL Distro postgresrepoextbuild
pig v0.7.3 repo
On Trusting Open-Source Supply Chains repobuild
pig v0.7.2 buildcatalog
PG Extension Cloud: Unlocking PostgreSQL’s Entire Ecosystem extrepocatalogcli
pig v0.7.1 ext
pig v0.7.0 buildrepocataloginstall
pig v0.6.2 repo
Build and Packaging: An Overlooked but Scarce Skill buildrepo
The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply Chain repoinstallbuild
pig v0.6.1 repo
pig v0.6.0 catalogext
PGDG Cuts Off Mirror Sync Channel repoinstall
pig v0.5.0 catalogsty
pig v0.4.2 catalogrepo

Extensions for Everyone

Ruohang Feng

A field report on the PostgreSQL extension ecosystem: 1,617 discovered projects, 511 deliverable extensions, and the shared delivery layer needed to make extensibility work for users, authors, …

  • pig v1.8.1

    By Ruohang Feng In Release

    Ruohang Fengclirepobuildcatalog

    Featured Image for pig v1.8.1

    Pig v1.8.1 is a safety, correctness, and maintenance release on top of v1.8.0. It hardens command initialization, privileged log access, repository and build workflows, release integrity, and structured-output redaction. It also refreshes the …

    Pig v1.8.1 is a safety, correctness, and maintenance release on top of v1.8.0. It hardens command initialization, privileged log access, repository and build workflows, release integrity, and structured-output redaction. It also refreshes the …

  • Bootstrapping a Pigsty Controller as a Recoverable Transaction

    By Ruohang Feng In Design

    Ruohang Fengstyrepoinstall

    Featured Image for Bootstrapping a Pigsty Controller as a Recoverable Transaction

    Decision date: 2026-08-14 Status: Implemented and released in pig v1.8.0. Current reference: pig sty boot Scope: Preparing a Pigsty controller and its package sources; not deploying a database cluster. Decision pig sty boot should be one native, …

    Decision date: 2026-08-14 Status: Implemented and released in pig v1.8.0. Current reference: pig sty boot Scope: Preparing a Pigsty controller and its package sources; not deploying a database cluster. Decision pig sty boot should be one native, …

  • pig v1.8.0

    By Ruohang Feng In Release

    Ruohang Fengstyrepoinventorycatalog

    Featured Image for pig v1.8.0

    Pig v1.8.0 makes Pigsty controller setup native. The two core setup commands, pig sty boot and pig sty conf, are now failure-aware Go workflows instead of wrappers around the legacy bootstrap and configure shell scripts. The release keeps the public …

    Pig v1.8.0 makes Pigsty controller setup native. The two core setup commands, pig sty boot and pig sty conf, are now failure-aware Go workflows instead of wrappers around the legacy bootstrap and configure shell scripts. The release keeps the public …

  • Catalog v2 Proposal: Immutable Typed Snapshots Instead of Bigger CSV

    By Ruohang Feng In Design

    Ruohang Fengcatalogrepoextcli

    Featured Image for Catalog v2 Proposal: Immutable Typed Snapshots Instead of Bigger CSV

    Decision date: 2026-08-13 Status: Pre-implementation proposal; security mechanism, overlay scope, packaging, and path ADRs remain open. Current reference: pig ext and pig repo describe the v1 Catalog behavior. Scope: A candidate PIG 2.0 publication …

    Decision date: 2026-08-13 Status: Pre-implementation proposal; security mechanism, overlay scope, packaging, and path ADRs remain open. Current reference: pig ext and pig repo describe the v1 Catalog behavior. Scope: A candidate PIG 2.0 publication …

  • PIG 2.0 Product Direction: A Proposal, Not a Release Contract

    By Ruohang Feng In Design

    Ruohang Fengclistycatalog

    Featured Image for PIG 2.0 Product Direction: A Proposal, Not a Release Contract

    Decision date: 2026-08-13 Status: Proposal for owner review; it is not implemented and is not a PIG 2.0 release commitment. Current reference: PIG documentation and the current v1.8.1 release Scope: Candidate product boundaries and verification …

    Decision date: 2026-08-13 Status: Proposal for owner review; it is not implemented and is not a PIG 2.0 release commitment. Current reference: PIG documentation and the current v1.8.1 release Scope: Candidate product boundaries and verification …

  • pig v1.7.0

    By Ruohang Feng In Release

    Ruohang Fengrepocatalogext

    Featured Image for pig v1.7.0

    Pig v1.7.0 is a repository compatibility and catalog release on top of v1.6.2. It makes China-mirror selection explicit, preserves native DNF module filtering by default, restores a streamlined EL7 repository catalog, and grows the bundled extension …

    Pig v1.7.0 is a repository compatibility and catalog release on top of v1.6.2. It makes China-mirror selection explicit, preserves native DNF module filtering by default, restores a streamlined EL7 repository catalog, and grows the bundled extension …

  • SOW: Postpartum Care for 100,000 Packages

    By Ruohang Feng In Article

    Ruohang Fengrepobuildcatalog

    Featured Image for SOW: Postpartum Care for 100,000 Packages

    Today, let’s talk about Postpartum Care for Sows—a Chinese meme for the sort of absurdly specialized practical topic nobody expects to discuss. This time, the sow in question is my new open-source project, SOW. When you maintain a PostgreSQL …

    Today, let’s talk about Postpartum Care for Sows—a Chinese meme for the sort of absurdly specialized practical topic nobody expects to discuss. This time, the sow in question is my new open-source project, SOW. When you maintain a PostgreSQL …

  • pig v1.6.2

    By Ruohang Feng In Release

    Ruohang Fengcatalogrepoextsty

    Featured Image for pig v1.6.2

    Pig v1.6.2 is a feature and catalog release on top of v1.6.1. It grows the packaged extension catalog from 562 to 572, adds native Grafana dashboard schema v2 support, and improves local repository generation. The embedded Pigsty version remains …

    Pig v1.6.2 is a feature and catalog release on top of v1.6.1. It grows the packaged extension catalog from 562 to 572, adds native Grafana dashboard schema v2 support, and improves local repository generation. The embedded Pigsty version remains …

  • A Packaging Patch Has Been Corrupting Valkey's Memory Accounting Since 2017

    By Ruohang Feng In Article

    Ruohang Fengbuildrepo

    Featured Image for A Packaging Patch Has Been Corrupting Valkey's Memory Accounting Since 2017

    I was updating the Redis module in Pigsty recently, adding Valkey as an alternative engine, and hit an upstream bug while packaging it. If your Valkey runs on Debian or Ubuntu, and one day the disk fills up or the data directory permissions go wrong …

    I was updating the Redis module in Pigsty recently, adding Valkey as an alternative engine, and hit an upstream bug while packaging it. If your Valkey runs on Debian or Ubuntu, and one day the disk fills up or the data directory permissions go wrong …

  • pig v1.6.1

    By Ruohang Feng In Release

    Ruohang Fengcatalogextinstallrepo

    Featured Image for pig v1.6.1

    pig v1.6.1 is a maintenance release on top of v1.6.0. It carries no new commands and no flag changes — the point of the release is the catalog that ships inside the binary. What changed Extension catalog refreshed. The embedded extension.csv is …

    pig v1.6.1 is a maintenance release on top of v1.6.0. It carries no new commands and no flag changes — the point of the release is the catalog that ships inside the binary. What changed Extension catalog refreshed. The embedded extension.csv is …

  • pig v1.6.0

    By Ruohang Feng In Release

    Ruohang Fenginventorypatronicatalogcli

    Featured Image for pig v1.6.0

    Pig v1.6.0 is a major release: pig pt becomes a transparent patronictl launcher, the new root-level pig inventory command group brings lossless editing and validation of pigsty.yml (with an experimental PostgreSQL CMDB bridge), pig sty grafana adds …

    Pig v1.6.0 is a major release: pig pt becomes a transparent patronictl launcher, the new root-level pig inventory command group brings lossless editing and validation of pigsty.yml (with an experimental PostgreSQL CMDB bridge), pig sty grafana adds …

  • Let Patronictl Speak for Itself

    By Ruohang Feng In Design

    Ruohang Fengpatronicli

    Featured Image for Let Patronictl Speak for Itself

    Decision date: 2026-07-21 Status: Implemented and released in pig v1.6.0. Current reference: pig pt Scope: Patronictl-backed cluster commands plus PIG-owned configuration selection, settings sugar, service, status, and log helpers. Decision pig pt …

    Decision date: 2026-07-21 Status: Implemented and released in pig v1.6.0. Current reference: pig pt Scope: Patronictl-backed cluster commands plus PIG-owned configuration selection, settings sugar, service, status, and log helpers. Decision pig pt …

  • A Bounded Grafana Client Instead of Dashboard Shell Scripts

    By Ruohang Feng In Design

    Ruohang Fengsty

    Featured Image for A Bounded Grafana Client Instead of Dashboard Shell Scripts

    Decision date: 2026-07-18 Status: Implemented in v1.6.0; Grafana dashboard schema v2 support followed in v1.6.2. Current reference: pig sty grafana Scope: Pigsty-owned dashboard folders, dashboards, and UI preferences; not general Grafana …

    Decision date: 2026-07-18 Status: Implemented in v1.6.0; Grafana dashboard schema v2 support followed in v1.6.2. Current reference: pig sty grafana Scope: Pigsty-owned dashboard folders, dashboards, and UI preferences; not general Grafana …

  • Use the CMDB Pigsty Already Has

    By Ruohang Feng In Design

    Ruohang Fenginventorysty

    Featured Image for Use the CMDB Pigsty Already Has

    Decision date: 2026-07-18 Status: The greenfield revision store is superseded; the thin existing-CMDB adapter is implemented and remains experimental. Current reference: pig inventory cmdb Scope: Exchanging declarations with Pigsty’s existing CMDB, …

    Decision date: 2026-07-18 Status: The greenfield revision store is superseded; the thin existing-CMDB adapter is implemented and remains experimental. Current reference: pig inventory cmdb Scope: Exchanging declarations with Pigsty’s existing CMDB, …

  • Edit the Declaration, Preserve the Document: Lossless Pigsty Inventory

    By Ruohang Feng In Design

    Ruohang Fenginventorysty

    Featured Image for Edit the Declaration, Preserve the Document: Lossless Pigsty Inventory

    Decision date: 2026-07-18 Status: Implemented and released in pig v1.6.0. Current reference: pig inventory Scope: Static Pigsty Inventory inspection, scoped editing, validation, comparison, and safe writes. Decision PIG treats pigsty.yml as both a …

    Decision date: 2026-07-18 Status: Implemented and released in pig v1.6.0. Current reference: pig inventory Scope: Static Pigsty Inventory inspection, scoped editing, validation, comparison, and safe writes. Decision PIG treats pigsty.yml as both a …

  • pig v1.5.1

    By Ruohang Feng In Release

    Ruohang Fengrepobuildext

    Featured Image for pig v1.5.1

    Pig v1.5.1 updates PG kernel forks to the latest package names. Highlights Add mirror/proxy mode to repo, build, sty, update, and extension update workflows; pig build rust -m also configures Cargo mirror settings with rsproxy.cn. Add explicit …

    Pig v1.5.1 updates PG kernel forks to the latest package names. Highlights Add mirror/proxy mode to repo, build, sty, update, and extension update workflows; pig build rust -m also configures Cargo mirror settings with rsproxy.cn. Add explicit …

  • Instantly Clone PostgreSQL Databases—No Black Magic Required

    By Ruohang Feng In Article

    Ruohang Fengpostgresclisty

    Featured Image for Instantly Clone PostgreSQL Databases—No Black Magic Required

    Six months ago, on January 8, 2026, I wrote Git for Data: Instant PostgreSQL Database and Instance Cloning, introducing a new feature in PostgreSQL 18 and Pigsty v4.0: instant database cloning. With filesystem copy-on-write (CoW) and PostgreSQL 18’s …

    Six months ago, on January 8, 2026, I wrote Git for Data: Instant PostgreSQL Database and Instance Cloning, introducing a new feature in PostgreSQL 18 and Pigsty v4.0: instant database cloning. With filesystem copy-on-write (CoW) and PostgreSQL 18’s …

  • What Is a PostgreSQL Distribution?

    By Ruohang Feng In Article

    Ruohang Fengpostgresrepoextsty

    Featured Image for What Is a PostgreSQL Distribution?

    People often ask me: what exactly is Pigsty? My usual answer is: a PostgreSQL distribution. The next question is usually: what, then, is a “PostgreSQL distribution”? That is a good question. And the best place to begin is not databases, but operating …

    People often ask me: what exactly is Pigsty? My usual answer is: a PostgreSQL distribution. The next question is usually: what, then, is a “PostgreSQL distribution”? That is a good question. And the best place to begin is not databases, but operating …

  • pig v1.5.0

    By Ruohang Feng In Release

    Ruohang Fengpatronipgbackrestcatalogpostgres

    Featured Image for pig v1.5.0

    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 …

    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 …

  • One Grammar for Dangerous Work: PIG's Operations CLI Safety Contract

    By Ruohang Feng In Design

    Ruohang Fengclipostgrespgbackrestpitr

    Featured Image for One Grammar for Dangerous Work: PIG's Operations CLI Safety Contract

    Decision date: 2026-07-02 Status: Released for pg, pb, pt, and pitr by v1.5.0; the 2026-08-29 do and build proxy refinements were released in v1.8.1. Current reference: pig pg, pig pb, pig pitr, pig do, and pig build Scope: PIG-owned operational …

    Decision date: 2026-07-02 Status: Released for pg, pb, pt, and pitr by v1.5.0; the 2026-08-29 do and build proxy refinements were released in v1.8.1. Current reference: pig pg, pig pb, pig pitr, pig do, and pig build Scope: PIG-owned operational …

  • Why PIG Keeps the Cobra Command Layer Flat

    By Ruohang Feng In Design

    Ruohang Fengcli

    Featured Image for Why PIG Keeps the Cobra Command Layer Flat

    Decision date: 2026-06-30 Status: Active repository architecture. Current reference: pig command overview and the source repository Scope: Go source ownership and command registration, not the public command taxonomy itself. Decision The cmd package …

    Decision date: 2026-06-30 Status: Active repository architecture. Current reference: pig command overview and the source repository Scope: Go source ownership and command registration, not the public command taxonomy itself. Decision The cmd package …

  • pig v1.4.2

    By Ruohang Feng In Release

    Ruohang Fengpatronibuildcatalogsty

    Featured Image for pig v1.4.2

    Refresh the built-in extension catalog from 510 to 524 available extensions. This adds 14 extensions: pg_stl, pgmnemo, psql_bm25s, pg_orca, pg_sorted_heap, graph, pgrdf, fsm_core, jsonschema, pg_durable, pg_mockable, pg_uuid_v8, pg_stat_backtrace, …

    Refresh the built-in extension catalog from 510 to 524 available extensions. This adds 14 extensions: pg_stl, pgmnemo, psql_bm25s, pg_orca, pg_sorted_heap, graph, pgrdf, fsm_core, jsonschema, pg_durable, pg_mockable, pg_uuid_v8, pg_stat_backtrace, …

  • Extensions for Everyone

    By Ruohang Feng In Article

    Ruohang Fengextrepocatalogbuild

    Featured Image for Extensions for Everyone

    Slide deck: Extensions for Everyone Part I. Introduction 0. Extensions for Everyone 00. Extensions for Everyone Hi everyone. This talk is called Extensions for Everyone. It is about delivering PostgreSQL extensions, and about how a shared delivery …

    Slide deck: Extensions for Everyone Part I. Introduction 0. Extensions for Everyone 00. Extensions for Everyone Hi everyone. This talk is called Extensions for Everyone. It is about delivering PostgreSQL extensions, and about how a shared delivery …

  • pig v1.4.1

    By Ruohang Feng In Release

    Ruohang Fengcatalogpatroni

    Featured Image for pig v1.4.1

    510 extensions, 3 new extensions, 20 updated. Ubuntu 26.04 resolute support, drop support for Ubuntu 20.04 focal. Bump el9.aarch64 ad hoc patroni to 4.1.2. Bump pgEdge to PostgreSQL 18. Calibrate upstream repo definition. Checksums Copy all …

    510 extensions, 3 new extensions, 20 updated. Ubuntu 26.04 resolute support, drop support for Ubuntu 20.04 focal. Bump el9.aarch64 ad hoc patroni to 4.1.2. Bump pgEdge to PostgreSQL 18. Calibrate upstream repo definition. Checksums Copy all …

  • pig v1.4.0

    By Ruohang Feng In Release

    Ruohang Fengbuildcatalogpatronirepo

    Featured Image for pig v1.4.0

    Refresh the extension catalog and increase the total available extensions to 510, 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 …

    Refresh the extension catalog and increase the total available extensions to 510, 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 …

  • pig v1.3.4

    By Ruohang Feng In Release

    Ruohang Fengcatalog

    Featured Image for pig v1.3.4

    Bump total available extensions to 504. Checksums Copy all checksums Download asset FileChecksum pig-1.3.4-1.aarch64.rpm Linuxarm64SHA-256 dc78def9…05fd pig-1.3.4-1.x86_64.rpm Linuxamd64SHA-256 998fcbda…e696 pig-v1.3.4.darwin-amd64.tar.gz …

    Bump total available extensions to 504. Checksums Copy all checksums Download asset FileChecksum pig-1.3.4-1.aarch64.rpm Linuxarm64SHA-256 dc78def9…05fd pig-1.3.4-1.x86_64.rpm Linuxamd64SHA-256 998fcbda…e696 pig-v1.3.4.darwin-amd64.tar.gz …

  • 504 Extensions: Expand the PostgreSQL Landscape

    By Ruohang Feng In Article

    Ruohang Fengextcatalogbuild

    Featured Image for 504 Extensions: Expand the PostgreSQL Landscape

    A GitHub issue turned into an extension sprint. 32 new additions say a lot about where PostgreSQL is headed. It Started with a Chemistry Extension Two days ago, a user opened a GitHub issue: he was using RDKit, the de facto standard library in …

    A GitHub issue turned into an extension sprint. 32 new additions say a lot about where PostgreSQL is headed. It Started with a Chemistry Extension Two days ago, a user opened a GitHub issue: he was using RDKit, the de facto standard library in …

  • pig v1.3.3

    By Ruohang Feng In Release

    Ruohang Fengcatalog

    Featured Image for pig v1.3.3

    Refresh extension catalog and increase total available extensions to 481. Bump Go toolchain from 1.26.0 to 1.26.2. Extension Updates Extension Old New Notes timescaledb 2.25.2 2.26.2 available, PG15-18 pg_background 1.8 1.9.2 DEB only, PG14-18 …

    Refresh extension catalog and increase total available extensions to 481. Bump Go toolchain from 1.26.0 to 1.26.2. Extension Updates Extension Old New Notes timescaledb 2.25.2 2.26.2 available, PG15-18 pg_background 1.8 1.9.2 DEB only, PG14-18 …

  • pig v1.3.2

    By Ruohang Feng In Release

    Ruohang Fengcatalogbuildextpostgres

    Featured Image for pig v1.3.2

    Routine maintenance release. Refresh a batch of extension version metadata and catalog entries. Add the pig pg tune subcommand to generate PostgreSQL tuning parameters from hardware resources and workload profiles. Add pdu and pgdog source package …

    Routine maintenance release. Refresh a batch of extension version metadata and catalog entries. Add the pig pg tune subcommand to generate PostgreSQL tuning parameters from hardware resources and workload profiles. Add pdu and pgdog source package …

  • The 70% Tuner: Defining the Boundary of pig pg tune

    By Ruohang Feng In Design

    Ruohang Fengpostgres

    Featured Image for The 70% Tuner: Defining the Boundary of pig pg tune

    Decision date: 2026-03-21 Status: Implemented on 2026-03-23 and released in pig v1.3.2. Current reference: pig pg tune Scope: A deterministic first-pass configuration for one local PostgreSQL instance, not a complete production design service. …

    Decision date: 2026-03-21 Status: Implemented on 2026-03-23 and released in pig v1.3.2. Current reference: pig pg tune Scope: A deterministic first-pass configuration for one local PostgreSQL instance, not a complete production design service. …

  • The PostgreSQL Extension Encyclopedia: Bilingual and Ready to Use

    By Ruohang Feng In Article

    Ruohang Fengextcatalogrepo

    Featured Image for The PostgreSQL Extension Encyclopedia: Bilingual and Ready to Use

    Directory: Chinese · English Extensions are the soul of PostgreSQL. Without them, PostgreSQL is just a very good relational database. With them, it becomes a platform that can swallow entire categories of database workloads. The problem is that the …

    Directory: Chinese · English Extensions are the soul of PostgreSQL. Without them, PostgreSQL is just a very good relational database. With them, it becomes a platform that can swallow entire categories of database workloads. The problem is that the …

  • 464 Extensions, Ready Out of the Box: The New PostgreSQL Extension Catalog

    By Ruohang Feng In Article

    Ruohang Fengextcatalogrepo

    Featured Image for 464 Extensions, Ready Out of the Box: The New PostgreSQL Extension Catalog

    Today I put Claude Code to work on another genuinely useful project: a completely new PostgreSQL extension catalog. You can find it at pigsty.io/ext. This is already the catalog’s fifth incarnation. After a long detour, it has returned to the Hugo + …

    Today I put Claude Code to work on another genuinely useful project: a completely new PostgreSQL extension catalog. You can find it at pigsty.io/ext. This is already the catalog’s fifth incarnation. After a long detour, it has returned to the Hugo + …

  • pig v1.3.1

    By Ruohang Feng In Release

    Ruohang Fengbuildcatalog

    Featured Image for pig v1.3.1

    This is a small maintenance release from v1.3.0 to v1.3.1. PG13 install/build support is removed because PGDG upstream has dropped PG13 archive/distribution. Active supported PostgreSQL major versions are now 14-18. Refresh extension catalog (461 -> …

    This is a small maintenance release from v1.3.0 to v1.3.1. PG13 install/build support is removed because PGDG upstream has dropped PG13 archive/distribution. Active supported PostgreSQL major versions are now 14-18. Refresh extension catalog (461 -> …

  • pig v1.3.0

    By Ruohang Feng In Release

    Ruohang Fengcatalogbuildcliext

    Featured Image for pig v1.3.0

    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 …

    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 …

  • pig v1.2.0

    By Ruohang Feng In Release

    Ruohang Fengrepostycatalogcli

    Featured Image for pig 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 …

    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 …

  • Compile, Validate, Then Commit: The Native sty conf Pipeline

    By Ruohang Feng In Design

    Ruohang Fengstyinventory

    Featured Image for Compile, Validate, Then Commit: The Native sty conf Pipeline

    Decision date: 2026-02-18; the production contract was finalized on 2026-08-14. Status: Implemented and released in pig v1.8.0. Current reference: pig sty conf Scope: Generating one validated static Inventory from a trusted Pigsty template; not …

    Decision date: 2026-02-18; the production contract was finalized on 2026-08-14. Status: Implemented and released in pig v1.8.0. Current reference: pig sty conf Scope: Generating one validated static Inventory from a trusted Pigsty template; not …

  • pig v1.1.1

    By Ruohang Feng In Release

    Ruohang Fengreposty

    Featured Image for pig v1.1.1

    Fixes Preserve symlink semantics during build-tree migration and support cross-device moves. Handle a PostgreSQL log directory configured as the filesystem root without resolving files outside the intended directory. Allow pig repo rm to remove …

    Fixes Preserve symlink semantics during build-tree migration and support cross-device moves. Handle a PostgreSQL log directory configured as the filesystem root without resolving files outside the intended directory. Allow pig repo rm to remove …

  • pig v1.1.0

    By Ruohang Feng In Release

    Ruohang Fengclipatronibuildcatalog

    Featured Image for pig v1.1.0

    This version is a planned architecture-level upgrade from v1.0.0 to v1.1.0 (79 commits, 193 files changed), with the core goal of moving pig from a “human-friendly CLI” to an “agent-native orchestratable CLI”. Seven new extensions are added, bringing …

    This version is a planned architecture-level upgrade from v1.0.0 to v1.1.0 (79 commits, 193 files changed), with the core goal of moving pig from a “human-friendly CLI” to an “agent-native orchestratable CLI”. Seven new extensions are added, bringing …

  • From Human-Friendly to Agent-Native: PIG's CLI Contract

    By Ruohang Feng In Design

    Ruohang Fengcli

    Featured Image for From Human-Friendly to Agent-Native: PIG's CLI Contract

    Decision date: 2026-02-12 Status: Implemented in pig v1.1.0 and refined by later command-layer work. Current reference: pig command overview Scope: PIG-owned commands and their machine-consumption contract; opaque passthrough commands keep their …

    Decision date: 2026-02-12 Status: Implemented in pig v1.1.0 and refined by later command-layer work. Current reference: pig command overview Scope: PIG-owned commands and their machine-consumption contract; opaque passthrough commands keep their …

  • pig v1.0.0

    By Ruohang Feng In Release

    Ruohang Fengpatronipgbackrestpostgrespitr

    Featured Image for pig v1.0.0

    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 …

    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 …

  • pig v0.9.0

    By Ruohang Feng In Release

    Ruohang Fengstyext

    Featured Image for pig v0.9.0

    Changes Rename pig sty install to pig sty deploy so the command name reflects that it runs the Pigsty deployment playbook. Add the -g, -p, and -o options to pig sty conf, aligning it with the configure script available in this release. Keep llvmjit …

    Changes Rename pig sty install to pig sty deploy so the command name reflects that it runs the Pigsty deployment playbook. Add the -g, -p, and -o options to pig sty conf, aligning it with the configure script available in this release. Keep llvmjit …

  • pig v0.8.1

    By Ruohang Feng In Release

    Ruohang Fengext

    Featured Image for pig v0.8.1

    Fix Restore llvmjit to the pgsql-full package alias after it was removed in v0.8.0. Bump the release version to v0.8.1. Checksums Copy all checksums Download asset FileChecksum pig-0.8.1-1.aarch64.rpm Linuxarm64SHA-256 fd9291b1…258c …

    Fix Restore llvmjit to the pgsql-full package alias after it was removed in v0.8.0. Bump the release version to v0.8.1. Checksums Copy all checksums Download asset FileChecksum pig-0.8.1-1.aarch64.rpm Linuxarm64SHA-256 fd9291b1…258c …

  • pig v0.8.0

    By Ruohang Feng In Release

    Ruohang Fengrepocatalogpatroni

    Featured Image for pig v0.8.0

    Extension Updates Total extensions reached 440 New extension: pg_ai_query 0.1.1 New extension: pg_textsearch 0.1.0 New extension: pg_clickhouse 0.1.0 pg_biscuit upgraded from 1.0 to 2.0.1 (switched to new repo, renamed to biscuit) pg_search upgraded …

    Extension Updates Total extensions reached 440 New extension: pg_ai_query 0.1.1 New extension: pg_textsearch 0.1.0 New extension: pg_clickhouse 0.1.0 pg_biscuit upgraded from 1.0 to 2.0.1 (switched to new repo, renamed to biscuit) pg_search upgraded …

  • pig v0.7.5

    By Ruohang Feng In Release

    Ruohang Fengrepo

    Featured Image for pig v0.7.5

    Extension Updates timescaledb 2.23.1 -> 2.24.0 pg_search 0.20.0 -> 0.20.3 convert 0.0.4 -> 0.0.5 pglinter 1.0.0 -> 1.0.1 pgdd 0.6.0 -> 0.6.1 pg_session_jwt 0.3.3 -> 0.4.0 pg_anon 2.4.1 -> 2.5.1 pg_enigma 0.4.0 -> 0.5.0 wrappers 0.5.6 -> 0.5.7 …

    Extension Updates timescaledb 2.23.1 -> 2.24.0 pg_search 0.20.0 -> 0.20.3 convert 0.0.4 -> 0.0.5 pglinter 1.0.0 -> 1.0.1 pgdd 0.6.0 -> 0.6.1 pg_session_jwt 0.3.3 -> 0.4.0 pg_anon 2.4.1 -> 2.5.1 pg_enigma 0.4.0 -> 0.5.0 wrappers 0.5.6 -> 0.5.7 …

  • pig v0.7.4

    By Ruohang Feng In Release

    Ruohang Fengcatalog

    Featured Image for pig v0.7.4

    Update extension metadata: pg_search, pgmq, pg_stat_monitor Update pgdg repo URL, the extras now move to parent directory Bump ivorysql to 5.0 (compatible with PG 18.0) Bump Percona Postgres TDE Kernel to 18.1 Checksums Copy all checksums Download …

    Update extension metadata: pg_search, pgmq, pg_stat_monitor Update pgdg repo URL, the extras now move to parent directory Bump ivorysql to 5.0 (compatible with PG 18.0) Bump Percona Postgres TDE Kernel to 18.1 Checksums Copy all checksums Download …

  • Forging a China-Rooted, Global PostgreSQL Distro

    By Ruohang Feng In Article

    Ruohang Fengpostgresrepoextbuild

    Featured Image for Forging a China-Rooted, Global PostgreSQL Distro

    Hi, I’m Feng Ruohang, author of Pigsty and an independent open-source contributor. Let’s talk about how to build a PostgreSQL distribution that is rooted in China and useful to the whole world. The question isn’t whether PG will win—it already has. …

    Hi, I’m Feng Ruohang, author of Pigsty and an independent open-source contributor. Let’s talk about how to build a PostgreSQL distribution that is rooted in China and useful to the whole world. The question isn’t whether PG will win—it already has. …

  • pig v0.7.3

    By Ruohang Feng In Release

    Ruohang Fengrepo

    Featured Image for pig v0.7.3

    Add new command: pig repo reload to update repo metadata Fix EL PGDG sysupdate aarch64 repo issue (now aarch64 repo ready) Fix EL10.aarch64 PGDG repo renaming issue Update extension versions Bump Pigsty version to 3.7.0 Checksums Copy all checksums …

    Add new command: pig repo reload to update repo metadata Fix EL PGDG sysupdate aarch64 repo issue (now aarch64 repo ready) Fix EL10.aarch64 PGDG repo renaming issue Update extension versions Bump Pigsty version to 3.7.0 Checksums Copy all checksums …

  • On Trusting Open-Source Supply Chains

    By Ruohang Feng In Article

    Ruohang Fengrepobuild

    Featured Image for On Trusting Open-Source Supply Chains

    Yesterday’s post “PG ‘Export Controls’ and Supply-Chain Trust” drew a comment from someone claiming to be an admin at a university mirror site (Tsinghua TUNA): “As a university mirror admin, calling us ‘lying flat’ or ‘irresponsible’ is unfair and …

    Yesterday’s post “PG ‘Export Controls’ and Supply-Chain Trust” drew a comment from someone claiming to be an admin at a university mirror site (Tsinghua TUNA): “As a university mirror admin, calling us ‘lying flat’ or ‘irresponsible’ is unfair and …

  • pig v0.7.2

    By Ruohang Feng In Release

    Ruohang Fengbuildcatalog

    Featured Image for pig v0.7.2

    Extension list update, + 6 new extensions, 437 total Add PGDG EL10 Sysupdate repo Add LLVM APT repo Use local extension.csv catalog in pig build sub command Updated extensions: vchord pg_later pgvectorscale pglite_fusion pgx_ulid pg_search citus …

    Extension list update, + 6 new extensions, 437 total Add PGDG EL10 Sysupdate repo Add LLVM APT repo Use local extension.csv catalog in pig build sub command Updated extensions: vchord pg_later pgvectorscale pglite_fusion pgx_ulid pg_search citus …

  • PG Extension Cloud: Unlocking PostgreSQL’s Entire Ecosystem

    By Ruohang Feng In Article

    Ruohang Fengextrepocatalogcli

    Featured Image for PG Extension Cloud: Unlocking PostgreSQL’s Entire Ecosystem

    WeChat link PostgreSQL’s killer feature is extensibility. PostGIS, pgvector, pg_duckdb, pg_search—extensions turn PG into GIS engine, vector DB, analytics warehouse, search cluster. But compiling and shipping them reliably across distros is a …

    WeChat link PostgreSQL’s killer feature is extensibility. PostGIS, pgvector, pg_duckdb, pg_search—extensions turn PG into GIS engine, vector DB, analytics warehouse, search cluster. But compiling and shipping them reliably across distros is a …

  • pig v0.7.1

    By Ruohang Feng In Release

    Ruohang Fengext

    Featured Image for pig v0.7.1

    The brand-new website: /ext/ Remove unnecessary sudo usage, now can be used inside docker Allow using pg18, pg17 arg format in pig ext link command Add environment var PIG_NO_SUDO to force not using sudo RPM Changelog: Add PG 18 support to almost …

    The brand-new website: /ext/ Remove unnecessary sudo usage, now can be used inside docker Allow using pg18, pg17 arg format in pig ext link command Add environment var PIG_NO_SUDO to force not using sudo RPM Changelog: Add PG 18 support to almost …

  • pig v0.7.0

    By Ruohang Feng In Release

    Ruohang Fengbuildrepocataloginstall

    Featured Image for pig v0.7.0

    Add support for Debian 13 and EL 10 distributions Massive extension updates to the latest versions with PostgreSQL 18 support Almost all Rust extensions now support PG 18 via pgrx 0.16.1 pig build command overhaul pig build pkg <pkg> will now …

    Add support for Debian 13 and EL 10 distributions Massive extension updates to the latest versions with PostgreSQL 18 support Almost all Rust extensions now support PG 18 via pgrx 0.16.1 pig build command overhaul pig build pkg <pkg> will now …

  • pig v0.6.2

    By Ruohang Feng In Release

    Ruohang Fengrepo

    Featured Image for pig v0.6.2

    Use official PG 18 repo instead of testing repo Add v prefix when specifying pigsty version string Improved network connectivity check Checksums Copy all checksums Download asset FileChecksum pig_0.6.2-1_amd64.deb Linuxamd64MD5 01f5b7dc…8347 …

    Use official PG 18 repo instead of testing repo Add v prefix when specifying pigsty version string Improved network connectivity check Checksums Copy all checksums Download asset FileChecksum pig_0.6.2-1_amd64.deb Linuxamd64MD5 01f5b7dc…8347 …

  • Build and Packaging: An Overlooked but Scarce Skill

    By Ruohang Feng In Article

    Ruohang Fengbuildrepo

    Featured Image for Build and Packaging: An Overlooked but Scarce Skill

    I was recently chatting with my friend Yurii, the founder of Omnigres. He wants to hire a PostgreSQL packaging expert and has even coined a title for the role: EEE, or Extension Ecosystem Engineer. It is an interesting idea. The job description is …

    I was recently chatting with my friend Yurii, the founder of Omnigres. He wants to hire a PostgreSQL packaging expert and has even coined a title for the role: EEE, or Extension Ecosystem Engineer. It is an interesting idea. The job description is …

  • The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply Chain

    By Ruohang Feng In Article

    Ruohang Fengrepoinstallbuild

    Featured Image for The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply Chain

    This month saw a high-profile “open source supply cut” incident — KubeSphere deleting images and running away, but there’s another slightly more subtle “chokepoint case” I mentioned last month — “Chokepoint: PGDG Cuts Mirror Sync Channels”. This …

    This month saw a high-profile “open source supply cut” incident — KubeSphere deleting images and running away, but there’s another slightly more subtle “chokepoint case” I mentioned last month — “Chokepoint: PGDG Cuts Mirror Sync Channels”. This …

  • pig v0.6.1

    By Ruohang Feng In Release

    Ruohang Fengrepo

    Featured Image for pig v0.6.1

    Add el10 and debian 13 trixie support stub Dedicated website: /docs/pig/ Rebuild with go 1.25 and CI/CD pipeline Use PIGSTY PGDG mirror in mainland China Remove unused pgdg-el10fix repo Use Pigsty WiltonDB mirror Add EL 10 dedicated epel repo pig …

    Add el10 and debian 13 trixie support stub Dedicated website: /docs/pig/ Rebuild with go 1.25 and CI/CD pipeline Use PIGSTY PGDG mirror in mainland China Remove unused pgdg-el10fix repo Use Pigsty WiltonDB mirror Add EL 10 dedicated epel repo pig …

  • pig v0.6.0

    By Ruohang Feng In Release

    Ruohang Fengcatalogext

    Featured Image for pig v0.6.0

    New extension catalog: https://ext.pgsty.com New subcommand: pig install to simplify pig ext install Add new kernel support: percona with pg_tde Add new package: Google GenAI MCP toolbox for databases Add new repo: percona repo and clickhouse repo …

    New extension catalog: https://ext.pgsty.com New subcommand: pig install to simplify pig ext install Add new kernel support: percona with pg_tde Add new package: Google GenAI MCP toolbox for databases Add new repo: percona repo and clickhouse repo …

  • PGDG Cuts Off Mirror Sync Channel

    By Ruohang Feng In Article

    Ruohang Fengrepoinstall

    Featured Image for PGDG Cuts Off Mirror Sync Channel

    Recently, while building Pigsty offline packages, I discovered that the PostgreSQL version installed during local testing wasn’t quite right - 17.4 was behind the latest 17.5 by one minor version. Also, when testing on EL10, I found several …

    Recently, while building Pigsty offline packages, I discovered that the PostgreSQL version installed during local testing wasn’t quite right - 17.4 was behind the latest 17.5 by one minor version. Also, when testing on EL10, I found several …

  • pig v0.5.0

    By Ruohang Feng In Release

    Ruohang Fengcatalogsty

    Featured Image for pig v0.5.0

    Update the extension list to 422 New extension: pgactive from AWS Bump timescaledb to 2.20.3 Bump citus to 13.1.0 Bump vchord to 0.4.3 Bug fix pgvectorscale debian/ubuntu pg17 failure Bump kubernetes repo to 1.33 Bump default pigsty version to 3.5.0 …

    Update the extension list to 422 New extension: pgactive from AWS Bump timescaledb to 2.20.3 Bump citus to 13.1.0 Bump vchord to 0.4.3 Bug fix pgvectorscale debian/ubuntu pg17 failure Bump kubernetes repo to 1.33 Bump default pigsty version to 3.5.0 …

  • pig v0.4.2

    By Ruohang Feng In Release

    Ruohang Fengcatalogrepo

    Featured Image for pig v0.4.2

    Update the extension list to 421 Add openhalo/orioledb support for Debian / Ubuntu pgdd 0.6.0 (pgrx 0.14.1) convert 0.0.4 (pgrx 0.14.1) pg_idkit 0.3.0 (pgrx 0.14.1) pg_tokenizer.rs 0.1.0 (pgrx 0.13.1) pg_render 0.1.2 (pgrx 0.12.8) pgx_ulid 0.2.0 …

    Update the extension list to 421 Add openhalo/orioledb support for Debian / Ubuntu pgdd 0.6.0 (pgrx 0.14.1) convert 0.0.4 (pgrx 0.14.1) pg_idkit 0.3.0 (pgrx 0.14.1) pg_tokenizer.rs 0.1.0 (pgrx 0.13.1) pg_render 0.1.2 (pgrx 0.12.8) pgx_ulid 0.2.0 …