PGSQL 仓库

PGSQL 仓库

import { File, Folder, Files } from ‘fumadocs-ui/components/files’; import { Badge } from “@/components/ui/badge”; import { KeyRound, FileTerminal } from “lucide-react”;

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.

快速上手

curl https://repo.pigsty.io/pig | bash      # download and install the pig CLI tool
pig repo add all pigsty -u                  # add pigsty-pgsql repo and update cache
# 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
# 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 yum makecache;

兼容性

Linux 发行版 版本 架构 系统代码 PostgreSQL 版本
RHEL9 / Rocky9 / Alma9 EL9 x86_64 el9.x86_64 17, 16, 15, 14, 13
RHEL9 / Rocky9 / Alma9 EL9 aarch64 el9.aarch64 17, 16, 15, 14, 13
RHEL8 / Rocky8 / Alma8 EL8 x86_64 el8.x86_64 17, 16, 15, 14, 13
RHEL8 / Rocky8 / Alma8 EL8 aarch64 el8.aarch64 17, 16, 15, 14, 13
Ubuntu 24.04 (noble) U24 x86_64 u24.x86_64 17, 16, 15, 14, 13
Ubuntu 24.04 (noble) U24 aarch64 u24.aarch64 17, 16, 15, 14, 13
Ubuntu 22.04 (jammy) U22 x86_64 u22.x86_64 17, 16, 15, 14, 13
Ubuntu 22.04 (jammy) U22 aarch64 u22.aarch64 17, 16, 15, 14, 13
Debian 12 (bookworm) D12 x86_64 d12.x86_64 17, 16, 15, 14, 13
Debian 12 (bookworm) D12 aarch64 d12.aarch64 17, 16, 15, 14, 13

源代码

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.


变更日志

Date Name Old New RPM DEB
2025-05-26 pgdd - 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-22 openhalodb - 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-07 omnigres - 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-20 timescaledb - 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_tle 1.2.0 1.5.0
supautils 2.5.0 2.6.0
sslutils 1.3 1.4
pg_profile 4.7 4.8
pg_jsonschema 0.3.2 0.3.3
pg_incremental 1.1.1 1.2.0
ddl_historization 0.7 0.0.7
pg_sqlog 3.1.7 1.6
pg_random - -
pg_stat_monitor 2.1.0 2.1.1
2025-02-12 pg_profile 4.7 4.8
2024-10-16 pg_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