PGDG Repo
The Pigsty PGSQL Repo is designed to work together with the official PostgreSQL Global Development Group (PGDG) repo. Together, they can provide up to 444 PostgreSQL Extensions out-of-the-box.
Mirror synced at 2025-12-01 18:00:00
Quick Start
You can install pig - the cli tool, and add pgdg repo with it (recommended):
pig repo add pgdg # add pgdg repo file
pig repo add pgdg -u # add pgdg repo and update cache
pig repo add pgdg -u --region=default # add pgdg repo, enforce using the default repo (postgresql.org)
pig repo add pgdg -u --region=china # add pgdg repo, always use the china mirror (repo.pigsty.cc)
pig repo add pgsql -u # pgsql = pgdg + pigsty-pgsql (add pigsty + official PGDG)
pig repo add -u # all = node + pgsql (pgdg + pigsty) + infraMirror
Since 2025-05, PGDG has closed the rsync/ftp sync channel, which makes almost all mirror site out-of-sync.
Currently, Pigsty, Yandex, Xtom are providing regular synced mirror service.
The pigsty pgdg mirror is a subset of official pgdg repo, cover EL 7-10, Debian 11-13, Ubuntu 20.04 - 24.04, with x86_64 & arm6 and pg 13 - 19alpha.
| OS Code | Vendor | Major | PG Major | Comment | |
|---|---|---|---|---|---|
el7.x86_64
|
EL | 7 | 18
17
16
15
14
13
|
EOL
|
|
el8.x86_64
|
EL | 8 | 18
17
16
15
14
13
|
Near EOL
|
|
el8.aarch64
|
EL | 8 | 18
17
16
15
14
13
|
Near EOL
|
|
el9.x86_64
|
EL | 9 | 18
17
16
15
14
13
|
OK
|
|
el9.aarch64
|
EL | 9 | 18
17
16
15
14
13
|
OK
|
|
el10.x86_64
|
EL | 10 | 18
17
16
15
14
13
|
OK
|
|
el10.aarch64
|
EL | 10 | 18
17
16
15
14
13
|
OK
|
|
d11.x86_64
|
Debian | 11 | 18
17
16
15
14
13
|
EOL
|
|
d11.aarch64
|
Debian | 11 | 18
17
16
15
14
13
|
EOL
|
|
d12.x86_64
|
Debian | 12 | 18
17
16
15
14
13
|
OK
|
|
d12.aarch64
|
Debian | 12 | 18
17
16
15
14
13
|
OK
|
|
d13.x86_64
|
Debian | 13 | 18
17
16
15
14
13
|
OK
|
|
d13.aarch64
|
Debian | 13 | 18
17
16
15
14
13
|
OK
|
|
u20.x86_64
|
Ubuntu | 20 | 18
17
16
15
14
13
|
EOL
|
|
u20.aarch64
|
Ubuntu | 20 | 18
17
16
15
14
13
|
EOL
|
|
u22.x86_64
|
Ubuntu | 22 | 18
17
16
15
14
13
|
OK
|
|
u22.aarch64
|
Ubuntu | 22 | 18
17
16
15
14
13
|
OK
|
|
u24.x86_64
|
Ubuntu | 24 | 18
17
16
15
14
13
|
OK
|
|
u24.aarch64
|
Ubuntu | 24 | 18
17
16
15
14
13
|
OK
|
EL YUM/DNF Repo info:
- { name: pgdg13 ,description: 'PostgreSQL 13' ,module: pgsql ,releases: [7,8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/13/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/13/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg14 ,description: 'PostgreSQL 14' ,module: pgsql ,releases: [7,8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/14/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/14/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg15 ,description: 'PostgreSQL 15' ,module: pgsql ,releases: [7,8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/15/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/15/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg16 ,description: 'PostgreSQL 16' ,module: pgsql ,releases: [ 8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/16/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/16/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg17 ,description: 'PostgreSQL 17' ,module: pgsql ,releases: [ 8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/17/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/17/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/17/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg18 ,description: 'PostgreSQL 18' ,module: pgsql ,releases: [ 8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/18/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/18/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/18/redhat/rhel-$releasever-$basearch' }}
- { name: pgdg19-beta ,description: 'PostgreSQL 19 Beta' ,module: beta ,releases: [ 8,9,10] ,arch: [x86_64, aarch64] ,baseurl: { default: 'https://download.postgresql.org/pub/repos/yum/testing/19/redhat/rhel-$releasever-$basearch' ,china: 'https://repo.pigsty.cc/yum/pgdg/testing/19/redhat/rhel-$releasever-$basearch' ,europe: 'https://mirrors.xtom.de/postgresql/repos/yum/testing/19/redhat/rhel-$releasever-$basearch' }}Debian / Ubuntu APT Repo info:
- { name: pgdg ,description: 'PGDG' ,module: pgsql ,releases: [11,12,13, 22,24] ,arch: [x86_64, aarch64] ,baseurl: { default: 'http://apt.postgresql.org/pub/repos/apt/ ${distro_codename}-pgdg main' ,china: 'https://repo.pigsty.cc/apt/pgdg/ ${distro_codename}-pgdg main' }}
- { name: pgdg-beta ,description: 'PGDG Beta' ,module: beta ,releases: [11,12,13, 22,24] ,arch: [x86_64, aarch64] ,baseurl: { default: 'http://apt.postgresql.org/pub/repos/apt/ ${distro_codename}-pgdg-testing main 19' ,china: 'https://repo.pigsty.cc/apt/pgdg/ ${distro_codename}-pgdg-testing main 19' }}