PGSQL Repo

PGSQL Repo

The pigsty-pgsql repo contains packages that are ad hoc to specific PostgreSQL Major Versions. (Often ad hoc to a specific Linux distro major version, too) Including extensions, and some kernel forks.

Quick Start

PIG

You can install pig - the cli tool, and add pgdg / pigsty repo with it (recommended):

curl https://repo.pigsty.io/pig | bash      # download and install the pig CLI tool
pig repo add pigsty                         # add pigsty-pgsql repo
pig repo add pgdg                           # add pgdg repo
pig repo add pgsql -u                       # add pgdg + pigsty-pgsql repo and update cache (recommended)

APT

You can also enable this repo with apt directly on Debian / Ubuntu:

# Add Pigsty's GPG public key to your system keychain to verify package signatures
curl -fsSL https://repo.pigsty.io/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg

# Get Debian distribution codename (distro_codename=jammy, focal, bullseye, bookworm), and write the corresponding upstream repository address to the APT List file
distro_codename=$(lsb_release -cs)
sudo tee /etc/apt/sources.list.d/pigsty-io.list > /dev/null <<EOF
deb [signed-by=/etc/apt/keyrings/pigsty.gpg] https://repo.pigsty.io/apt/pgsql/${distro_codename} ${distro_codename} main
EOF

# Refresh APT repository cache
sudo apt update

DNF

You can also enable this repo with dnf/yum directly on EL-compatible systems:

# Add Pigsty's GPG public key to your system keychain to verify package signatures
curl -fsSL https://repo.pigsty.io/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null

# Add Pigsty Repo definition files to /etc/yum.repos.d/ directory, including two repositories
sudo tee /etc/yum.repos.d/pigsty-pgsql.repo > /dev/null <<-'EOF'
[pigsty-pgsql]
name=Pigsty PGSQL For el$releasever.$basearch
baseurl=https://repo.pigsty.io/yum/pgsql/el$releasever.$basearch
skip_if_unavailable = 1
enabled = 1
priority = 1
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty
module_hotfixes=1
EOF

# Refresh YUM/DNF repository cache
sudo dnf makecache;

Compatibility

Linux DistroVerArchOS CodePostgreSQL Major
RHEL9 / Rocky9 / Alma9EL9x86_64el9.x86_6417, 16, 15, 14, 13
RHEL9 / Rocky9 / Alma9EL9aarch64el9.aarch6417, 16, 15, 14, 13
RHEL8 / Rocky8 / Alma8EL8x86_64el8.x86_6417, 16, 15, 14, 13
RHEL8 / Rocky8 / Alma8EL8aarch64el8.aarch6417, 16, 15, 14, 13
Ubuntu 24.04 (noble)U24x86_64u24.x86_6417, 16, 15, 14, 13
Ubuntu 24.04 (noble)U24aarch64u24.aarch6417, 16, 15, 14, 13
Ubuntu 22.04 (jammy)U22x86_64u22.x86_6417, 16, 15, 14, 13
Ubuntu 22.04 (jammy)U22aarch64u22.aarch6417, 16, 15, 14, 13
Debian 12 (bookworm)D12x86_64d12.x86_6417, 16, 15, 14, 13
Debian 12 (bookworm)D12aarch64d12.aarch6417, 16, 15, 14, 13

Source

Building specs of this repo is open-sourced on GitHub:

If the platform is not supported, you can also build the packages from source code by yourself.


Changelog

DateNameOldNewRPMDEB
2025-05-26pgdd-0.6.0
convert-0.0.4
pg_idkit-0.3.0
pg_tokenizer.rs-0.1.0
pg_render-0.1.2
pgx_ulid-0.2.0
pg_ivm-1.11.0
orioledb-1.4.0b11
2025-05-22openhalodb-14.10
spat-0.1.0a4
pgsentinel-1.1.0
timescaledb-2.20.0
sqlite_fdw-2.5.0
documentdb-0.103.0
tzf-0.2.2
pg_vectorize-0.22.2
wrappers-0.5.0
2025-05-07omnigres-20250507
citus-12.0.3
timescaledb-2.19.3
supautils-2.9.1
pg_envvar-1.0.1
pgcollection-1.0.0
aggs_for_vecs-1.4.0
pg_tracing-0.1.3
pgmq-1.5.1
tzf-pg-0.2.0
pg_search-0.15.18
anon-2.1.1
pg_parquet-0.4.0
pg_cardano-1.0.5
pglite_fusion-0.0.5
vchord_bm25-0.2.1
vchord-0.3.0
timescaledb-toolkit-1.21.0
pgvectorscale-0.7.1
pg_session_jwt-0.3.1
2025-03-20timescaledb-2.19.0
citus-13.0.2
documentdb-1.102
pg_analytics-0.3.7
pg_search-0.15.8
pg_ivm-1.10
emaj-4.6.0
pgsql_tweaks-0.11.0
pgvectorscale-0.6.0
pg_session_jwt-0.2.0
wrappers-0.4.5
pg_parquet-0.3.1
vchord-0.2.2
pg_tle1.2.01.5.0
supautils2.5.02.6.0
sslutils1.31.4
pg_profile4.74.8
pg_jsonschema0.3.20.3.3
pg_incremental1.1.11.2.0
ddl_historization0.70.0.7
pg_sqlog3.1.71.6
pg_random--
pg_stat_monitor2.1.02.1.1
2025-02-12pg_profile4.74.8
2024-10-16pg_ivm-1.9
pg_timeseries-0.1.6
pgmq-1.4.4
pg_protobuf-16 17
pg_uuidv7-1.6
pg_readonly-latest
pgddl-0.28
pg_safeupdate-latest
pg_stat_monitor-2.1
pg_profile-4.7
system_stats-3.2
pg_auth_mon-3.0
login_hook-1.6
logerrors-2.1.3
pg-orphaned-latest
pgnodemx-1.7
sslutils-1.4 (+16,17)
Last updated on