From: | Pigsty via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org> |
---|---|
To: | PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org> |
Subject: | ANNOUNCE pig: The Postgres Extension Wizard |
Date: | 2025-01-02 15:32:59 |
Message-ID: | 173583197994.681.15130666180188803601@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce |
Ever wished installing or upgrading PostgreSQL extensions didn’t feel like digging through outdated readmes, cryptic
configure scripts, or random GitHub forks & patches? The painful truth is that Postgres’s richness of extension often
comes at the cost of complicated setups—especially if you’re juggling multiple distros or CPU architectures.
Enter **Pig**, a Go-based package manager built to tame Postgres and its ecosystem
of [340+](https://ext.pigsty.io/#/list) extensions in one fell swoop. TimescaleDB, Citus, PGVector, 20+ Rust extensions,
plus every must-have piece to [self-host](https://pigsty.io/blog/db/supabase) Supabase — Pig’s unified CLI makes them
all effortlessly accessible. It cuts out messy source builds and half-baked repos, offering version-aligned RPM/DEB
packages that work seamlessly across Debian, Ubuntu, and RedHat flavors, as well as x86 & ARM arch. No guesswork, no drama.
Instead of reinventing the wheel, Pig piggyback your system’s native package manager (APT, YUM, DNF) and follow official
PGDG packaging conventions to ensure a glitch-free fit. That means you don’t have to choose between “the right way” and
“the quick way”; Pig respects your existing repos, aligns with standard OS best practices, and fits neatly alongside
other packages you already use.
Ready to give your Postgres superpowers without the usual hassle? Check out [GitHub](https://github.com/pgsty/pig)
for documentation, installation steps, and a peek at its massive [extension list](https://ext.pigsty.io/#/list). Then,
watch your local Postgres instance transform into a powerhouse of specialized modules—no black magic is required.
If [the future of Postgres is unstoppable extensibility](https://medium.com/@fengruohang/postgres-is-eating-the-database-world-157c204dcfc4),
Pig is the genie that helps you unlock it. Honestly, nobody ever complained that they had *too many* extensions.
## Resource
- [GitHub Repo](https://github.com/pgsty/pig)
- [PIG v0.1 Release](https://github.com/pgsty/pig)
- [Extension Repo](https://ext.pigsty.io)
- [Blog: The Idea Way to deliver PG Extensions](https://medium.com/@fengruohang/the-idea-way-to-deliver-postgresql-extensions-35646464bb71)
## Get Started
Install the `pig` cli first:
```bash
curl -fsSL https://repo.pigsty.io/pig | bash
```
Add necessary repos to your OS:
```bash
pig repo add all -u # add all repos and update cache
```
You can install pgdg kernel packages just like:
```bash
pig ext install pg17 # install native PGDG PostgreSQL 17 kernels packages
```
And any extension in the [catalog](https://ext.pigsty.io) with:
```bash
pig ext install pg_duckdb # install the pg_duckdb extension (for current pg17)
```
That's it! Check out the [full documentation](https://ext.pigsty.io/#/pig) for advanced usage.
From | Date | Subject | |
---|---|---|---|
Next Message | SQLPage via PostgreSQL Announce | 2025-01-06 21:01:44 | SQLPage v0.32: build web apps in SQL, now with more style ! |
Previous Message | Federico Campoli via PostgreSQL Announce | 2025-01-02 10:04:34 | pg_chameleon 2.0.20 |