这是本节的多页打印视图。 点击此处打印.

返回本页常规视图.

PostgreSQL 扩展插件

扩展是 PostgreSQL 的灵魂所在,Pigsty 制作、收录、整合了 421 个 PG 生态扩展,供用户开箱即用。

“PostgreSQL 正在吞噬数据库世界” (通过扩展!)

让我们一起使用 pig 包管理器与 pigsty 仓库 & 发行版,获取 421+ PostgreSQL 扩展凝为一体的复合超能力!

PostgreSQL Extension Ecosystem

1 - 包管理器:pig

PostgreSQL扩展包管理器 pig

Version: v0.4.2 License: Apache-2.0 Extensions: 421

pig 是一个开源的 PostgreSQL(与扩展)包管理器,在 主流Linux (amd64 / arm64) 发行版上可用。

pig 可以屏蔽 PG 安装的复杂度,利用OS原生包管理器一键安装 PostgreSQL 13-17 以及 421 个 PG生态扩展插件。

博客:交付 PostgreSQL 扩展的理想方式!

请注意:pig 旨在直接运行于 兼容的Linux操作系统 上,如果您使用容器,应当使用对应的带有 systemd 环境的 Linux 发行版镜像

1.1 - 快速上手

Get Started with pig, the PostgreSQL extension manager.

通过脚本安装 pig 包(或使用其他方式):

curl -fsSL https://repo.pigsty.io/pig | bash

安装完成后即可使用。假设你想安装 pg_duckdb 扩展:

$ pig repo add pigsty pgdg -u  # 添加 pgdg 和 pigsty 仓库,然后更新仓库缓存
$ pig ext install pg17         # 使用原生 PGDG 包安装 PostgreSQL 17 内核
$ pig ext install pg_duckdb    # 为当前的 pg17 安装 pg_duckdb 扩展

查看repoext管理命令的详细信息。

asciicast


示例

激进的仓库管理

默认的 pig repo add pigsty pgdg 会将 PGDG 仓库和 PIGSTY 仓库添加到你的系统中。 而以下命令会备份并清除你现有的仓库,然后添加所有需要的仓库到你的系统:

pig repo add all --ru        # 这将用 node、pgdg、pigsty 仓库覆盖所有现有仓库

还有一个更激进的仓库添加版本:repo set,它默认会覆盖你现有的仓库(-r)。

你可以在 /etc/apt/backup/etc/yum.repos.d/backup 找到你的旧仓库备份。

安装 PostgreSQL

你可以用以下命令安装 PostgreSQL 内核包:

pig ext install pg17          # 安装 PostgreSQL 17 内核(除开发包外的所有包)
pig ext install pg16-simple   # 安装 PostgreSQL 16 内核的最小包集
pig ext install pg15 -y       # 安装 PostgreSQL 15 内核并自动确认
pig ext install pg14=14.3     # 安装特定小版本的 PostgreSQL 14 内核
pig ext install pg13=13.10    # 安装 PostgreSQL 13 内核

你可以将已安装的 PostgreSQL 链接到系统路径:

pig ext link pg17             # 创建 /usr/pgsql 软链接,并写入 /etc/profile.d/pgsql.sh
. /etc/profile.d/pgsql.sh     # 重新加载路径并立即生效

你也可以使用其他包别名,它们会转换为你的操作系统发行版上对应的包名 其中的 $v 会被替换为当前活动或指定的 pg 版本号,如 1716 等:

pg17:        "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl postgresql$v-llvmjit",
pg16-core:   "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl postgresql$v-test postgresql$v-devel postgresql$v-llvmjit",
pg15-simple: "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl",
pg14-client: "postgresql$v",
pg13-server: "postgresql$v-server postgresql$v-libs postgresql$v-contrib",
pg17-devel:  "postgresql$v-devel",
更多别名
pgsql:        "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl postgresql$v-llvmjit",
pgsql-core:   "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl postgresql$v-test postgresql$v-devel postgresql$v-llvmjit",
pgsql-simple: "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl",
pgsql-client: "postgresql$v",
pgsql-server: "postgresql$v-server postgresql$v-libs postgresql$v-contrib",
pgsql-devel:  "postgresql$v-devel",
pgsql-basic:  "pg_repack_$v* wal2json_$v* pgvector_$v*",
postgresql:   "postgresql$v*",
pgsql-common: "patroni patroni-etcd pgbouncer pgbackrest pg_exporter pgbadger vip-manager",
patroni:      "patroni patroni-etcd",
pgbouncer:    "pgbouncer",
pgbackrest:   "pgbackrest",
pg_exporter:  "pg_exporter",
vip-manager:  "vip-manager",
pgbadger:     "pgbadger",
pg_activity:  "pg_activity",
pg_filedump:  "pg_filedump",
pgxnclient:   "pgxnclient",
pgformatter:  "pgformatter",
pgcopydb:     "pgcopydb",
pgloader:     "pgloader",
pg_timetable: "pg_timetable",
wiltondb:     "wiltondb",
polardb:      "PolarDB",
ivorysql:     "ivorysql3 ivorysql3-server ivorysql3-contrib ivorysql3-libs ivorysql3-plperl ivorysql3-plpython3 ivorysql3-pltcl ivorysql3-test",
ivorysql-all: "ivorysql3 ivorysql3-server ivorysql3-contrib ivorysql3-libs ivorysql3-plperl ivorysql3-plpython3 ivorysql3-pltcl ivorysql3-test ivorysql3-docs ivorysql3-devel ivorysql3-llvmjit",

为其他 PG 版本安装

pig 会使用你当前活动 PATH 中的默认 postgres 安装, 但你可以通过 -v(当使用 PGDG 约定时)为特定安装版本安装扩展, 或者为自定义安装指定任意 pg_config 路径。

pig ext install pg_duckdb -v 16     # 为 pg16 安装扩展
pig ext install pg_duckdb -p /usr/lib/postgresql/17/bin/pg_config    # 指定 pg17 的 pg_config  

安装特定版本

你也可以安装特定版本的 PostgreSQL 内核包:

pig ext install pgvector=0.7.0 # 安装 pgvector 0.7.0
pig ext install pg16=16.5      # 安装特定小版本的 PostgreSQL 16

注意 APT 仓库可能只提供最新的小版本软件(并且需要完整的版本字符串)

搜索扩展

你可以对扩展名、描述和类别进行模糊搜索:

$ pig ext ls olap

INFO[14:48:13] found 13 extensions matching 'olap':
Name            State  Version  Cate  Flags   License       Repo     PGVer  Package               Description
----            -----  -------  ----  ------  -------       ------   -----  ------------          ---------------------
citus           avail  13.0.1   OLAP  -dsl--  AGPL-3.0      PIGSTY   14-17  citus_17*             作为扩展的分布式 PostgreSQL
citus_columnar  avail  11.3-1   OLAP  -ds---  AGPL-3.0      PIGSTY   14-17  citus_17*             Citus 列式存储引擎
columnar        n/a    11.1-11  OLAP  -ds---  AGPL-3.0      PIGSTY   13-16  hydra_17*             Hydra 列式存储扩展
pg_analytics    avail  0.3.4    OLAP  -ds-t-  PostgreSQL    PIGSTY   14-17  pg_analytics_17       基于 DuckDB 的 Postgres 分析功能
pg_duckdb       avail  0.2.0    OLAP  -dsl--  MIT           PIGSTY   14-17  pg_duckdb_17*         嵌入 Postgres 的 DuckDB
pg_mooncake     avail  0.1.2    OLAP  ------  MIT           PIGSTY   14-17  pg_mooncake_17*       Postgres 中的列式存储表
duckdb_fdw      avail  1.0.0    OLAP  -ds--r  MIT           PIGSTY   13-17  duckdb_fdw_17*        DuckDB 外部数据包装器
pg_parquet      avail  0.2.0    OLAP  -dslt-  PostgreSQL    PIGSTY   14-17  pg_parquet_17         在 Postgres 和 Parquet 间复制数据
pg_fkpart       avail  1.7      OLAP  -d----  GPL-2.0       PIGSTY   13-17  pg_fkpart_17          基于外键的表分区工具
pg_partman      avail  5.2.4    OLAP  -ds---  PostgreSQL    PGDG     13-17  pg_partman_17*        按时间或 ID 管理分区表的扩展
plproxy         avail  2.11.0   OLAP  -ds---  BSD 0-Clause  PIGSTY   13-17  plproxy_17*           以过程语言实现的数据库分区
pg_strom        avail  5.2.2    OLAP  -ds--x  PostgreSQL    PGDG     13-17  pg_strom_17*          PG-Strom - 使用 GPU 和 NVME 加速大数据处理
tablefunc       added  1.0      OLAP  -ds-tx  PostgreSQL    CONTRIB  13-17  postgresql17-contrib  操作整个表的函数,包括交叉表

(13 Rows) (状态: added=已添加|avail=可用|n/a=不可用, 标志: b=有二进制文件, d=有DDL, s=有共享库, l=需要加载, t=可信任, r=可重定位, x=未知)

你可以使用 -v 16-p /path/to/pg_config 来查找其他 PostgreSQL 安装的扩展可用性。

打印扩展摘要

你可以使用 pig ext info 子命令获取扩展元数据:

$ pig ext info pg_duckdb
╭────────────────────────────────────────────────────────────────────────────╮
│ pg_duckdb                                                                  │
├────────────────────────────────────────────────────────────────────────────┤
│ DuckDB Embedded in Postgres                                                │
├────────────────────────────────────────────────────────────────────────────┤
│ Extension : pg_duckdb                                                      │
│ Alias     : pg_duckdb                                                      │
│ Category  : OLAP                                                           │
│ Version   : 0.3.1                                                          │
│ License   : MIT                                                            │
│ Website   : https://github.com/duckdb/pg_duckdb                            │
│ Details   : https://pigsty.io/ext/olap/pg_duckdb                           │
├────────────────────────────────────────────────────────────────────────────┤
│ Extension Properties                                                       │
├────────────────────────────────────────────────────────────────────────────┤
│ PostgreSQL Ver │  Available on: 17, 16, 15, 14│ CREATE  :  Yes │  CREATE EXTENSION pg_duckdb;│ DYLOAD  :  Yes │  SET shared_preload_libraries = 'pg_duckdb'│ TRUST   :  No  │  require database superuser to install                    │
│ Reloc   :  No  │  Schemas: []│ Depend  :  No  │                                                           │
├────────────────────────────────────────────────────────────────────────────┤
│ RPM Package                                                                │
├────────────────────────────────────────────────────────────────────────────┤
│ Repository     │  PIGSTY                                                   │
│ Package        │  pg_duckdb_$v*                                            │
│ Version        │  0.3.1                                                    │
│ Availability   │  17, 16, 15, 14├────────────────────────────────────────────────────────────────────────────┤
│ DEB Package                                                                │
├────────────────────────────────────────────────────────────────────────────┤
│ Repository     │  PIGSTY                                                   │
│ Package        │  postgresql-$v-pg-duckdb                                  │
│ Version        │  0.3.1                                                    │
│ Availability   │  17, 16, 15, 14├────────────────────────────────────────────────────────────────────────────┤
│ Known Issues                                                               │
├────────────────────────────────────────────────────────────────────────────┤
│ el8                                                                        │
├────────────────────────────────────────────────────────────────────────────┤
│ Additional Comments                                                        │
├────────────────────────────────────────────────────────────────────────────┤
│ broken on el8 (libstdc++ too low), conflict with duckdb_fdw                │
╰────────────────────────────────────────────────────────────────────────────╯

列出仓库

你可以使用 pig repo list 列出所有可用的仓库/模块(仓库集合):

$ pig repo list

os_environment: {code: el8, arch: amd64, type: rpm, major: 8}
repo_upstream:  # Available Repo: 32
  - { name: pigsty-local   ,description: 'Pigsty Local'       ,module: local    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'file:///www/pigsty' }
  - { name: pigsty-infra   ,description: 'Pigsty INFRA'       ,module: infra    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://repo.pigsty.io/yum/infra/$basearch' }
  - { name: pigsty-pgsql   ,description: 'Pigsty PGSQL'       ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://repo.pigsty.io/yum/pgsql/el$releasever.$basearch' }
  - { name: nginx          ,description: 'Nginx Repo'         ,module: infra    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://nginx.org/packages/rhel/$releasever/$basearch/' }
  - { name: baseos         ,description: 'EL 8+ BaseOS'       ,module: node     ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'https://dl.rockylinux.org/pub/rocky/$releasever/BaseOS/$basearch/os/' }
  - { name: appstream      ,description: 'EL 8+ AppStream'    ,module: node     ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'https://dl.rockylinux.org/pub/rocky/$releasever/AppStream/$basearch/os/' }
  - { name: extras         ,description: 'EL 8+ Extras'       ,module: node     ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'https://dl.rockylinux.org/pub/rocky/$releasever/extras/$basearch/os/' }
  - { name: powertools     ,description: 'EL 8 PowerTools'    ,module: node     ,releases: [8]              ,arch: [x86_64, aarch64]  ,baseurl: 'https://dl.rockylinux.org/pub/rocky/$releasever/PowerTools/$basearch/os/' }
  - { name: epel           ,description: 'EL 8+ EPEL'         ,module: node     ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'http://download.fedoraproject.org/pub/epel/$releasever/Everything/$basearch/' }
  - { name: pgdg-common    ,description: 'PostgreSQL Common'  ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg-el8fix    ,description: 'PostgreSQL EL8FIX'  ,module: pgsql    ,releases: [8]              ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/common/pgdg-centos8-sysupdates/redhat/rhel-8-x86_64/' }
  - { name: pgdg13         ,description: 'PostgreSQL 13'      ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/13/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg14         ,description: 'PostgreSQL 14'      ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/14/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg15         ,description: 'PostgreSQL 15'      ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg16         ,description: 'PostgreSQL 16'      ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/16/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg17         ,description: 'PostgreSQL 17'      ,module: pgsql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/17/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg-extras    ,description: 'PostgreSQL Extra'   ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.postgresql.org/pub/repos/yum/common/pgdg-rhel$releasever-extras/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg13-nonfree ,description: 'PostgreSQL 13+'     ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://download.postgresql.org/pub/repos/yum/non-free/13/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg14-nonfree ,description: 'PostgreSQL 14+'     ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://download.postgresql.org/pub/repos/yum/non-free/14/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg15-nonfree ,description: 'PostgreSQL 15+'     ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://download.postgresql.org/pub/repos/yum/non-free/15/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg16-nonfree ,description: 'PostgreSQL 16+'     ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://download.postgresql.org/pub/repos/yum/non-free/16/redhat/rhel-$releasever-$basearch' }
  - { name: pgdg17-nonfree ,description: 'PostgreSQL 17+'     ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://download.postgresql.org/pub/repos/yum/non-free/17/redhat/rhel-$releasever-$basearch' }
  - { name: timescaledb    ,description: 'TimescaleDB'        ,module: extra    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://packagecloud.io/timescale/timescaledb/el/$releasever/$basearch' }
  - { name: wiltondb       ,description: 'WiltonDB'           ,module: mssql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.copr.fedorainfracloud.org/results/wiltondb/wiltondb/epel-$releasever-$basearch/' }
  - { name: ivorysql       ,description: 'IvorySQL'           ,module: ivory    ,releases: [7,8,9]          ,arch: [x86_64]           ,baseurl: 'https://repo.pigsty.io/yum/ivory/el$releasever.$basearch' }
  - { name: groonga        ,description: 'Groonga'            ,module: groonga  ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'https://packages.groonga.org/almalinux/$releasever/$basearch/' }
  - { name: mysql          ,description: 'MySQL'              ,module: mysql    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://repo.mysql.com/yum/mysql-8.0-community/el/$releasever/$basearch/' }
  - { name: mongo          ,description: 'MongoDB'            ,module: mongo    ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/8.0/$basearch/' }
  - { name: redis          ,description: 'Redis'              ,module: redis    ,releases: [8,9]            ,arch: [x86_64, aarch64]  ,baseurl: 'https://rpmfind.net/linux/remi/enterprise/$releasever/redis72/$basearch/' }
  - { name: grafana        ,description: 'Grafana'            ,module: grafana  ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://rpm.grafana.com' }
  - { name: docker-ce      ,description: 'Docker CE'          ,module: docker   ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://download.docker.com/linux/centos/$releasever/$basearch/stable' }
  - { name: kubernetes     ,description: 'Kubernetes'         ,module: kube     ,releases: [7,8,9]          ,arch: [x86_64, aarch64]  ,baseurl: 'https://pkgs.k8s.io/core:/stable:/v1.31/rpm/' }
repo_modules:   # Available Modules: 19
  - all       : pigsty-infra, pigsty-pgsql, pgdg-common, pgdg-el8fix, pgdg-el9fix, pgdg17, pgdg16, pgdg15, pgdg14, pgdg13, baseos, appstream, extras, powertools, crb, epel, base, updates, security, backports
  - pigsty    : pigsty-infra, pigsty-pgsql
  - pgdg      : pgdg-common, pgdg-el8fix, pgdg-el9fix, pgdg17, pgdg16, pgdg15, pgdg14, pgdg13
  - node      : baseos, appstream, extras, powertools, crb, epel, base, updates, security, backports
  - infra     : pigsty-infra, nginx
  - pgsql     : pigsty-pgsql, pgdg-common, pgdg-el8fix, pgdg-el9fix, pgdg13, pgdg14, pgdg15, pgdg16, pgdg17, pgdg
  - extra     : pgdg-extras, pgdg13-nonfree, pgdg14-nonfree, pgdg15-nonfree, pgdg16-nonfree, pgdg17-nonfree, timescaledb, citus
  - mssql     : wiltondb
  - mysql     : mysql
  - docker    : docker-ce
  - kube      : kubernetes
  - grafana   : grafana
  - pgml      : pgml
  - groonga   : groonga
  - haproxy   : haproxyd, haproxyu
  - ivory     : ivorysql
  - local     : pigsty-local
  - mongo     : mongo
  - redis     : redis



1.2 - 为啥用它

为什么我们需要一个专为 PostgreSQL 及其生态组件于扩展而设计的包管理器?

有没有想过,安装或升级 PostgreSQL 扩展时,不再需要翻阅过时的 README、晦涩的 configure 脚本,或者随便找的 GitHub 分支和补丁?痛苦的现实是,Postgres 强大的扩展性往往意味着复杂的设置,尤其是在你需要兼顾多个发行版或 CPU 架构时。

pig-meme

这时,Pig 就应运而生了。Pig 是一个基于 Go 的包管理器,旨在一举解决 Postgres 及其超过 421 个扩展的问题。无论是 TimescaleDB、Citus、PGVector,还是 20 多个 Rust 扩展,甚至是自托管 Supabase 所需的所有工具 —— Pig 的统一命令行界面让这些都触手可及。 它去除了混乱的源代码编译和半成品的仓库,提供与 Debian、Ubuntu、RedHat 系列以及 x86 和 ARM 架构完美兼容的、版本对齐的 RPM/DEB 包。无需猜测,也无需麻烦。

pig

Pig 并不是重新发明轮子,而是利用你系统原生的包管理器(APT、YUM、DNF),并遵循官方 PGDG 包装规范,确保无缝对接。这意味着你不必在“正确的方式”和“快速的方式”之间做选择;Pig 尊重你现有的仓库,符合操作系统的最佳实践,并且与其他你已经使用的包完美兼容。

准备好在没有繁琐操作的情况下为你的 Postgres 增加超级能力吗?查看 GitHub 了解文档、安装步骤,并一睹其庞大的扩展列表。然后,看看你的本地 Postgres 实例如何变成一个充满专业模块的强大工具 —— 无需黑魔法。如果 Postgres 的未来是不可阻挡的可扩展性,那么 Pig 就是帮助你解锁这一未来的神灯。说实话,没人抱怨自己拥有太多扩展。

小猪骑大象:PG内核与扩展包管理神器

ANNOUNCE pig: The Postgres Extension Wizard




1.3 - 下载安装

使用脚本命令,YUM/APT 等方式安装 pig 包管理器

通过脚本安装

安装 pig 最简单的方法是运行以下脚本:

curl -fsSL https://repo.pigsty.io/pig | bash

该脚本会直接从 pigsty 仓库下载最新版本的 pig RPM/DEB 包,并通过 rpmdpkg 进行安装。


通过 YUM 安装

pig RPM 包可在 pigsty-infra YUM 仓库中获得,适用于所有 EL 兼容平台:

sudo tee /etc/yum.repos.d/pigsty.repo > /dev/null <<-'EOF'
[pigsty-infra]
name=Pigsty Infra for $basearch
baseurl=https://repo.pigsty.io/yum/infra/$basearch
enabled = 1
gpgcheck = 0
module_hotfixes=1
EOF

sudo yum makecache;

sudo yum install -y pig

通过 APT 安装

pig DEB 包可在 pigsty-infra APT 仓库中获得,适用于所有 Debian/Ubuntu 兼容平台:

sudo tee /etc/apt/sources.list.d/pigsty.list > /dev/null <<EOF
deb [trusted=yes] https://repo.pigsty.io/apt/infra generic main 
EOF

sudo apt update;

sudo apt install -y pig

自动更新

安装完成后,你可以使用以下命令将 pig 更新到最新版本:

pig update   # 将 pig 自身升级到最新版本



1.4 - Pigsty 命令行工具说明

pig 命令行工具总览

功能总览

pig - Linux包管理器(适用于PostgreSQL)和Pigsty的命令行工具

用法:
  pig [命令]

示例:

  # 开始使用:详情请查看 https://github.com/pgsty/pig
  pig repo add -ru        # 覆盖现有仓库并更新缓存
  pig ext  add pg17       # 安装可选的postgresql 17软件包
  pig ext  add pg_duckdb  # 安装特定的postgresql扩展

命令:
  pig repo : add rm update list info status create boot cache
  pig ext  : add rm update list info status import link build
  pig sty  : init boot conf install get list


PostgreSQL扩展管理器
  ext         管理PostgreSQL扩展 (pgext)
  repo        管理Linux软件仓库 (apt/dnf)

Pigsty管理命令
  sty         管理Pigsty安装

附加命令:
  build       构建Postgres扩展
  completion  为指定的shell生成自动补全脚本
  help        获取任何命令的帮助信息
  status      显示环境状态
  update      升级pig自身
  version     显示pig版本信息

标志:
      --debug              启用调试模式
  -h, --help               帮助信息
  -i, --inventory string   配置清单路径
      --log-level string   日志级别:debug, info, warn, error, fatal, panic (默认 "info")
      --log-path string    日志文件路径,默认为终端输出
  -t, --toggle             切换帮助信息

使用 "pig [command] --help" 获取关于命令的更多信息。

样例

环境状态

pig status                    # 显示操作系统、pg和pig状态
pig repo status               # 显示上游仓库状态
pig ext  status               # 显示pg扩展状态 

扩展管理

pig ext list    [query]       # 列出并搜索扩展      
pig ext info    [ext...]      # 获取特定扩展的信息
pig ext status  [-v]          # 显示已安装的扩展和pg状态
pig ext add     [ext...]      # 为当前pg版本安装扩展
pig ext rm      [ext...]      # 为当前pg版本移除扩展
pig ext update  [ext...]      # 更新扩展至最新版本
pig ext import  [ext...]      # 下载扩展到本地仓库
pig ext link    [ext...]      # 将postgres安装链接到路径
pig ext upgrade               # 获取最新的扩展目录

仓库管理

pig repo list                    # 可用仓库列表
pig repo info   [repo|module...] # 显示仓库信息
pig repo status                  # 显示当前仓库状态
pig repo add    [repo|module...] # 添加仓库和模块
pig repo rm     [repo|module...] # 移除仓库和模块
pig repo update                  # 更新仓库包缓存
pig repo create                  # 在当前系统上创建仓库
pig repo boot                    # 从离线包启动仓库
pig repo cache                   # 将仓库缓存为离线包

Pigsty管理

pig 也可以作为 Pigsty 的命令行工具 - 一个电池包含的免费 PostgreSQL RDS。 它带来了 HA, PITR, Monitoring, IaC, 以及所有扩展到你的 PostgreSQL 集群。

pig sty init     # 安装 pigsty 到 ~/pigsty 
pig sty boot     # 安装ansible和其他预依赖
pig sty conf     # 自动生成pigsty.yml配置文件
pig sty install  # 运行install.yml playbook

你可以使用 pig sty 子命令在当前节点上初始化 pigsty。




1.5 - 仓库管理:repo

如何使用 pig repo 子命令管理 APT/YUM 软件仓库?

pig repo 命令是一个全面的软件包仓库管理工具。 它提供了管理、添加、删除、创建和操作操作系统软件仓库的功能。 它同时支持基于 RPM(EL)和基于 Debian 的系统。


概述

pig repo - 管理 Linux APT/YUM 仓库

  pig repo list                    # 显示可用仓库列表             (info)
  pig repo info   [repo|module...] # 显示仓库详细信息             (info)
  pig repo status                  # 显示当前仓库状态             (info)
  pig repo add    [repo|module...] # 添加仓库和模块               (root)
  pig repo rm     [repo|module...] # 删除仓库和模块               (root)
  pig repo update                  # 更新仓库包缓存               (root)
  pig repo create                  # 在当前系统创建仓库           (root)
  pig repo boot                    # 从离线包启动仓库             (root)
  pig repo cache                   # 将仓库缓存为离线包           (root)

用法:
  pig repo [command]

别名:
  repo, r

示例:

  入门指南:https://pigsty.io/ext/pig/
  pig repo add -ru                 # 添加所有仓库并更新缓存(简单粗暴但有效)
  pig repo add pigsty -u           # 温和版本,仅添加 pigsty 仓库并更新缓存
  pig repo add node pgdg pigsty    # 安装 postgres 包所需的基本仓库
  pig repo add all                 # all = node + pgdg + pigsty
  pig repo add all extra           # extra 模块包含非免费和一些第三方扩展仓库
  pig repo update                  # 更新仓库缓存
  pig repo create                  # 更新本地仓库 /www/pigsty 元数据
  pig repo boot                    # 将 /tmp/pkg.tgz 解压到 /www/pigsty
  pig repo cache                   # 将 /www/pigsty 缓存到 /tmp/pkg.tgz


可用命令:
  add         添加新仓库
  boot        从离线包引导仓库
  cache       从本地仓库创建离线包
  create      创建本地 YUM/APT 仓库
  info        获取仓库详细信息
  list        打印可用仓库列表
  rm          移除仓库
  set         清除并覆盖仓库
  status      显示当前仓库状态
  update      更新仓库缓存

标志:
  -h, --help   显示帮助信息

全局标志:
      --debug              启用调试模式
  -i, --inventory string   配置清单路径
      --log-level string   日志级别:debug, info, warn, error, fatal, panic(默认 "info"      --log-path string    日志文件路径,默认输出到终端

示例

列出可用仓库并添加 PGDG 和 Pigsty 仓库,然后更新本地仓库缓存。

# 列出可用模块
pig repo list

# 添加 PGDG 和 Pigsty 仓库
pig repo add pgdg pigsty

# yum makecache 或 apt update
pig repo update

添加新仓库后,你需要更新仓库元数据缓存,你可以使用专门的 pig repo update 命令,或在 pig repo add 命令中使用 -u|--update 标志。

pig repo add pigsty -u    # 添加 pigsty 仓库并更新仓库缓存

如果你想在添加新仓库前清除所有现有仓库,你可以使用额外的 -r|--remove 标志,或使用专门的 pig repo set 子命令替代 pig repo add

pig repo add all --remove # 删除所有现有仓库并添加 node、pgdg、pigsty 仓库并更新仓库缓存
pig repo add -r           # 同上,如果缺少仓库/模块将使用默认的 `all` 别名来添加 node、pgdg、pigsty 仓库
pig repo set              # 同上,set 是 `add --remove` 的快捷方式,被删除的仓库文件会备份到 `/etc/yum.repos.d/backup` 或 `/etc/apt/sources.list.d/backup`

设置 PostgreSQL 安装所需仓库最简单粗暴但可靠的方式是清除所有现有仓库并添加所有必需的仓库:

pig repo set -u           # 清除所有现有仓库并添加所有必需的仓库并更新仓库缓存

模块

在 pigsty 中,所有仓库都被组织成模块,一个模块是仓库的集合。

模块名称可能在不同的操作系统发行版、主要版本、架构和地理区域中映射到不同的实际仓库。

Pigsty 会处理所有细节,你可以使用 pig repo list 列出所有仓库和模块。

repo_modules:   # 可用模块:19
  - all       : pigsty-infra, pigsty-pgsql, pgdg, baseos, appstream, extras, powertools, crb, epel, base, updates, security, backports
  - pigsty    : pigsty-infra, pigsty-pgsql
  - pgdg      : pgdg
  - node      : baseos, appstream, extras, powertools, crb, epel, base, updates, security, backports
  - infra     : pigsty-infra, nginx
  - pgsql     : pigsty-pgsql, pgdg-common, pgdg-el8fix, pgdg-el9fix, pgdg13, pgdg14, pgdg15, pgdg16, pgdg17, pgdg
  - extra     : pgdg-extras, pgdg13-nonfree, pgdg14-nonfree, pgdg15-nonfree, pgdg16-nonfree, pgdg17-nonfree, timescaledb, citus
  - mssql     : wiltondb
  - mysql     : mysql
  - docker    : docker-ce
  - kube      : kubernetes
  - grafana   : grafana
  - pgml      : pgml
  - groonga   : groonga
  - haproxy   : haproxyd, haproxyu
  - ivory     : ivorysql
  - local     : pigsty-local
  - mongo     : mongo
  - redis     : redis

通常安装 PostgreSQL 和所有扩展需要以下 3 个模块:

  • pgdg:官方 PostgreSQL 仓库,包含 PG 内核包、工具和 100+ 扩展。
  • pigsty:Pigsty 扩展仓库,包含 200+ 额外扩展和工具。
  • node:操作系统默认仓库,提供 PostgreSQL 所需的所有库和依赖。

有一个方便的伪模块别名 all,包含了上述 3 个基本模块。 你可以使用 pig repo add all 添加所有这些模块,或使用更简单的缩写:pig repo add


repo list

列出当前系统可用的仓库模块和仓库。

print available repo list

Usage:
  pig repo list [flags]

Aliases:
  list, l, ls

Examples:

  pig repo list                # 列出当前系统可用的仓库
  pig repo list all            # 列出所有未过滤的仓库原始数据


Flags:
  -h, --help   help for list

可用仓库定义在 cli/repo/assets/repo.yml 中, 如果你想修改仓库列表,可以通过在 ~/.pig/repo.yml 添加自己的 repo.yml 文件来实现。


repo add

向系统添加仓库配置文件。

添加新仓库

用法:
  pig repo add [flags]

别名:
  add, a, append

示例:

  pig repo add                      # = pig repo add all
  pig repo add all                  # 添加 node,pgsql,infra 仓库(推荐)
  pig repo add all -u               # 添加上述仓库并更新仓库缓存(或:--update)
  pig repo add all -r               # 添加所有仓库,删除旧仓库(或:--remove)
  pig repo add pigsty --update      # 添加 pigsty 扩展仓库并更新仓库缓存
  pig repo add pgdg --update        # 添加 pgdg 官方仓库并更新仓库缓存
  pig repo add pgsql node --remove  # 添加操作系统 + postgres 仓库,删除旧仓库
  pig repo add infra                # 添加可观测性、grafana & prometheus 堆栈、pg 二进制工具

  (注意系统仓库管理需要 sudo / root 权限)

  可用仓库模块:
  - all      :  pgsql + node + infra(推荐)
    - pigsty :  PostgreSQL 扩展仓库(默认)
    - pgdg   :  PGDG 官方 PostgreSQL 仓库(官方)
    - node   :  操作系统官方仓库(el/debian/ubuntu)
  - pgsql    :  pigsty + pgdg(所有可用的 pg 扩展)
  # 使用 pig repo list 查看可用仓库和模块

标志:
  -h, --help            显示帮助信息
      --region string   区域代码(default|china)
  -r, --remove          添加新仓库前删除现有仓库
  -u, --update          运行 apt update 或 dnf makecache

此命令:

  1. 根据以下条件验证指定模块是否存在并转换为实际仓库
  • 区域、发行版、操作系统主版本、架构
  1. 如果提供了 -r|--remove 标志,它会将现有仓库移动到备份文件夹:
  • EL 系统:/etc/yum.repos.d/backup
  • Debian 系统:/etc/apt/sources.list.d/backup
  1. 在系统的仓库目录中创建仓库文件
  • EL 系统:/etc/yum.repos.d/<module>.repo
  • Debian 系统:/etc/apt/sources.list.d/<module>.list
  1. 如果提供了 -u|--update 标志,它会运行 apt updatednf makecache 来更新仓库缓存。

如果不是以 root 身份运行,需要 sudo 权限。


repo set

repo add <...> --remove 相同,在添加新仓库前删除现有仓库。

清除并覆盖仓库

用法:
  pig repo set [flags]

别名:
  set, overwrite

示例:

  pig repo set all                  # 将仓库设置为 node,pgsql,infra(推荐)
  pig repo set all -u               # 将仓库设置为上述仓库并更新仓库缓存(或 --update)
  pig repo set pigsty --update      # 将仓库设置为 pigsty 扩展仓库并更新仓库缓存
  pig repo set pgdg   --update      # 将仓库设置为 pgdg 官方仓库并更新仓库缓存
  pig repo set infra                # 将仓库设置为可观测性、grafana & prometheus 堆栈、pg 二进制工具

  (注意系统仓库管理需要 sudo/root 权限)


标志:
  -h, --help            显示帮助信息
      --region string   区域代码
  -u, --update          运行 apt update 或 dnf makecache

如果不是以 root 身份运行,需要 sudo 权限。


repo update

更新仓库缓存,相当于 apt updateyum makecache

更新仓库缓存

用法:
  pig repo update [flags]

别名:
  update, u

示例:

  pig repo update                  # yum makecache 或 apt update


标志:
  -h, --help   显示帮助信息

如果不是以 root 身份运行,需要 sudo 权限。


repo rm

从系统中删除仓库文件。

删除仓库

用法:
  pig repo rm [flags]

别名:
  rm, remove

示例:

  pig repo rm                      # 删除(备份)所有现有仓库到备份目录
  pig repo rm all --update         # 删除模块 'all' 并更新仓库缓存
  pig repo rm node pigsty -u       # 删除模块 'node' 和 'pigsty' 并更新仓库缓存


标志:
  -h, --help     显示帮助信息
  -u, --update   运行 apt update 或 dnf makecache

它会从系统中删除仓库文件,如果提供了 -u|--update 标志,它会在删除仓库文件后运行 apt updatednf makecache 来更新仓库缓存。

在删除文件之前,该命令会创建现有仓库配置的备份。

如果不是以 root 身份运行,通常需要 sudo 权限。


repo status

打印系统仓库目录并列出系统包管理器可用的仓库。

显示当前仓库状态

用法:
  pig repo status [flags]

别名:
  status, s, st

标志:
  -h, --help   显示帮助信息

repo info

提供特定仓库或模块的详细信息。

获取仓库详细信息

用法:
  pig repo info [flags]

别名:
  info, i

标志:
  -h, --help   显示帮助信息

示例:

#-------------------------------------------------
名称       : pgdg
摘要       : PGDG
可用性     : 是(debian d12 amd64)
模块       : pgsql
系统架构   : [x86_64, aarch64]
系统发行版 : deb [11,12,20,22,24]
元数据     : trusted=yes
基础 URL   : http://apt.postgresql.org/pub/repos/apt/ ${distro_codename}-pgdg main
     china : https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/apt/ ${distro_codename}-pgdg main

# 默认仓库内容
# pgdg PGDG
deb [trusted=yes] http://apt.postgresql.org/pub/repos/apt/ bookworm-pgdg main

# 中国镜像仓库内容
# pgdg PGDG
deb [trusted=yes] https://mirrors.tuna.tsinghua.edu.cn/postgresql/repos/apt/ bookworm-pgdg main

它会打印给定仓库名称或模块名称的仓库信息。并且支持区域性镜像。


repo create

在指定目录创建本地 YUM/APT 仓库

创建本地 YUM/APT 仓库

用法:
  pig repo create [path...]

别名:
  create, cr

示例:

  pig repo create                    # 默认在 /www/pigsty 创建仓库
  pig repo create /www/mssql /www/b  # 在多个位置创建仓库

  (注意系统仓库管理需要 sudo/root 权限)

默认目录: /www/pigsty

此命令:

  1. 如果目录不存在则创建目录结构
  2. 使用仓库工具创建本地仓库(确保系统已安装这些工具)
  • EL 系统:createrepo_c
  • Debian 系统:dpkg-dev

如果不是以 root 身份运行,需要该目录的读/写权限。


repo cache

为离线使用创建仓库内容的压缩 tarball。

pig repo cache [directory_path] [package_path] [repo1,repo2,...]

参数:

  • directory_path:包含仓库的源目录(默认:/www
  • package_path:输出 tarball 路径(默认:当前目录下的 pigsty-pkg-<os>-<arch>.tgz
  • repos:要包含的仓库子目录的逗号分隔列表(默认:全部)

示例:

pig repo cache /www /tmp/pkg.tgz pigsty
pig repo cache /www /tmp/pkg.tgz pigsty mssql ivory

你可以在已创建的本地仓库上创建 tarball,并使用它从离线包引导新系统。


repo cache

从本地仓库创建离线包

从本地仓库创建离线包

用法:
  pig repo cache [flags]

别名:
  cache, c

示例:

  pig repo cache                    # 从 /www/pigsty 创建 /tmp/pkg.tgz 离线包
  pig repo cache -f                 # 强制覆盖现有包
  pig repo cache -d /srv            # 将默认内容目录 /www 覆盖为 /srv
  pig repo cache pigsty mssql       # 使用 pigsty 和 mssql 仓库创建 tarball
  pig repo c -f                     # 制作离线包的最简用法

  (注意系统仓库管理需要 sudo/root 权限)


标志:
  -d, --dir string    源仓库路径(默认 "/www/"  -h, --help          显示帮助信息
  -p, --path string   离线包路径(默认 "/tmp/pkg.tgz"

repo boot

从离线包引导本地仓库。

从离线包引导仓库

用法:
  pig repo boot [flags]

别名:
  boot, b, bt

示例:

  pig repo boot                    # 从 /tmp/pkg.tgz 引导仓库到 /www
  pig repo boot -p /tmp/pkg.tgz    # 从给定的包路径引导仓库
  pig repo boot -d /srv            # 引导仓库到另一个目录 /srv


标志:
  -d, --dir string    目标仓库路径(默认 "/www/"  -h, --help          显示帮助信息
  -p, --path string   离线包路径(默认 "/tmp/pkg.tgz"

参数:

  • offline_package:由 pig repo cache 创建的 tarball 路径
  • target_directory:解压仓库的目标目录(默认:/www

示例:

pig repo boot /tmp/pkg.tgz /www

此命令:

  1. 将 tarball 解压到目标目录
  2. 设置本地仓库配置
  3. 更新仓库元数据



1.6 - 扩展管理:ext

如何使用 pig ext 子命令管理 PostgreSQL 扩展插件?

pig ext 命令是一个用于管理 PostgreSQL 扩展的综合工具。 它允许用户搜索、安装、删除、更新和管理 PostgreSQL 扩展插件,甚至包括内核包。


概述

pig ext - 管理 PostgreSQL 扩展

  pig repo add -ru             # 添加所有仓库并更新缓存(简单粗暴但有效)
  pig ext add pg17             # 安装可选的 postgresql 17 包
  pig ext list duck            # 在目录中搜索扩展
  pig ext scan -v 17           # 扫描 pg 17 已安装的扩展
  pig ext add pg_duckdb        # 安装指定的 postgresql 扩展

用法:
  pig ext [命令]

别名:
  ext, e, ex, pgext, extension

示例:

  pig ext list    [query]      # 列出并搜索扩展
  pig ext info    [ext...]     # 获取特定扩展的信息
  pig ext status  [-v]         # 显示已安装的扩展和 pg 状态
  pig ext add     [ext...]     # 为当前 pg 版本安装扩展
  pig ext rm      [ext...]     # 为当前 pg 版本移除扩展
  pig ext update  [ext...]     # 将扩展更新到最新版本
  pig ext import  [ext...]     # 下载扩展到本地仓库
  pig ext link    [ext...]     # 将 postgres 安装链接到路径
  pig ext upgrade              # 升级到最新的扩展目录


可用命令:
  add         安装 postgres 扩展
  import      导入扩展包到本地仓库
  info        获取扩展信息
  link        将 postgres 链接到活动 PATH
  list        列出并搜索可用扩展
  rm          移除 postgres 扩展
  scan        扫描活动 pg 的已安装扩展
  status      显示活动 pg 上已安装的扩展
  update      更新当前 pg 版本的已安装扩展
  upgrade     将扩展目录升级到最新版本

标志:
  -h, --help          显示帮助信息
  -p, --path string   通过 pg_config 路径指定 postgres
  -v, --version int   通过主版本号指定 postgres

全局标志:
      --debug              启用调试模式
  -i, --inventory string   配置清单路径
      --log-level string   日志级别:debug, info, warn, error, fatal, panic(默认 "info"      --log-path string    日志文件路径,默认为终端

使用 "pig ext [命令] --help" 获取有关命令的更多信息。

示例

要安装 postgres 扩展,你首先需要设置 repo

pig repo add pgdg pigsty -u    # 温和的方式添加 pgdg 和 pigsty 仓库
pig repo set -u                # 暴力方式移除并添加所有必需的仓库

然后你就可以搜索并安装 PostgreSQL 扩展:

pig ext install pg_duckdb
pig ext install pg_partman
pig ext install pg_cron
pig ext install pg_repack
pig ext install pg_stat_statements
pig ext install pg_stat_kcache

查看 扩展列表 获取可用扩展及其名称。

  1. 当未指定 PostgreSQL 版本时,工具会尝试从 PATH 中的 pg_config 检测活动的 PostgreSQL 安装
  2. PostgreSQL 可以通过主版本号(-v)或 pg_config 路径(-p)指定。 如果给定 -v,pig 将使用给定版本的 PGDG 内核包的默认路径。
    • 在 EL 发行版上,PG$v 的路径是 /usr/pgsql-$v/bin/pg_config
    • 在 DEB 发行版上,PG$v 的路径是 /usr/lib/postgresql/$v/bin/pg_config 等 如果给定 -p,pig 将使用 pg_config 路径查找 PostgreSQL 安装。
  3. 扩展管理器根据底层操作系统支持不同的包格式:
    • RHEL/CentOS/Rocky Linux/AlmaLinux 使用 RPM 包
    • Debian/Ubuntu 使用 DEB 包
  4. 某些扩展可能有依赖项,这些依赖项会在安装过程中自动解析。
  5. 谨慎使用 -y 标志,因为它会自动确认所有提示。

Pigsty 假设你已经安装了官方的 PGDG 内核包,如果没有,你可以这样安装:

pig ext install pg17          # 安装 PostgreSQL 17 内核(除了 devel 包)

ext list

列出并搜索扩展目录中的可用扩展。

列出并搜索可用扩展

用法:
  pig ext list [query] [flags]

别名:
  list, l, ls, find

示例:

  pig ext list                # 列出所有扩展
  pig ext list postgis        # 通过名称/描述搜索扩展
  pig ext ls olap             # 列出 olap 类别的扩展
  pig ext ls gis -v 16        # 列出 pg 16 的 gis 类别扩展

默认扩展目录定义在 cli/ext/assets/pigsty.csv

你可以使用 pig ext upgrade 更新到最新的扩展目录,它会将最新的扩展目录数据下载到 ~/.pig/pigsty.csv


ext info

显示特定扩展的详细信息。

pig ext info [ext...]

示例:

pig ext info postgis        # 显示关于 PostGIS 的详细信息
pig ext info timescaledb    # 显示关于 TimescaleDB 的信息
$ pig ext info postgis        # 显示关于 PostGIS 的详细信息

╭────────────────────────────────────────────────────────────────────────────╮
│ postgis                                                                    │
├────────────────────────────────────────────────────────────────────────────┤
│ PostGIS 几何和地理空间类型及函数                                           │
├────────────────────────────────────────────────────────────────────────────┤
│ 扩展名   : postgis                                                         │
│ 别名     : postgis                                                         │
│ 类别     : GIS                                                            │
│ 版本     : 3.5.2                                                          │
│ 许可证   : GPL-2.0                                                        │
│ 网站     : https://git.osgeo.org/gitea/postgis/postgis                    │
│ 详情     : https://pigsty.io/gis/postgis                                  │
├────────────────────────────────────────────────────────────────────────────┤
│ 扩展属性                                                                   │
├────────────────────────────────────────────────────────────────────────────┤
│ PostgreSQL 版本 │  可用于: 17, 16, 15, 14, 13                             │
│ CREATE  :  是   │  CREATE EXTENSION postgis;                               │
│ DYLOAD  :  否   │  无需加载共享库                                          │
│ TRUST   :  否   │  需要数据库超级用户安装                                  │
│ Reloc   :  否   │  模式: []                                               │
│ Depend  :  否   │                                                          │
├────────────────────────────────────────────────────────────────────────────┤
│ 被以下扩展依赖                                                             │
├────────────────────────────────────────────────────────────────────────────┤
│ - postgis_topology                                                         │
│ - postgis_raster                                                           │
│ - postgis_sfcgal                                                           │
│ - postgis_tiger_geocoder                                                   │
│ - pgrouting                                                                │
│ - pointcloud_postgis                                                       │
│ - h3_postgis                                                               │
│ - mobilitydb                                                               │
│ - documentdb                                                               │
├────────────────────────────────────────────────────────────────────────────┤
│ RPM 包                                                                     │
├────────────────────────────────────────────────────────────────────────────┤
│ 仓库          │  PGDG                                                     │
│ 包名          │  postgis35_$v*                                            │
│ 版本          │  3.5.2                                                    │
│ 可用性        │  17, 16, 15, 14, 13                                       │
├────────────────────────────────────────────────────────────────────────────┤
│ DEB 包                                                                     │
├────────────────────────────────────────────────────────────────────────────┤
│ 仓库          │  PGDG                                                     │
│ 包名          │  postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts  │
│ 版本          │  3.5.2                                                    │
│ 可用性        │  17, 16, 15, 14, 13                                       │
╰────────────────────────────────────────────────────────────────────────────╯

status

显示活动 PostgreSQL 实例上已安装扩展的状态。

pig ext status [-c]

选项:

  • -c, --contrib: 包括 contrib 扩展

示例:

pig ext status              # 显示已安装的扩展
pig ext status -c           # 显示已安装的扩展,包括 contrib 扩展
pig ext status -v 16        # 显示 PostgreSQL 16 已安装的扩展

ext scan

扫描活动 PostgreSQL 实例以查找已安装的扩展。

pig ext scan [-v version]

它将扫描 postgres 扩展文件夹以查找所有实际安装的扩展。

$ pig ext status

Installed:
* PostgreSQL 17.4 (Debian 17.4-1.pgdg120+2)  85  Extensions

Active:
PG Version      :  PostgreSQL 17.4 (Debian 17.4-1.pgdg120+2)
Config Path     :  /usr/lib/postgresql/17/bin/pg_config
Binary Path     :  /usr/lib/postgresql/17/bin
Library Path    :  /usr/lib/postgresql/17/lib
Extension Path  :  /usr/share/postgresql/17/extension
Extension Stat  :  18 Installed (PIGSTY 8, PGDG 10) + 67 CONTRIB = 85 Total

Name                          Version  Cate   Flags   License       Repo    Package                                                  Description
----                          -------  ----   ------  -------       ------  ------------                                             ---------------------
timescaledb                   2.18.2   TIME   -dsl--  Timescale     PIGSTY  postgresql-17-timescaledb-tsl                            Enables scalable inserts and complex queries for time-series dat
postgis                       3.5.2    GIS    -ds---  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  PostGIS geometry and geography spatial types and functions
postgis_topology              3.5.2    GIS    -ds---  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  PostGIS topology spatial types and functions
postgis_raster                3.5.2    GIS    -ds---  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  PostGIS raster types and functions
postgis_sfcgal                3.5.2    GIS    -ds--r  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  PostGIS SFCGAL functions
postgis_tiger_geocoder        3.5.2    GIS    -ds-t-  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  PostGIS tiger geocoder and reverse geocoder
address_standardizer          3.5.2    GIS    -ds--r  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  Used to parse an address into constituent elements. Generally us
address_standardizer_data_us  3.5.2    GIS    -ds--r  GPL-2.0       PGDG    postgresql-17-postgis-3 postgresql-$v-postgis-3-scripts  Address Standardizer US dataset example
vector                        0.8.0    RAG    -ds--r  PostgreSQL    PGDG    postgresql-17-pgvector                                   vector data type and ivfflat and hnsw access methods
pg_search                     0.15.2   FTS    -ds-t-  AGPL-3.0      PIGSTY  postgresql-17-pg-search                                  pg_search: Full text search for PostgreSQL using BM25
pgroonga                      4.0.0    FTS    -ds-tr  PostgreSQL    PIGSTY  postgresql-17-pgroonga                                   Use Groonga as index, fast full text search platform for all lan
pgroonga_database             4.0.0    FTS    -ds-tr  PostgreSQL    PIGSTY  postgresql-17-pgroonga                                   PGroonga database management module
citus                         13.0.1   OLAP   -dsl--  AGPL-3.0      PIGSTY  postgresql-17-citus                                      Distributed PostgreSQL as an extension
citus_columnar                11.3-1   OLAP   -ds---  AGPL-3.0      PIGSTY  postgresql-17-citus                                      Citus columnar storage engine
pg_mooncake                   0.1.2    OLAP   ------  MIT           PIGSTY  postgresql-17-pg-mooncake                                Columnstore Table in Postgres
plv8                          3.2.3    LANG   -ds---  PostgreSQL    PIGSTY  postgresql-17-plv8                                       PL/JavaScript (v8) trusted procedural language
pg_repack                     1.5.2    ADMIN  bds---  BSD 3-Clause  PGDG    postgresql-17-repack                                     Reorganize tables in PostgreSQL databases with minimal locks
wal2json                      2.5.3    ETL    --s--x  BSD 3-Clause  PGDG    postgresql-17-wal2json                                   Changing data capture in JSON format

(18 Rows) (Flags: b = HasBin, d = HasDDL, s = HasSolib, l = NeedLoad, t = Trusted, r = Relocatable, x = Unknown)

ext add

安装一个或多个 PostgreSQL 扩展。

安装 postgres 扩展

用法:
  pig ext add [flags]

别名:
  add, a, install, ins

示例:

Description:
  pig ext install pg_duckdb                  # 安装一个扩展
  pig ext install postgis timescaledb        # 安装多个扩展
  pig ext add     pgvector pgvectorscale     # 其他别名:add, ins, i, a
  pig ext ins     pg_search -y               # 自动确认安装
  pig ext install pgsql                      # 安装最新版本的 postgresql kernel
  pig ext a pg17                             # 安装 postgresql 17 kernel packages
  pig ext ins pg16                           # 安装 postgresql 16 kernel packages
  pig ext install pg15-core                  # 安装 postgresql 15 core packages
  pig ext install pg14-main -y               # 安装 pg 14 + essential extensions (vector, repack, wal2json)
  pig ext install pg13-devel --yes           # 安装 pg 13 devel packages (auto-confirm)
  pig ext install pgsql-common               # 安装 common utils such as patroni pgbouncer pgbackrest,...


Flags:
  -h, --help   help for add
  -y, --yes   自动确认安装

ext rm

移除一个或多个 PostgreSQL 扩展。

pig ext rm [ext...] [-y]

选项:

  • -y, --yes: 自动确认移除

示例:

pig ext rm pg_duckdb                   # 移除特定扩展
pig ext rm postgis timescaledb         # 移除多个扩展
pig ext rm pgvector -y                 # 自动确认移除

ext update

更新已安装的扩展到最新版本。

pig ext update [ext...] [-y]

选项:

  • -y, --yes: 自动确认更新

示例:

pig ext update                         # 更新所有已安装的扩展
pig ext update postgis                 # 更新特定扩展
pig ext update postgis timescaledb     # 更新多个扩展
pig ext update -y                      # 自动确认更新

pig import

下载扩展包到本地仓库进行离线安装。

用法:
  pig ext import [ext...] [flags]

别名:
  import, get

示例:

  pig ext import postgis                # 导入 postgis 扩展包
  pig ext import timescaledb pg_cron    # 导入多个扩展
  pig ext import pg16                   # 导入 postgresql 16 包
  pig ext import pgsql-common           # 导入 common utilities
  pig ext import -d /www/pigsty postgis # 导入到特定路径


Flags:
  -h, --help          help for import
  -d, --repo string   specify repo dir (default "/www/pigsty")

选项:

  • -d, --repo: 指定仓库目录(默认:/www/pigsty)

示例:

pig ext import postgis                 # 导入 PostGIS 包
pig ext import timescaledb pg_cron     # 导入多个扩展包
pig ext import pg16                    # 导入 PostgreSQL 16 包
pig ext import pgsql-common            # 导入 common 实用程序包

将 PostgreSQL 安装链接到系统 PATH。

将 postgres 链接到活动 PATH

用法:
  pig ext link <-v pgver|-p pgpath> [flags]

别名:
  link, ln

示例:

  pig ext link 16                      # 将 pgdg postgresql 16 链接到 /usr/pgsql
  pig ext link /usr/pgsql-16           # 将特定 pg 链接到 /usr/pgsql
  pig ext link /u01/polardb_pg         # 将 polardb pg 链接到 /usr/pgsql
  pig ext link null|none|nil|nop|no    # 取消链接当前 postgres 安装


Flags:
  -h, --help   help for link

示例:

pig ext link 17                        # 将 PostgreSQL 17 链接到 /usr/pgsql
pig ext link 16                        # 将 PostgreSQL 16 链接到 /usr/pgsql
pig ext link /usr/pgsql-16             # 从特定路径将 PostgreSQL 链接至 /usr/pgsql
pig ext link null                      # 取消链接当前 PostgreSQL 安装

upgrade

将扩展目录升级到最新版本。

pig ext upgrade



1.7 - 管理 Pigsty

如何使用 pig sty 子命令管理 Pigsty 发行版本身?

概述

pig 也可以作为 Pigsty 的命令行工具使用 - Pigsty 是一个功能完备的免费 PostgreSQL RDS。 它为您的 PostgreSQL 集群带来了高可用、时间点恢复、监控、基础设施即代码以及所有扩展功能。

pig sty -初始化(下载)、引导、配置和安装 Pigsty

  pig sty init    [-pfvd]      # 安装 pigsty(默认安装到 ~/pigsty)
  pig sty boot    [-rpk]       # 安装 ansible 并准备离线包
  pig sty conf    [-civrsxn]   # 配置 pigsty 并生成配置文件
  pig sty install              # 使用 pigsty 安装和配置环境(危险操作!)
  pig sty get                  # 下载 pigsty 源代码包
  pig sty list                 # 列出可用的 pigsty 版本

用法:
  pig sty [命令]

别名:
  sty, s, pigsty

示例:
  入门指南:https://pigsty.io/docs/setup/install/
  pig sty init                 # 解压并初始化 ~/pigsty
  pig sty boot                 # 安装 ansible 和其他依赖
  pig sty conf                 # 生成 pigsty.yml 配置文件
  pig sty install             # 运行 pigsty/install.yml playbook

可用命令:
  boot        引导 Pigsty
  conf        配置 Pigsty
  get         下载可用的 pigsty 版本
  init        安装 Pigsty
  install     运行 pigsty install.yml playbook
  list        列出可用的 pigsty 版本

参数:
  -h, --help   显示帮助信息

您可以使用 pig sty 子命令在当前节点上引导 pigsty。


sty init

pig sty init
  -p | --path    : 安装路径,默认为 ~/pigsty
  -f | --force   : 强制覆盖现有的 pigsty 目录
  -v | --version : pigsty 版本,默认使用内置版本
  -d | --dir     : 下载目录,默认为 /tmp

用法:
  pig sty init [参数]

别名:
  init, i

示例:

  pig sty init                   # 使用内置版本安装到 ~/pigsty
  pig sty init -f                # 安装并覆盖现有的 pigsty 目录
  pig sty init -p /tmp/pigsty    # 安装到其他位置 /tmp/pigsty
  pig sty init -v 3.3            # 获取并安装特定版本 v3.3.0
  pig sty init 3                 # 获取并安装 v3 的最新版本


参数:
  -d, --dir string       pigsty 下载目录(默认为 "/tmp"  -f, --force           覆盖现有的 pigsty(默认为 false)
  -h, --help            显示帮助信息
  -p, --path string     目标目录(默认为 "~/pigsty"  -v, --version string  pigsty 版本字符串

sty boot

pig sty boot
  [-r|--region <region]   [default,china,europe]
  [-p|--path <path>]      指定另一个离线包路径
  [-k|--keep]             引导过程中保留现有的上游仓库

详情请查看 https://pigsty.io/docs/setup/offline/#bootstrap

用法:
  pig sty boot [参数]

别名:
  boot, b, bootstrap

参数:
  -h, --help            显示帮助信息
  -k, --keep            保留现有仓库
  -p, --path string     离线包路径
  -r, --region string   default,china,europe,...

sty conf

使用 ./configure 配置 pigsty

pig sty conf
  [-c|--conf <name>       # [meta|dual|trio|full|prod]
  [--ip <ip>]             # 主 IP 地址(使用 -s 跳过)
  [-v|--version <pgver>   # [17|16|15|14|13]
  [-r|--region <region>   # [default|china|europe]
  [-s|--skip]             # 跳过 IP 地址探测
  [-x|--proxy]            # 从环境变量写入代理设置
  [-n|--non-interactive]  # 非交互模式

详情请查看 https://pigsty.io/docs/setup/install/#configure

用法:
  pig sty conf [参数]

别名:
  conf, c, configure

示例:

  pig sty conf                       # 使用默认的 conf/meta.yml 配置
  pig sty conf -c rich -x            # 使用 rich.yml 模板,添加代理环境到配置中
  pig sty conf -c supa --ip=10.9.8.7 # 使用 supa 模板,将 10.9.8.7 设为主 IP
  pig sty conf -c full -v 16         # 使用 4 节点完整模板,默认使用 pg16
  pig sty conf -c oss -s             # 使用 oss 模板,跳过 IP 探测和替换
  pig sty conf -c slim -s -r china   # 使用 2 节点精简模板,指定 china 为区域


参数:
  -c, --conf string       配置模板名称
  -h, --help             显示帮助信息
      --ip string        主 IP 地址
  -n, --non-interactive  非交互式配置
  -p, --proxy           配置代理环境
  -r, --region string    上游仓库区域
  -s, --skip            跳过 IP 探测
  -v, --version string   PostgreSQL 主版本

sty install

运行 pigsty install.yml playbook

用法:
  pig sty install [参数]

别名:
  install, ins, install

参数:
  -h, --help   显示帮助信息



1.8 - 扩展构建:build

如何使用 pig build 命令构建 PostgreSQL 扩展并准备构建环境?

pig build 是一个强大的命令行工具,它简化了构建和管理 PostgreSQL 扩展的整个工作流程 - 从设置构建环境到跨不同操作系统编译扩展。


概述

Build Postgres Extension

Usage:
  pig build [command]

Aliases:
  build, b

Examples:
pig build - Build Postgres Extension

  pig build repo                   # init build repo (=repo set -ru)
  pig build tool  [mini|full|...]  # init build toolset
  pig build proxy [id@host:port ]  # init build proxy (optional)
  pig build rust  [-v <pgrx_ver>]  # init rustc & pgrx (0.12.9)
  pig build spec                   # init build spec repo
  pig build get   [all|std|..]     # get ext code tarball with prefixes
  pig build ext   [extname...]     # build extension


Available Commands:
  ext         Build extension
  get         Download source code tarball
  proxy       Initialize build proxy
  repo        Initialize required repos
  rust        Initialize rust and pgrx environment
  spec        Initialize building spec repo
  tool        Initialize build tools

Flags:
  -h, --help   help for build

Global Flags:
      --debug              enable debug mode
  -i, --inventory string   config inventory path
      --log-level string   log level: debug, info, warn, error, fatal, panic (default "info")
      --log-path string    log file path, terminal by default

示例

设置构建环境:

# 初始化仓库和工具
pig build repo
pig build tool
pig build spec

# 对于基于 Rust 的扩展
pig build rust

# 下载标准扩展
pig build get std                # 下载所有压缩包
pig build get citus timescaledb  # 下载特定压缩包

# 构建特定扩展
pig build ext citus

构建工作流

使用 pig build 构建 PostgreSQL 扩展的典型工作流程:

  1. 设置仓库: pig build repo
  2. 安装构建工具: pig build tool
  3. (可选) 设置代理: pig build proxy id@host:port
  4. (可选,用于 Rust 扩展) 设置 Rust: pig build rust
  5. 初始化构建规范: pig build spec
  6. 下载源代码: pig build get [prefixes]
  7. 构建扩展: pig build ext [extname...]

注意事项

  • EL 和 DEB 系统的构建过程有所不同
  • 某些命令可能需要 sudo 权限来安装系统包
  • 对于基于 Rust 的扩展,需要先设置 Rust 环境
  • 代理设置是可选的,仅在网络访问受限的环境中需要

操作系统支持

pig build 命令支持:

  • EL 发行版: RHEL, Rocky, CentOS (在版本 8 和 9 上测试通过)
  • DEB 发行版: Debian (在版本 12 上测试通过), Ubuntu (在版本 22.04 和 24.04 上测试通过)
  • 未来可能通过 homebrew 支持 MacOS

build repo

别名: r

通过运行带有更新和移除标志的仓库添加命令,添加构建 PostgreSQL 扩展所需的上游仓库。

pig build repo

build tool

别名: t

安装编译 PostgreSQL 扩展所需的构建工具。

pig build tool

参数:

  • mode: 安装模式 (默认: “mini”)
    • 可用模式取决于操作系统和发行版

此命令安装必要的构建依赖,包括:

对于 EL 发行版 (RHEL, Rocky, CentOS):

make, cmake, ninja-build, pkg-config, lld, git, lz4, unzip, ncdu, rsync, vray,
rpmdevtools, dnf-utils, pgdg-srpm-macros, postgresql1*-devel, postgresql1*-server, jq,
readline-devel, zlib-devel, libxml2-devel, lz4-devel, libzstd-devel, krb5-devel,

对于 DEB 发行版 (Debian, Ubuntu):

make, cmake, ninja-build, pkg-config, lld, git, lz4, unzip, ncdu, rsync, vray,
debhelper, devscripts, fakeroot, postgresql-all, postgresql-server-dev-all, jq,
libreadline-dev, zlib1g-dev, libxml2-dev, liblz4-dev, libzstd-dev, libkrb5-dev,

build rust

别名: rs

设置用于构建 PostgreSQL Rust 扩展的 Rust 环境和 PGRX。

pig build rust [-v <pgrx_ver>]

参数:

  • -v <pgrx_ver>: 要安装的 PGRX 版本 (默认: “0.12.9”)

此命令:

  1. 如果尚未安装,则使用 rustup 安装 Rust
  2. 安装指定版本的 cargo-pgrx
  3. 使用适当的 PostgreSQL 配置(版本 13-17)初始化 PGRX

build spec

别名: s

根据操作系统初始化构建规范仓库:

pig build spec
  • 对于 EL 发行版 (RHEL, Rocky, CentOS):

    1. 从 GitHub 克隆 RPM 规范仓库
    2. ~/rpmbuild 上设置 RPM 构建文件层次结构
  • 对于 DEB 发行版 (Debian, Ubuntu):

    1. 从 GitHub 克隆 DEB 规范仓库
    2. ~/deb 上设置构建目录文件层次结构

该仓库包含 PIGSTY 维护的扩展的构建规范(rpmspecs 或 debian control 文件)。


build get

别名: get

下载 PostgreSQL 扩展的源代码压缩包。

pig build get [prefixes|all|std]

参数:

  • std: 下载标准包(不包括大型包,默认行为)
  • all: 下载所有可用的源代码压缩包(用于批量构建)
  • [prefixes]: 一个或多个用于过滤要下载的包的前缀

下载的文件存储在:

  • EL: ~/rpmbuild/SOURCES/
  • DEB: ~/deb/tarball/

示例:

pig build get std                # 获取标准包(除了 pg_duckdb/pg_mooncake/omnigres/plv8,太大了)
pig build get all                # 获取所有可用的源代码压缩包

pig build get pg_mooncake        # 获取 pg_mooncake 源代码
pig build get pg_duckdb          # 获取 pg_duckdb 源代码
pig build get omnigres           # 获取 omnigres 源代码
pig build get plv8               # 获取 plv8 源代码

pig build get citus              # 获取 citus 源代码
pig build get timescaledb        # 获取 timescaledb 源代码
pig build get hydra              # 获取 hydra 源代码
pig build get pgjwt              # 获取 pgjwt 源代码
....

build ext

别名: e

使用当前操作系统的适当构建环境构建 PostgreSQL 扩展。

pig build ext [extname...]

参数:

  • extname: 要构建的一个或多个扩展名

对于每个扩展,该命令:

  1. 切换到适当的构建目录(~/rpmbuild/BUILD~/deb/build)
  2. 使用扩展名运行 make 命令(例如 make citus)
  3. 报告每个扩展构建的成功或失败

它实际上利用规范仓库中的 make <ext> 命令来构建扩展。


build proxy

别名: p

设置代理服务器以访问外部资源,在网络访问受限的环境中很有用。

这是完全可选的,如果你没有任何连接问题就不需要它。

pig build proxy [id@host:port] [local]

参数:

  • id@host:port: 远程 v2ray 代理规范,格式为 user-id@host:port
  • local: v2ray 要绑定的本地地址(默认: “127.0.0.1:12345”)

此命令:

  1. 如果尚未安装,则安装代理软件(/usr/local/bin/v2ray)
  2. 使用指定的远程和本地设置配置代理
  3. /etc/profile.d/proxy.sh 中创建环境设置脚本
  4. 配置代理服务
  5. 通过 curl google 测试代理连接

你可以通过运行以下命令加载代理环境变量:

. /etc/profile.d/proxy.sh

设置后,你可以使用以下别名:

  • po: 启用代理(在当前 shell 会话中设置代理环境变量)
  • px: 禁用代理(取消设置代理环境变量)
  • pck: 检查代理状态(通过 ping google)



1.9 - 可用系统

Linux 操作系统发行版兼容性矩阵,哪些发行版提供了开箱即用的扩展支持?

pig itself runs on any x86_64/aarch64 compatible Linux distribution.

But the pig extension repo only supports the following Linux distributions:

  • RHEL 8 / 9
  • Debian 12
  • Ubuntu 22.04 / 24.04
代码 发行版 x86_64 aarch64
el9 RHEL 9 / Rocky9 / Alma9 / … PG 17 - 13 PG 17 - 13
el8 RHEL 8 / Rocky8 / Alma8 / … PG 17 - 13 PG 17 - 13
u24 Ubuntu 24.04 (noble) PG 17 - 13 PG 17 - 13
u22 Ubuntu 22.04 (jammy) PG 17 - 13 PG 17 - 13
d12 Debian 12 (bookworm) PG 17 - 13 PG 17 - 13

以上 Linux 操作系统有以下已知限制和不兼容的扩展:




1.10 - 发行说明

pig 包管理器发布历史与变更记录
版本 发布时间 摘要 地址
v0.4.2 2025-05-27 421 扩展, halo & oriole deb v0.4.2
v0.4.1 2025-05-07 414 扩展, pg18 别名支持 v0.4.1
v0.4.0 2025-05-0? do & pt 子命令,halo & orioledb v0.4.0
v0.3.4 2025-04-05 例行更新 v0.3.4
v0.3.3 2025-03-25 alias, repo, deps v0.3.3
v0.3.2 2025-03-21 新增扩展 v0.3.2
v0.3.1 2025-03-19 小幅修复 v0.3.1
v0.3.0 2025-02-24 新主页与扩展目录 v0.3.0
v0.2.2 2025-02-22 404 个扩展 v0.2.2
v0.2.0 2025-02-14 400 个扩展 v0.2.0
v0.1.4 2025-02-12 例行修复 v0.1.4
v0.1.3 2025-01-23 390 个扩展 v0.1.3
v0.1.2 2025-01-12 anon 扩展及 350 余扩展 v0.1.2
v0.1.1 2025-01-09 更新扩展列表 v0.1.1
v0.1.0 2024-12-29 repo, ext, sty, 自更新 v0.1.0
v0.0.1 2024-12-23 初始发布 v0.0.1

v0.4.2

  • Update 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 (pgrx 0.12.7)
  • pg_ivm 1.11.0 for debian/ubuntu
  • orioledb 1.4.0 beta11
  • Add el7 repo back

校验和

bbf83fa3e3ec9a4dca82eeed921ae90a  pig_0.4.2-1_amd64.deb
e45753335faf80a70d4f2ef1d3100d72  pig_0.4.2-1_arm64.deb
966d60bbc2025ba9cc53393011605f9f  pig-0.4.2-1.aarch64.rpm
1f31f54da144f10039fa026b7b6e75ad  pig-0.4.2-1.x86_64.rpm
1eec26c4e69b40921e209bcaa4fe257a  pig-v0.4.2.linux-amd64.tar.gz
768d43441917a3625c462ce9f2b9d4ef  pig-v0.4.2.linux-arm64.tar.gz

Release: https://github.com/pgsty/pig/releases/tag/v0.4.2


v0.4.1

  • Update extension list to 414
  • add citus_wal2json and citus_pgoutput to pig ext scan mapping
  • Add PG 18 beta repo
  • Add PG 18 package alias

Extension Package Updates

  • 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 (pgrx 0.14.1)
  • pg_search 0.15.18 (pgrx 0.14.1)
  • anon 2.1.1 (pgrx 0.14.1)
  • pg_parquet 0.4.0 (0.14.1)
  • pg_cardano 1.0.5 (pgrx 0.12) -> 0.14.1
  • pglite_fusion 0.0.5 (pgrx 0.12.8) -> 14.1
  • vchord_bm25 0.2.1 (pgrx 0.13.1)
  • vchord 0.3.0 (pgrx 0.13.1)
  • pg_vectorize 0.22.1 (pgrx 0.13.1)
  • wrappers 0.4.6 (pgrx 0.12.9)
  • timescaledb-toolkit 1.21.0 (0.12.9)
  • pgvectorscale 0.7.1 (pgrx 0.12.9)
  • pg_session_jwt 0.3.1 (pgrx 0.12.6) -> 0.12.9

校验和

e2c1037c20f97c6f5930876ee82b6392  pig_0.4.1-1_amd64.deb
8197b6b5b95d1d1ae95e0a0e50355ecb  pig_0.4.1-1_arm64.deb
9d3a261d31c92fc73fe5bbfcd5b8e8ba  pig-0.4.1-1.aarch64.rpm
ffcec2a2ae965d14b9d3d80278fd340c  pig-0.4.1-1.x86_64.rpm
01d3128e782f35a20f0c81480cbe9025  pig-v0.4.1.linux-amd64.tar.gz
b2655628df326a1d0ed13f3dd8762c65  pig-v0.4.1.linux-arm64.tar.gz

Release: https://github.com/pgsty/pig/releases/tag/v0.4.1


v0.4.0

  • 扩展列表更新,可用扩展数达 407
  • 新增 pig do 子命令,用于执行 Pigsty 剧本任务
  • 新增 pig pt 子命令,封装 Patroni 命令行工具
  • 新增扩展别名:openhaloorioledb
  • gitlab-ce / gitlab-ee 仓库区分
  • 使用 Go 1.24.2 构建并升级依赖
  • 修复 git ext status 某些场景下 panic 问题
  • 修复 git ext scan 无法匹配部分扩展的问题

扩展包更新

  • pg_search 升级至 0.15.13
  • citus 升级至 13.0.3
  • timescaledb 升级至 2.19.1
  • pgcollection RPM 升级至 1.0.0
  • pg_vectorize RPM 升级至 0.22.1
  • pglite_fusion RPM 升级至 0.0.4
  • aggs_for_vecs RPM 升级至 1.4.0
  • pg_tracing RPM 升级至 0.1.3
  • pgmq RPM 升级至 1.5.1

校验和

bbc0adf94b342ac450c7999ea1c5ab76  pig_0.4.0-1_amd64.deb
7445b819624e7498b496edb12a36f426  pig_0.4.0-1_arm64.deb
835ce929afac0fb1f249f55571fbed97  pig-0.4.0-1.aarch64.rpm
25ba5a846095e17d2bfa2f15fe4e4b44  pig-0.4.0-1.x86_64.rpm
1568b163ffa23cb921ee439452ca4de9  pig-v0.4.0.linux-amd64.tar.gz
9f2ab3f5d1e29807a9642dfbe1dc9b0e  pig-v0.4.0.linux-arm64.tar.gz

发布页:https://github.com/pgsty/pig/releases/tag/v0.4.0


v0.3.4

curl https://repo.pigsty.io/pig | bash -s 0.3.4
  • 例行扩展元数据更新
  • epel 镜像由清华 tuna 换为阿里云
  • pigsty 版本号提升
  • 新增 gitlab 仓库

校验和

5c0bba04d955bbe6a29d24d31aa17c6b  pig-0.3.4-1.aarch64.rpm
42636b9fc64d7882391d856d36d715e7  pig-0.3.4-1.x86_64.rpm
1a6296421d642000ad75a5a41bc9ab96  pig-v0.3.4.linux-amd64.tar.gz
f7ea5ba8abaa89e866811e5b2508e82f  pig-v0.3.4.linux-arm64.tar.gz
2dd63cdb5965f78a48da462a0453001d  pig_0.3.4-1_amd64.deb
094b9e028e81c46d71ee315d8a223ada  pig_0.3.4-1_arm64.deb

发布页:https://github.com/pgsty/pig/releases/tag/v0.3.4


v0.3.3

  • 新增 pig build dep 命令安装扩展构建依赖
  • 默认仓库列表更新
    • mssql 模块使用 pigsty.io 镜像(wiltondb/babelfish)
    • docker 模块合并入 infra
    • el7 目标移除 pg16/17
  • 支持 el7 安装扩展
  • 包别名更新
    • pgsqlpgsql-mainpgsql-corepgsql-minipgsql-full
    • ivorysql 现指向 ivorysql4
    • timescaledb-utils
    • pgbackrest_exporter
    • 移除 pgsql-simple
  • 合并 #13 Bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
  • polardb 升级至 15.12.3.0-e1e6d85b
  • pig repo set 现自动更新元数据缓存
  • 清理内嵌 pigsty 压缩包

变更详情

新贡献者

完整变更日志: https://github.com/pgsty/pig/compare/v0.3.2...v0.3.3

发布页:https://github.com/pgsty/pig/releases/tag/v0.3.3

校验和

4e10567077e5d8cefd94d1c7aeb9478b  pig-0.3.3-1.aarch64.rpm
cc8a423abeb0f5316b427097993b9c6e  pig-0.3.3-1.x86_64.rpm
835d4f63b4ee0b36e2322a4ffef6527a  pig-v0.3.3.linux-amd64.tar.gz
c43e082c661e75d91f1c726e60911ea3  pig-v0.3.3.linux-arm64.tar.gz
938db83c5ca065419b8185adb285ed5a  pig_0.3.3-1_amd64.deb
75af6731adc4d31aa3458d70fc7f4e42  pig_0.3.3-1_arm64.deb

Release: https://github.com/pgsty/pig/releases/tag/v0.3.3


v0.3.2

增强

  • 新增扩展
  • 使用 upx 压缩二进制体积
  • 移除内嵌 pigsty,减小体积
  • pig build rust 支持 -y 强制重装 rust
  • pig build rust 支持 -v 指定 pgrx 版本

新增扩展

405 个 PG 扩展:

  • apache age 13 - 17 el rpm (1.5.0)
  • pgspider_ext 1.3.0(新扩展)
  • timescaledb 2.18.2 -> 2.19.0
  • citus 13.0.1 -> 13.0.2
  • documentdb 1.101-0 -> 1.102-0
  • pg_analytics: 0.3.4 -> 0.3.7
  • pg_search: 0.15.2 -> 0.15.8
  • pg_ivm 1.9 -> 1.10
  • emaj 4.4.0 -> 4.6.0
  • pgsql_tweaks 0.10.0 -> 0.11.0
  • pgvectorscale 0.4.0 -> 0.6.0 (pgrx 0.12.5)
  • pg_session_jwt 0.1.2 -> 0.2.0 (pgrx 0.12.6)
  • wrappers 0.4.4 -> 0.4.5 (pgrx 0.12.9)
  • pg_parquet 0.2.0 -> 0.3.1 (pgrx 0.13.1)
  • vchord 0.2.1 -> 0.2.2 (pgrx 0.13.1)
  • 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_snakeoil 1.3 -> 1.4
  • pg_jsonschema 0.3.2 -> 0.3.3
  • pg_incremental: 1.1.1 -> 1.2.0
  • pg_stat_monitor 2.1.0 -> 2.1.1
  • 修复 ddl_historization 版本 0.7 -> 0.0.7
  • 修复 pg_sqlog 3.1.7 -> 1.6
  • 修复 pg_random 移除 dev 后缀
  • asn1oid 1.5 -> 1.6
  • table_log 0.6.1 -> 0.6.4

校验和

f773aedf4a76d031f411cb38bc623134  pig-0.3.2-1.aarch64.rpm
fa9084877deb57d4882b7d9531ea0369  pig-0.3.2-1.x86_64.rpm
7f9a03c9dd23cba094191a8044fa0263  pig-v0.3.2.linux-amd64.tar.gz
adda8986efc048565834cda1ef206a20  pig-v0.3.2.linux-arm64.tar.gz
5b27cefdc716629db8f1fbc534f58691  pig_0.3.2-1_amd64.deb
936e85bda5818da4c20b758ebd65e618  pig_0.3.2-1_arm64.deb

发布页:https://github.com/pgsty/pig/releases/tag/v0.3.2


v0.3.1

例行修复

  • 修复 repo 格式化字符串
  • 修复 ext info 链接
  • 更新 pg_mooncake 元数据

校验和

9251aa18e663f1ecf239adcba3a798b9  pig-0.3.1-1.aarch64.rpm
3b91e7faa78c5f0283d27ffe632dda46  pig-0.3.1-1.x86_64.rpm
87c75dfd114252230c53ee8c5d60dac4  pig-v0.3.1.linux-amd64.tar.gz
82832ae767e226627087b97a87982daf  pig-v0.3.1.linux-arm64.tar.gz
4d99f9c03915accf413b6374b75f1bdb  pig_0.3.1-1_amd64.deb
e38e8a21ed73a37d4588053f8c900f7c  pig_0.3.1-1_arm64.deb

发布页:https://github.com/pgsty/pig/releases/tag/v0.3.1


v0.3.0

pig 项目现已拥有全新主页,并上线 PostgreSQL 扩展目录

curl https://repo.pigsty.io/pig | bash    # cloudflare 
curl https://repo.pigsty.cc/pig | bash    # china cdn

一条命令即可安装 PostgreSQL 内核及 404 个扩展。pig v0.3 也已内嵌于 Pigsty v3.3.0

新特性

pig build 子命令具备能力搭建扩展构建环境

pig build repo     # 初始化构建仓库 (=repo set -ru)
pig build tool     # 初始化构建工具集
pig build rust     # 安装 rustc & pgrx (0.12.9)
pig build spec     # 初始化 rpm/deb spec 仓库
pig build get      # 获取扩展源码包
pig build ext      # 构建扩展
## 下载大包
pig build get std          # 下载 std 小包
pig build get all          # 下载全部源码包
pig build get pg_mooncake
pig build get pg_duckdb
pig build get omnigres
pig build get plv8
pig build get citus

pig build ext citus
pig build ext timescaledb

以及如代理构建等其他工具:

pig build proxy                  # 安装 v2ray 代理
pig build proxy [user@host:port] # 初始化并配置代理

pig 0.3.0 已随 Pigsty 3.3.0 一同发布

新扩展

ext.pigsty.io 目录迁移至 https://pigsty.io/ext,信息更丰富!

校验和

9cc3848ab13c41a0415f1fea6294ad2d  pig-0.3.0-1.aarch64.rpm
ee99a6c1ff17975ed184f009a4b1aac5  pig-0.3.0-1.x86_64.rpm
b06f6b5aeaa83a9d76c9b563b2516e1c  pig-v0.3.0.linux-amd64.tar.gz
d783732413e4f32074adeab2d5d092c3  pig-v0.3.0.linux-arm64.tar.gz
7c942b8dbd78458d5371c1abca2571c6  pig_0.3.0-1_amd64.deb
c0a411cf53cb58706ca81b49b4fc840e  pig_0.3.0-1_arm64.deb

发布页:https://github.com/pgsty/pig/releases/tag/v0.3.0


v0.2.2

404 个扩展已在 Pig v0.2.2 提供

curl https://repo.pigsty.io/pig | bash -s v0.2.2
  • documentdb 0.101-0
  • pgcollection(新)0.9.1
  • pg_bzip(新)1.0.0
  • pg_net 0.14.0(部分发行版)
  • pg_curl 2.4.2
  • vault 0.3.1(SQL -> C)
  • table_version 1.10.3 -> 1.11.0
  • pg_duration 1.0.2
  • timescaledb 2.18.2
  • pg_analytics 0.3.4
  • pg_search 0.15.2
  • pg_graphql 1.5.11
  • vchord 0.1.1 -> 0.2.1(+13)
  • vchord_bm25 0.1.0 -> 0.1.1
  • pg_mooncake 0.1.1 -> 0.1.2
  • pg_duckdb 0.2.0 -> 0.3.1
  • pgddl 0.29
  • pgsql_tweaks 0.11.0

发布页:https://github.com/pgsty/pig/releases/tag/v0.2.2


v0.2.0

安装最新版 pig:

curl -fsSL https://repo.pigsty.io/pig | bash

新增扩展

扩展版本更新

  • citus 13.0.0 -> 13.0.1
  • pg_mooncake 0.1.0 -> 0.1.1
  • timescaledb 2.17.2 -> 2.18.1
  • supautils 2.5.0 -> 2.6.0
  • VectorChord 0.1.0 -> 0.2.0
  • pg_bulkload 3.1.22(+pg17)
  • pg_store_plan 1.8(+pg17)
  • pg_search 0.14 -> 0.15.1
  • pg_analytics 0.3.0 -> 0.3.2
  • pgroonga 3.2.5 -> 4.0.0
  • zhparser 2.2 -> 2.3
  • pg_vectorize 0.20.0 -> 0.21.1

发布页:https://github.com/pgsty/pig/releases/tag/v0.2.0


v0.1.4

安装最新版 pig:

curl -fsSL https://repo.pigsty.io/pig | bash

新增扩展

扩展版本更新

  • citus 13.0.0 -> 13.0.1
  • pg_mooncake 0.1.0 -> 0.1.1
  • timescaledb 2.17.2 -> 2.18.1
  • supautils 2.5.0 -> 2.6.0
  • VectorChord 0.1.0 -> 0.2.0
  • pg_bulkload 3.1.22(+pg17)
  • pg_store_plan 1.8(+pg17)
  • pg_search 0.14 -> 0.15.1
  • pg_analytics 0.3.0 -> 0.3.2
  • pgroonga 3.2.5 -> 4.0.0
  • zhparser 2.2 -> 2.3
  • pg_vectorize 0.20.0 -> 0.21.1

校验和

6da06705be1c179941327c836d455d35  pig-0.1.4-1.aarch64.rpm
9fa5712e3cfe56e0dcf22a11320b01b1  pig-0.1.4-1.x86_64.rpm
af506dc37f955a7a2e31ff11e227450c  pig-v0.1.4.linux-amd64.tar.gz
1e6eb3dc1ad26f49b07afabdd9142d4e  pig-v0.1.4.linux-arm64.tar.gz
83ae89b58bff003da5c3022eeac1786e  pig_0.1.4_amd64.deb
d6778e628d82bddf3fae1e058e1e05e4  pig_0.1.4_arm64.deb

pig-meme

发布页:https://github.com/pgsty/pig/releases/tag/v0.1.4


v0.1.3

v0.1.3,例行更新,现已支持 390 个扩展!

curl https://repo.pigsty.io/pig | bash
curl https://repo.pigsty.cc/pig | bash

校验和

c79b74f676b03482859f5519b279b657  pig-0.1.3-1.aarch64.rpm
1d00a7cd5855a65e4db964075a5e49f6  pig-0.1.3-1.x86_64.rpm
6cd8507b130fca093247278e36d9478b  pig-v0.1.3.linux-amd64.tar.gz
5eee92908701b0d456ec3c15bc817c0b  pig-v0.1.3.linux-arm64.tar.gz
cb376ef2c3512ad35ff43132942c0052  pig_0.1.3_amd64.deb
2b545abc617670a96c2edd13878e0227  pig_0.1.3_arm64.deb

发布页:https://github.com/pgsty/pig/releases/tag/v0.1.3


v0.1.2

351 个 PostgreSQL 扩展,含强大的 postgresql-anonymizer 2.0

安装 pig:

curl -fsSL https://repo.pigsty.io/pig | bash
curl -fsSL https://repo.pigsty.cc/pig | bash

新增扩展

  • 新增 pg_anon 2.0.0
  • 新增 omnisketch 1.0.2
  • 新增 ddsketch 1.0.1
  • 新增 pg_duration 1.0.1
  • 新增 ddl_historization 0.0.7
  • 新增 data_historization 1.1.0
  • 新增 schedoc 0.0.1
  • 新增 floatfile 1.3.1
  • 新增 pg_upless 0.0.3
  • 新增 pg_task 1.0.0
  • 新增 pg_readme 0.7.0
  • 新增 vasco 0.1.0
  • 新增 pg_xxhash 0.0.1

扩展更新

  • lower_quantile 1.0.3
  • quantile 1.1.8
  • sequential_uuids 1.0.3
  • pgmq 1.5.0(子目录)
  • floatvec 1.1.1
  • pg_parquet 0.2.0
  • wrappers 0.4.4
  • pg_later 0.3.0
  • topn 修复 deb.arm64
  • age 17 on debian
  • powa + pg17, 5.0.1
  • h3 + pg17
  • ogr_fdw + pg17
  • age + pg17 1.5 on debian
  • pgtap + pg17 1.3.3
  • repmgr
  • topn + pg17
  • pg_partman 5.2.4
  • credcheck 3.0
  • ogr_fdw 1.1.5
  • ddlx 0.29
  • postgis 3.5.1
  • tdigest 1.4.3
  • pg_repack 1.5.2

发布页:https://github.com/pgsty/pig/releases/tag/v0.1.2


v0.1.0

pig CLI v0.1 发布,主要特性如下:

安装脚本

curl -fsSL https://repo.pigsty.io/pig | bash     # cloudflare, 默认
curl -fsSL https://repo.pigsty.cc/pig | bash     # 中国大陆镜像

扩展管理

可通过 import 子命令下载扩展及依赖,link 激活不同 PG 主版本,build 准备构建环境

pig ext list    [query]      # 列出/搜索扩展
pig ext info    [ext...]     # 查询扩展详情
pig ext status  [-v]         # 显示已装扩展及 PG 状态
pig ext add     [ext...]     # 安装扩展
pig ext rm      [ext...]     # 卸载扩展
pig ext update  [ext...]     # 升级扩展
pig ext import  [ext...]     # 下载扩展到本地仓库
pig ext link    [ext...]     # 链接 PG 安装路径
pig ext build   [ext...]     # 构建扩展环境

仓库管理

可创建本地仓库并打包(离线包),拷贝至无网环境后引导为本地仓库:

pig repo list                    # 仓库列表
pig repo info   [repo|module...] # 仓库详情
pig repo status                  # 当前仓库状态
pig repo add    [repo|module...] # 添加仓库/模块
pig repo rm     [repo|module...] # 移除仓库/模块
pig repo update                  # 更新仓库缓存
pig repo create                  # 本地创建仓库
pig repo boot                    # 离线包引导仓库
pig repo cache                   # 缓存离线包

Pigsty 管理

pig 亦可作为 Pigsty CLI 工具:

pig sty init     # 安装内嵌 pigsty 至 ~/pigsty
pig sty boot     # 安装 ansible 及依赖
pig sty conf     # 自动生成 pigsty.yml 配置
pig sty install  # 执行安装剧本

自更新

可通过如下命令自更新 pig:

pig update

信息查询

pig info 现可展示更详细的 OS & PG 环境信息:

$ pig info

# [配置] ================================
Pig 版本        : 0.1.0
Pig 配置        : /home/vagrant/.pig/config.yml
日志级别        : info
日志路径        : stderr

# [操作系统] =============================
系统发行版代码  : el9
系统架构        : amd64
包类型          : rpm
厂商 ID         : rocky
系统版本        : 9
完整版本        : 9.3
版本代码        : el9

# [PG 环境] =============================
已安装:
* PostgreSQL 17.2  74  扩展

活跃:
PG 版本         :  PostgreSQL 17.2
配置路径        :  /usr/pgsql-17/bin/pg_config
二进制路径      :  /usr/pgsql-17/bin
库路径          :  /usr/pgsql-17/lib
扩展路径        :  /usr/pgsql-17/share/extension

# [Pigsty 环境] =========================
清单路径        : /home/vagrant/pigsty/pigsty.yml
Pigsty 目录     : /home/vagrant/pigsty
内嵌版本        : 3.2.0

# [网络状况] ============================
pigsty.cc  ping 正常: 141 ms
pigsty.io  ping 正常: 930 ms
google.com 请求错误
互联网访问      :  true
Pigsty 仓库     :  pigsty.io
推断区域        :  china
最新 Pigsty 版  :  v3.2.0

畅享 PostgreSQL!

变更详情

新贡献者

完整变更日志: https://github.com/pgsty/pig/compare/v0.0.1...v0.1.0

校验和

46165beec97ab9ff1314f80af953bd59  pig-0.1.0-1.aarch64.rpm
1320a6f9bfbd79948515657d6becbf37  pig-0.1.0-1.x86_64.rpm
bd078a5dc0c41454fcbbe0d8693d5fa0  pig-v0.1.0.linux-amd64.tar.gz
8a15e52f96735b78afa7da42843f1504  pig-v0.1.0.linux-arm64.tar.gz
4d25597cff8425c7e52a2b411344aa4a  pig_0.1.0_amd64.deb
d5f0874601bc1bbd0dd40b5c9982ea9f  pig_0.1.0_arm64.deb

pig

发布页:https://github.com/pgsty/pig/releases/tag/v0.1.0


v0.0.1

pig

快速开始

安装 pig 包,亦可通过 apt/yum 命令安装。

curl -fsSL https://repo.pigsty.io/pig | bash     # cloudflare, 默认
curl -fsSL https://repo.pigsty.cc/pig | bash     # 中国大陆镜像

安装后即可使用,如需安装 pg_duckdb 扩展:

$ pig repo add pigsty pgdg -u  # 添加 pgdg & pigsty 仓库,更新缓存      
$ pig ext install pg17         # 安装 PostgreSQL 17 内核
$ pig ext install pg_duckdb    # 安装 pg_duckdb 扩展(针对当前 pg17)

全部就绪!可用 pig ext status 查看:

$ pig ext status               # 显示已装扩展及 PG 状态
                               # 打印内置 contrib 扩展用 -c|--contrib
已装 PG 版本 :  17(活跃)
活跃 PostgreSQL :  PostgreSQL 17.2
PostgreSQL      :  PostgreSQL 17.2
二进制路径     :  /usr/pgsql-17/bin
库路径         :  /usr/pgsql-17/lib
扩展路径       :  /usr/pgsql-17/share/extension
扩展统计       :  1 已装(PIGSTY 1, PGDG 0)+ 67 CONTRIB = 68 总计

名称       版本    类别  标志    许可证   仓库    包名            描述
----       -------  ----  ------  -------  ------  ------------   ---------------------
pg_duckdb  0.2.0    OLAP  -dsl--  MIT      PIGSTY  pg_duckdb_17*  DuckDB 内嵌于 Postgres

(1) (标志: b = 有二进制, d = 有 DDL, s = 有 so 库, l = 需加载, t = 可信, r = 可迁移, x = 未知)

详见高级用法340+ 扩展列表

asciicast

安装说明

pig 为纯 Go 二进制,无依赖。可直接下载或通过如下命令添加仓库后用包管理器安装(推荐)。

Ubuntu 22.04 / 24.04 & Debian 12 及兼容平台:

sudo tee /etc/apt/sources.list.d/pigsty.list > /dev/null <<EOF
deb [trusted=yes] https://repo.pigsty.io/apt/infra generic main 
EOF
sudo apt update; sudo apt install -y pig

EL 8/9 及兼容平台:

sudo tee /etc/yum.repos.d/pigsty.repo > /dev/null <<-'EOF'
[pigsty-infra]
name=Pigsty Infra for $basearch
baseurl=https://repo.pigsty.io/yum/infra/$basearch
enabled = 1
gpgcheck = 0
module_hotfixes=1
EOF
sudo yum makecache; sudo yum install -y pig

中国大陆用户建议将 repo.pigsty.io 替换为 repo.pigsty.cc

兼容性

pig 支持:RHEL 8/9、Ubuntu 22.04/24.04、Debian 12,架构支持 amd64/arm64

代码 发行版 x86_64 aarch64
el9 RHEL 9 / Rocky9 / Alma9 / … PG 17 - 13 PG 17 - 13
el8 RHEL 8 / Rocky8 / Alma8 / … PG 17 - 13 PG 17 - 13
u24 Ubuntu 24.04 (noble) PG 17 - 13 PG 17 - 13
u22 Ubuntu 22.04 (jammy) PG 17 - 13 PG 17 - 13
d12 Debian 12 (bookworm) PG 17 - 13 PG 17 - 13

部分发行版及架构限制:

  • citus 不支持 aarch64 及 ubuntu 24.04
  • pljava 缺失 el8
  • jdbc_fdw 缺失 el8.aarch64 与 el9.aarch64
  • pllua 缺失 el8.aarch64 的 pg 13,14,15
  • topn 缺失 el8.aarch64 与 el9.aarch64 的 pg13,以及所有 deb.aarch64
  • pg_partmantimeseries 缺失 u24 的 pg13
  • wiltondb 缺失 d12

发布页:https://github.com/pgsty/pig/releases/tag/v0.0.1




2 - 扩展清单

Pigsty 中可用的 421 个 PostgreSQL 插件完整清单。

Pigsty 中总共有 421 个可用扩展,其中 EL 可用 RPM扩展 415 个,Debian/Ubuntu 可用 DEB扩展 408 个。 除去 PostgreSQL 自带的 71Contrib扩展,共有 350 个第三方(PGDG,Pigsty)扩展插件。

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
timescaledb timescaledb PIGSTY 2.20.0 TIME Timescale 时序数据库扩展插件
timescaledb_toolkit timescaledb_toolkit PIGSTY 1.21.0 TIME Timescale 超表分析查询,时间序列流式处理,以及其他SQL工具
timeseries pg_timeseries PIGSTY 0.1.6 TIME PostgreSQL Tembo时序数据API封装
periods periods PGDG 1.2.3 TIME PostgreSQL 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能
temporal_tables temporal_tables PIGSTY 1.2.2 TIME BSD 2 时态表功能支持
emaj emaj PIGSTY 4.6.0 TIME GPLv3 让数据库的子集具有细粒度日志和时间旅行功能
table_version table_version PIGSTY 1.11.1 TIME BSD 3 PostgreSQL 版本控制表扩展
pg_cron pg_cron PGDG 1.6.5 TIME PostgreSQL 定时任务调度器
pg_task pg_task PGDG 1.0.0 TIME MIT 在特定时间点在后台执行SQL命令
pg_later pg_later PIGSTY 0.3.0 TIME PostgreSQL 执行查询,并在稍后异步获取查询结果
pg_background pg_background PIGSTY 1.3 TIME GPLv3 在后台运行 SQL 查询
postgis postgis PGDG 3.5.2 GIS GPLv2 PostGIS 几何和地理空间扩展
postgis_topology postgis PGDG 3.5.2 GIS GPLv2 PostGIS 拓扑空间类型和函数
postgis_raster postgis PGDG 3.5.2 GIS GPLv2 PostGIS 光栅类型和函数
postgis_sfcgal postgis PGDG 3.5.2 GIS GPLv2 PostGIS SFCGAL 函数
postgis_tiger_geocoder postgis PGDG 3.5.2 GIS GPLv2 PostGIS tiger 地理编码器和反向地理编码器
address_standardizer postgis PGDG 3.5.2 GIS GPLv2 地址标准化函数。
address_standardizer_data_us postgis PGDG 3.5.2 GIS GPLv2 地址标准化函数:美国数据集示例
pgrouting pgrouting PGDG 3.8.0 GIS GPLv2 提供寻路能力
pointcloud pointcloud PIGSTY 1.2.5 GIS BSD 3 提供激光雷达点云数据类型支持
pointcloud_postgis pointcloud PGDG 1.2.5 GIS BSD 3 将激光雷达点云与PostGIS几何类型相集成
h3 pg_h3 PGDG 4.2.2 GIS Apache-2.0 H3六边形层级索引支持
h3_postgis pg_h3 PGDG 4.2.2 GIS Apache-2.0 H3与PostGIS集成的扩展插件
q3c q3c PIGSTY 2.0.1 GIS GPLv2 Q3C天空索引插件
ogr_fdw ogr_fdw PGDG 1.1.6 GIS MIT GIS 数据外部数据源包装器
geoip geoip PIGSTY 0.3.0 GIS BSD 2 IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)
pg_polyline pg_polyline PIGSTY 0.0.1 GIS MIT Google快速Polyline编码解码扩展
pg_geohash pg_geohash PIGSTY 1.0 GIS MIT 使用GeoHash处理空间坐标的函数包
mobilitydb mobilitydb PGDG 1.2.0 GIS GPLv3 MobilityDB地理空间投影数据管理分析平台
tzf pg_tzf PIGSTY 0.2.2 GIS MIT 快速根据GPS经纬度坐标查找时区
earthdistance earthdistance CONTRIB 1.2 GIS PostgreSQL 计算地球表面上的大圆距离
vector pgvector PGDG 0.8.0 RAG PostgreSQL 向量数据类型和 ivfflat / hnsw 访问方法
vchord vchord PIGSTY 0.3.0 RAG AGPLv3 使用Rust重写的高性能向量扩展
vectorscale pgvectorscale PIGSTY 0.7.1 RAG PostgreSQL 使用DiskANN算法对向量进行高效索引
vectorize pg_vectorize PIGSTY 0.22.2 RAG PostgreSQL 在PostgreSQL中封装RAG向量检索服务
pg_similarity pg_similarity PIGSTY 1.0 RAG BSD 3 提供17种距离度量函数
smlar smlar PIGSTY 1.0 RAG PostgreSQL 高效的相似度搜索函数
pg_summarize pg_summarize PIGSTY 0.0.1 RAG PostgreSQL 使用LLM对文本字段进行总结
pg_tiktoken pg_tiktoken PIGSTY 0.0.1 RAG Apache-2.0 在PostgreSQL中计算OpenAI使用的Token数
pg4ml pg4ml PIGSTY 2.0 RAG AGPLv3 PG4ML是一个机器学习框架
pgml pgml PIGSTY 2.10.0 RAG MIT PostgresML:用SQL运行机器学习算法并训练模型
pg_search pg_search PIGSTY 0.15.20 FTS AGPLv3 ParadeDB BM25算法全文检索插件,ES全文检索
pgroonga pgroonga PIGSTY 4.0.0 FTS PostgreSQL 使用Groonga,面向所有语言的高速全文检索平台
pgroonga_database pgroonga PIGSTY 4.0.0 FTS PostgreSQL PGGroonga 数据库管理模块
pg_bigm pg_bigm PIGSTY 1.2 FTS PostgreSQL 基于二字组的多语言全文检索扩展
zhparser zhparser PIGSTY 2.3 FTS PostgreSQL 中文分词,全文搜索解析器
pg_bestmatch pg_bestmatch PIGSTY 0.0.1 FTS Apache-2.0 在数据库内生成BM25稀疏向量
vchord_bm25 vchord_bm25 PIGSTY 0.2.1 FTS AGPLv3 BM25排序算法
pg_tokenizer pg_tokenizer PIGSTY 0.1.0 FTS Apache-2.0 用于全文检索的分词器
hunspell_cs_cz hunspell_cs_cz PIGSTY 1.0 FTS PostgreSQL Hunspell捷克语全文检索词典
hunspell_de_de hunspell_de_de PIGSTY 1.0 FTS PostgreSQL Hunspell德语全文检索词典
hunspell_en_us hunspell_en_us PIGSTY 1.0 FTS PostgreSQL Hunspell英语全文检索词典
hunspell_fr hunspell_fr PIGSTY 1.0 FTS PostgreSQL Hunspell法语全文检索词典
hunspell_ne_np hunspell_ne_np PIGSTY 1.0 FTS PostgreSQL Hunspell尼泊尔语全文检索词典
hunspell_nl_nl hunspell_nl_nl PIGSTY 1.0 FTS PostgreSQL Hunspell荷兰语全文检索词典
hunspell_nn_no hunspell_nn_no PIGSTY 1.0 FTS PostgreSQL Hunspell挪威语全文检索词典
hunspell_pt_pt hunspell_pt_pt PIGSTY 1.0 FTS PostgreSQL Hunspell葡萄牙语全文检索词典
hunspell_ru_ru hunspell_ru_ru PIGSTY 1.0 FTS PostgreSQL Hunspell俄语全文检索词典
hunspell_ru_ru_aot hunspell_ru_ru_aot PIGSTY 1.0 FTS PostgreSQL Hunspell俄语全文检索词典(来自AOT.ru小组)
fuzzystrmatch fuzzystrmatch CONTRIB 1.2 FTS PostgreSQL 确定字符串之间的相似性和距离
pg_trgm pg_trgm CONTRIB 1.6 FTS PostgreSQL 文本相似度测量函数与模糊检索
citus citus PIGSTY 13.0.3 OLAP AGPLv3 Citus 分布式数据库
citus_columnar citus PIGSTY 13.0.3 OLAP AGPLv3 Citus 列式存储引擎
columnar hydra PIGSTY 1.1.2 OLAP AGPLv3 开源列式存储扩展
pg_analytics pg_analytics PIGSTY 0.3.7 OLAP PostgreSQL 由 DuckDB 驱动的数据分析引擎
pg_duckdb pg_duckdb PIGSTY 0.3.1 OLAP MIT 在PostgreSQL中的嵌入式DuckDB扩展
pg_mooncake pg_mooncake PIGSTY 0.1.2 OLAP MIT PostgreSQL列式存储表
duckdb_fdw duckdb_fdw PIGSTY 1.1.2 OLAP MIT DuckDB 外部数据源包装器
pg_parquet pg_parquet PIGSTY 0.4.0 OLAP PostgreSQL 在PostgreSQL与本地/S3中的Parquet文件复制数据
pg_fkpart pg_fkpart PIGSTY 1.7.0 OLAP GPLv2 按外键实用程序进行表分区的扩展
pg_partman pg_partman PGDG 5.2.4 OLAP PostgreSQL 用于按时间或 ID 管理分区表的扩展
plproxy plproxy PGDG 2.11.0 OLAP BSD 0 作为过程语言实现的数据库分区
pg_strom pg_strom PGDG 6.0 OLAP PostgreSQL 使用GPU与NVMe加速大数据处理
tablefunc tablefunc CONTRIB 1.0 OLAP PostgreSQL 交叉表函数
age age PIGSTY 1.5.0 FEAT Apache-2.0 Apache AGE,图数据库扩展 (Deb可用)
hll hll PGDG 2.18 FEAT Apache-2.0 hyperloglog 数据类型
rum rum PGDG 1.3.14 FEAT PostgreSQL RUM 索引访问方法
pg_graphql pg_graphql PIGSTY 1.5.11 FEAT Apache-2.0 PG内的 GraphQL 支持 (RUST, supabase)
pg_jsonschema pg_jsonschema PIGSTY 0.3.3 FEAT Apache-2.0 提供JSON Schema校验能力
jsquery jsquery PGDG 1.2 FEAT PostgreSQL 用于内省 JSONB 数据类型的查询类型
pg_hint_plan pg_hint_plan PGDG 1.7.0 FEAT BSD 3 添加强制指定执行计划的能力
hypopg hypopg PGDG 1.4.1 FEAT PostgreSQL 假设索引,用于创建一个虚拟索引检验执行计划
index_advisor index_advisor PIGSTY 0.2.0 FEAT PostgreSQL 查询索引建议器
plan_filter pg_plan_filter PIGSTY 0.0.1 FEAT PostgreSQL 使用执行计划代价过滤阻止特定查询语句
imgsmlr imgsmlr PIGSTY 1.0 FEAT PostgreSQL 使用Haar小波分析计算图片相似度
pg_ivm pg_ivm PIGSTY 1.11 FEAT PostgreSQL 增量维护的物化视图
pg_incremental pg_incremental PIGSTY 1.2.0 FEAT PostgreSQL 增量处理流式事件
pgmq pgmq PIGSTY 1.5.1 FEAT PostgreSQL 基于Postgres实现类似AWS SQS/RSMQ的消息队列
pgq pgq PGDG 3.5.1 FEAT ISC 通用队列的PG实现
pg_cardano pg_cardano PIGSTY 1.0.5 FEAT MIT Cardano相关工具包:加密函数,地址编解码,区块链处理
rdkit rdkit PGDG 202409.4 FEAT BSD 3 在PostgreSQL化学领域数据管理功能
omni omnigres PIGSTY 0.2.9 FEAT Apache-2.0 PostgreSQL即平台,Omnigres主扩展与加载器
omni_auth omnigres PIGSTY 0.1.3 FEAT Apache-2.0 Omnigres 基础会话认证管理模块
omni_aws omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres AWS S3 API封装
omni_cloudevents omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres CloudEvents 支持
omni_containers omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres Docker容器管理模块
omni_credentials omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres 应用密钥管理模块
omni_email omnigres PIGSTY 0 FEAT Apache-2.0 Omnigres Email 框架
omni_http omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 基本HTTP类型
omni_httpc omnigres PIGSTY 0.1.5 FEAT Apache-2.0 Omnigres HTTP客户端
omni_httpd omnigres PIGSTY 0.4.6 FEAT Apache-2.0 Omnigres HTTP服务器
omni_id omnigres PIGSTY 0.4.2 FEAT Apache-2.0 Omnigres ID身份数据类型
omni_json omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres JSON工具箱
omni_kube omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres Kubernetes集成模块
omni_ledger omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres 金融账本模块
omni_manifest omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres 包管理清单模块
omni_mimetypes omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres MIME数据类型
omni_os omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 操作系统集成模块
omni_polyfill omnigres PIGSTY 0.2.2 FEAT Apache-2.0 Omnigres Postgres多态API
omni_python omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 第一类Python支持模块
omni_regex omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres PCRE兼容正则表达式模块
omni_rest omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres REST API 工具包
omni_schema omnigres PIGSTY 0.3.0 FEAT Apache-2.0 Omnigres 高级模式管理组件
omni_seq omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 分布式整型序列号
omni_service omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 服务管理器
omni_session omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres 会话管理器
omni_sql omnigres PIGSTY 0.5.1 FEAT Apache-2.0 Omnigres SQL编程组件
omni_sqlite omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres 嵌入的SQLite支持
omni_test omnigres PIGSTY 0.4.0 FEAT Apache-2.0 Omnigres 测试框架
omni_txn omnigres PIGSTY 0.5.0 FEAT Apache-2.0 Omnigres 事务管理器模块
omni_types omnigres PIGSTY 0.3.4 FEAT Apache-2.0 Omnigres 高级数据类型模块
omni_var omnigres PIGSTY 0.3.0 FEAT Apache-2.0 Omnigres 局部变量模块
omni_vfs omnigres PIGSTY 0.2.1 FEAT Apache-2.0 Omnigres 虚拟文件系统
omni_vfs_types_v1 omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 虚拟文件系统(v1)
omni_web omnigres PIGSTY 0.3.0 FEAT Apache-2.0 Omnigres Web工具箱
omni_worker omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 通用Worker池
omni_xml omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres XML工具包
omni_yaml omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres YAML工具包
bloom bloom CONTRIB 1.0 FEAT PostgreSQL bloom 索引-基于指纹的索引
pg_tle pg_tle PIGSTY 1.5.0 LANG Apache-2.0 AWS 可信语言扩展
plv8 plv8 PIGSTY 3.2.3 LANG PostgreSQL PL/JavaScript (v8) 可信过程程序语言
pllua pllua PGDG 2.0.12 LANG MIT Lua 程序语言
hstore_pllua pllua PGDG 2.0.12 LANG MIT Lua 程序语言的Hstore适配扩展
plluau pllua PGDG 2.0.12 LANG MIT Lua 程序语言(不受信任的)
hstore_plluau pllua PGDG 2.0.12 LANG MIT Lua 程序语言的Hstore适配扩展(不受信任的)
plprql plprql PIGSTY 1.0.0 LANG Apache-2.0 在PostgreSQL使用PRQL——管线式关系查询语言
pldbgapi pldebugger PGDG 1.8 LANG Artistic 用于调试 PL/pgSQL 函数的服务器端支持
plpgsql_check plpgsql_check PGDG 2.8.1 LANG MIT 对 plpgsql 函数进行扩展检查
plprofiler plprofiler PGDG 4.2.5 LANG Artistic 剖析 PL/pgSQL 函数
plsh plsh PGDG 1.20220917 LANG MIT PL/sh 程序语言
pljava pljava PGDG 1.6.9 LANG BSD 3 Java 程序语言
plr plr PGDG 8.4.7 LANG GPLv2 从数据库中加载R语言解释器并执行R脚本
pgtap pgtap PGDG 1.3.3 LANG PostgreSQL PostgreSQL单元测试框架
faker faker PGDG 0.5.3 LANG PostgreSQL 插入生成的测试伪造数据,Python库的包装
dbt2 dbt2 PGDG 0.45.0 LANG Artistic OSDL-DBT-2 测试组件
pltcl pltcl CONTRIB 1.0 LANG PostgreSQL PL/TCL 存储过程语言
pltclu pltcl CONTRIB 1.0 LANG PostgreSQL PL/TCL 存储过程语言(未受信/高权限)
plperl plperl CONTRIB 1.0 LANG PostgreSQL PL/Perl 存储过程语言
bool_plperl plperl CONTRIB 1.0 LANG PostgreSQL 在 bool 和 plperl 之间转换
hstore_plperl plperl CONTRIB 1.0 LANG PostgreSQL 在 hstore 和 plperl 之间转换适配类型
jsonb_plperl plperl CONTRIB 1.0 LANG PostgreSQL 在 jsonb 和 plperl 之间转换
plperlu plperlu CONTRIB 1.0 LANG PostgreSQL PL/PerlU 存储过程语言(未受信/高权限)
bool_plperlu plperlu CONTRIB 1.0 LANG PostgreSQL 在 bool 和 plperlu 之间转换
jsonb_plperlu plperlu CONTRIB 1.0 LANG PostgreSQL 在 jsonb 和 plperlu 之间转换
hstore_plperlu plperlu CONTRIB 1.0 LANG PostgreSQL 在 hstore 和 plperlu 之间转换适配类型
plpgsql plpgsql CONTRIB 1.0 LANG PostgreSQL PL/pgSQL 程序设计语言
plpython3u plpython3u CONTRIB 1.0 LANG PostgreSQL PL/Python3 存储过程语言(未受信/高权限)
jsonb_plpython3u plpython3u CONTRIB 1.0 LANG PostgreSQL 在 jsonb 和 plpython3u 之间转换
ltree_plpython3u plpython3u CONTRIB 1.0 LANG PostgreSQL 在 ltree 和 plpython3u 之间转换
hstore_plpython3u plpython3u CONTRIB 1.0 LANG PostgreSQL 在 hstore 和 plpython3u 之间转换
prefix pg_prefix PGDG 1.2.10 TYPE PostgreSQL 前缀树数据类型
semver pg_semver PGDG 0.40.0 TYPE PostgreSQL 语义版本号数据类型
unit pgunit PGDG 7.10 TYPE GPLv2 SI 国标单位扩展
pgpdf pgpdf PIGSTY 0.1.0 TYPE GPLv3 PDF数据类型,管理函数与全文检索
pglite_fusion pglite_fusion PIGSTY 0.0.5 TYPE MIT 在PG表中嵌入SQLite数据库作为数据类型
md5hash md5hash PIGSTY 1.0.1 TYPE BSD 2 提供128位MD5的原生数据类型
asn1oid asn1oid PIGSTY 1.6 TYPE GPLv3 ASN1OID数据类型支持
roaringbitmap roaringbitmap PIGSTY 0.5.4 TYPE Apache-2.0 支持RoaringBitmap数据类型
pgfaceting pgfaceting PIGSTY 0.2.0 TYPE BSD 3 使用倒排索引的高速切面查询
pg_sphere pgsphere PIGSTY 1.5.1 TYPE BSD 3 球面对象函数、运算符与索引支持
country pg_country PIGSTY 0.0.3 TYPE PostgreSQL 国家代码数据类型,遵循ISO 3166-1标准
pg_xenophile pg_xenophile PIGSTY 0.8.3 TYPE PostgreSQL PostgreSQL i8n与l10n工具包
l10n_table_dependent_extension pg_xenophile PIGSTY 0.8.3 TYPE PostgreSQL PostgreSQL l10n 工具包
currency pg_currency PIGSTY 0.0.3 TYPE MIT 使用1字节表示的货币数据类型
collection pg_collection PIGSTY 1.0.0 TYPE Apache-2.0 在PlPGSQL中使用的内存优化高性能集合数据结构
pgmp pgmp PGDG 1.0.5 TYPE LGPLv3 多精度算术扩展
numeral numeral PIGSTY 1.3 TYPE GPLv2 数值类型扩展
pg_rational pg_rational PIGSTY 0.0.2 TYPE MIT 使用BIGINT表示的有理数数据类型
uint pguint PIGSTY 1.20231206 TYPE PostgreSQL 无符号整型数据类型
uint128 pg_uint128 PIGSTY 1.0.0 TYPE PostgreSQL 原生128位无符号整型数据类型
hashtypes hashtypes PIGSTY 0.1.5 TYPE PostgreSQL 包括SHA1,MD5在内的多种哈希数据类型
ip4r ip4r PGDG 2.4.2 TYPE PostgreSQL PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型
pg_duration pg_duration PIGSTY 1.0.2 TYPE MIT 用于表示时间段的强化数据类型
uri pg_uri PIGSTY 1.20151224 TYPE PostgreSQL URI数据类型
emailaddr pgemailaddr PIGSTY 0 TYPE PostgreSQL Email地址数据类型
acl pg_acl PIGSTY 1.0.4 TYPE BSD 2 ACL数据类型
debversion debversion PGDG 1.2.0 TYPE PostgreSQL Debian版本号数据类型
pg_rrule pg_rrule PGDG 0.2.0 TYPE MIT 日历重复规则RRULE数据类型
timestamp9 timestamp9 PIGSTY 1.4.0 TYPE MIT 纳秒分辨率时间戳
chkpass chkpass PIGSTY 1.0 TYPE PostgreSQL 数据类型:自动加密的密码
isn isn CONTRIB 1.2 TYPE PostgreSQL 用于国际产品编号标准的数据类型
seg seg CONTRIB 1.4 TYPE PostgreSQL 表示线段或浮点间隔的数据类型
cube cube CONTRIB 1.5 TYPE PostgreSQL 用于存储多维立方体的数据类型
ltree ltree CONTRIB 1.3 TYPE PostgreSQL 用于表示分层树状结构的数据类型
hstore hstore CONTRIB 1.8 TYPE PostgreSQL 用于存储(键,值)对集合的数据类型
citext citext CONTRIB 1.6 TYPE PostgreSQL 提供大小写不敏感的字符串类型
xml2 xml2 CONTRIB 1.1 TYPE PostgreSQL XPath 查询和 XSLT
gzip pg_gzip PIGSTY 1.0.1 UTIL MIT 使用SQL执行Gzip压缩与解压缩
bzip pg_bzip PIGSTY 1.0.0 UTIL MIT BZIP压缩解压缩函数包
zstd pg_zstd PIGSTY 1.1.2 UTIL ISC ZSTD压缩解压缩函数包
http pg_http PGDG 1.6.3 UTIL MIT HTTP客户端,允许在数据库内收发HTTP请求 (supabase)
pg_net pg_net PIGSTY 0.9.2 UTIL Apache-2.0 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase)
pg_curl pg_curl PIGSTY 2.4 UTIL MIT 封装CURL,执行各种用URL传输数据的操作
pgjq pgjq PIGSTY 0.1.0 UTIL MIT 在Postgres中使用jq查询JSON
pgjwt pgjwt PIGSTY 0.2.0 UTIL MIT JSON Web Token API 的PG实现 (supabase)
pg_smtp_client pg_smtp_client PIGSTY 0.2.0 UTIL MIT 使用SMTP从PostgreSQL内发送邮件的客户端扩展
pg_html5_email_address pg_html5_email_address PIGSTY 1.2.3 UTIL PostgreSQL 验证Email是否符合HTML5规范的扩展
url_encode url_encode PIGSTY 1.2.5 UTIL PostgreSQL 提供URL编码解码函数
pgsql_tweaks pgsql_tweaks PIGSTY 0.11.1 UTIL PostgreSQL 一些日常会用到的便利函数与视图
pg_extra_time pg_extra_time PIGSTY 2.0.0 UTIL PostgreSQL 一些关于日期与时间的扩展函数
pgpcre pgpcre PIGSTY 1 UTIL PostgreSQL PCRE/Perl风格的正则表达式支持
icu_ext icu_ext PIGSTY 1.9.0 UTIL PostgreSQL 访问ICU库提供的函数
pgqr pgqr PIGSTY 1.0 UTIL BSD 3 从数据库中直接生成QR二维码
pg_protobuf pg_protobuf PIGSTY 1.0 UTIL MIT 提供Protobuf函数支持
envvar envvar PIGSTY 1.0.1 UTIL PostgreSQL 获取环境变量的函数
floatfile floatfile PIGSTY 1.3.1 UTIL MIT 将浮点数组存储到文件中而不是堆表中
pg_render pg_render PIGSTY 0.1.2 UTIL MIT 使用SQL渲染HTML页面
pg_readme pg_readme PIGSTY 0.7.0 UTIL PostgreSQL 为模式与扩展生成Markdown文档
pg_readme_test_extension pg_readme PIGSTY 0.7.0 UTIL PostgreSQL 为模式与扩展生成Markdown文档
ddl_historization ddl_historization PIGSTY 0.0.7 UTIL GPLv2 用SQL将所有DDL变更写入到数据库表中
data_historization data_historization PIGSTY 1.1.0 UTIL PostgreSQL 用SQL将数据变更历史保存到分区表中
schedoc pg_schedoc PIGSTY 0.0.1 UTIL GPLv3 在Django与DBT之间通过注释文档交换元数据
hashlib pg_hashlib PIGSTY 1.1 UTIL PostgreSQL 稳定哈希函数包
xxhash pg_xxhash PIGSTY 0.0.1 UTIL BSD 2 xxhash哈希函数包
shacrypt shacrypt PIGSTY 1.1 UTIL PostgreSQL 实现SHA256-CRYPT与SHA512-CRYPT密钥加密算法
cryptint cryptint PIGSTY 1.0.0 UTIL PostgreSQL 加密INT与BIGINT类型
pguecc pg_ecdsa PIGSTY 1.0 UTIL BSD 2 PostgreSQL的uECC绑定,椭圆曲线加解密函数包
sparql pgsparql PIGSTY 1.0 UTIL Apache-2.0 使用SQL查询SPARQL数据源
pg_idkit pg_idkit PIGSTY 0.3.0 FUNC Apache-2.0 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID
pgx_ulid pgx_ulid PIGSTY 0.2.0 FUNC MIT ULID数据类型与函数
pg_uuidv7 pg_uuidv7 PIGSTY 1.6.0 FUNC MPLv2 UUIDv7 支持
permuteseq permuteseq PIGSTY 1.2.2 FUNC PostgreSQL 伪随机数ID置换生成器
pg_hashids pg_hashids PIGSTY 1.3 FUNC MIT 加盐将整型ID转为短字符串ID
sequential_uuids sequential_uuids PIGSTY 1.0.3 FUNC MIT 生成连续生成的UUID
topn topn PGDG 2.7.0 FUNC AGPLv3 top-n JSONB 的类型
quantile quantile PIGSTY 1.1.8 FUNC BSD 2 Quantile聚合函数
lower_quantile lower_quantile PIGSTY 1.0.3 FUNC BSD 2 Lower Quantile 聚合函数
count_distinct count_distinct PIGSTY 3.0.2 FUNC BSD 2 COUNT(DISTINCT …) 聚合的替代方案
omnisketch omnisketch PIGSTY 1.0.2 FUNC PostgreSQL 实现OmniSketch数据结构,实现近似摘要聚合
ddsketch ddsketch PIGSTY 1.0.1 FUNC PostgreSQL 实现DDSketch数据结构,实现在线的Quantile聚合
vasco vasco PIGSTY 0.1.0 FUNC GPLv3 使用MIC发现数据中隐含的关联
xicor pgxicor PIGSTY 0.1.0 FUNC GPLv3 在PG中计算XI相关系数
tdigest tdigest PGDG 1.4.3 FUNC Apache-2.0 tdigest 聚合函数
first_last_agg first_last_agg PIGSTY 0.1.4 FUNC PostgreSQL first() 与 last() 聚合函数
extra_window_functions extra_window_functions PGDG 1.0 FUNC PostgreSQL 额外的窗口函数
floatvec floatvec PIGSTY 1.1.1 FUNC MIT 数组类型数学运算扩展
aggs_for_vecs aggs_for_vecs PIGSTY 1.4.0 FUNC MIT 针对数组类型的聚合函数集合扩展
aggs_for_arrays aggs_for_arrays PIGSTY 1.3.3 FUNC MIT 计算数组聚合统计值的函数包
arraymath pg_arraymath PIGSTY 1.1 FUNC MIT 数组逐元素数学运算符包
pg_math pg_math PIGSTY 1.0 FUNC GPLv3 使用GSL库的数学统计函数
random pg_random PIGSTY 2.0.0 FUNC PostgreSQL 随机数生成器
base36 pg_base36 PIGSTY 1.0.0 FUNC MIT Base36编码解码扩展
base62 pg_base62 PIGSTY 0.0.1 FUNC MIT Base62编码解码扩展
pg_base58 pg_base58 PIGSTY 0.0.1 FUNC MIT Base58 编码/解码函数
financial pg_financial PIGSTY 1.0.1 FUNC PostgreSQL 金融领域聚合函数
convert pg_convert PIGSTY 0.0.4 FUNC MIT 用于空间里程等的公英制转换函数
refint refint CONTRIB 1.0 FUNC PostgreSQL 实现引用完整性的函数
autoinc autoinc CONTRIB 1.0 FUNC PostgreSQL 用于自动递增字段的函数
insert_username insert_username CONTRIB 1.0 FUNC PostgreSQL 用于跟踪谁更改了表的函数
moddatetime moddatetime CONTRIB 1.0 FUNC PostgreSQL 跟踪最后修改时间
tsm_system_time tsm_system_time CONTRIB 1.0 FUNC PostgreSQL 接受毫秒数限制的 TABLESAMPLE 方法
dict_xsyn dict_xsyn CONTRIB 1.0 FUNC PostgreSQL 用于扩展同义词处理的文本搜索字典模板
tsm_system_rows tsm_system_rows CONTRIB 1.0 FUNC PostgreSQL 接受行数限制的 TABLESAMPLE 方法
tcn tcn CONTRIB 1.0 FUNC PostgreSQL 用触发器通知变更
uuid-ossp uuid-ossp CONTRIB 1.1 FUNC PostgreSQL 生成通用唯一标识符(UUIDs)
btree_gist btree_gist CONTRIB 1.7 FUNC PostgreSQL 用GiST索引常见数据类型
btree_gin btree_gin CONTRIB 1.3 FUNC PostgreSQL 用GIN索引常见数据类型
intarray intarray CONTRIB 1.5 FUNC PostgreSQL 1维整数数组的额外函数、运算符和索引支持
intagg intagg CONTRIB 1.1 FUNC PostgreSQL 整数聚合器和枚举器(过时)
dict_int dict_int CONTRIB 1.0 FUNC PostgreSQL 用于整数的文本搜索字典模板
unaccent unaccent CONTRIB 1.1 FUNC PostgreSQL 删除重音的文本搜索字典
pg_repack pg_repack PGDG 1.5.2 ADMIN BSD 3 在线垃圾清理与表膨胀治理
pg_squeeze pg_squeeze PGDG 1.8.0 ADMIN BSD 2 从关系中删除未使用空间
pg_dirtyread pg_dirtyread PIGSTY 2.7 ADMIN BSD 3 从表中读取尚未垃圾回收的行
pgfincore pgfincore PGDG 1.3.1 ADMIN BSD 3 检查和管理操作系统缓冲区缓存
pg_cooldown pg_cooldown PIGSTY 0.1 ADMIN Apache-2.0 从缓冲区中移除特定关系的页面
ddlx pg_ddlx PIGSTY 0.29 ADMIN PostgreSQL 提取数据库对象的DDL
prioritize pg_prioritize PGDG 1.0.4 ADMIN PostgreSQL 获取和设置 PostgreSQL 后端的优先级
pg_checksums pg_checksums PGDG 1.2 ADMIN BSD 2 在离线模式下激活/启用/禁用数据库集群的校验和功能
pg_readonly pg_readonly PGDG 1.0.3 ADMIN PostgreSQL 将集群设置为只读
pgdd pgdd PIGSTY 0.6.0 ADMIN MIT 提供通过标准SQL查询数据库目录集簇的能力
pg_permissions pg_permissions PIGSTY 1.3 ADMIN BSD 2 查看对象权限并将其与期望状态进行比较
pgautofailover pgautofailover PGDG 2.2 ADMIN PostgreSQL PG 自动故障迁移
pg_catcheck pg_catcheck PGDG 1.6.0 ADMIN BSD 3 用于诊断系统目录是否损坏的工具
pre_prepare preprepare PIGSTY 0.9 ADMIN PostgreSQL 在服务端预先准备好PreparedStatement备用
pg_upless pg_upless PIGSTY 0.0.3 ADMIN PostgreSQL 检测表上的无用UPDATE
pgcozy pgcozy PIGSTY 1.0 ADMIN PostgreSQL 根据先前的pg_buffercache快照预热内存缓冲区
pg_orphaned pg_orphaned PIGSTY 1.0 ADMIN PostgreSQL 处理孤儿文件的扩展插件
pg_crash pg_crash PIGSTY 1.0 ADMIN BSD 3 向数据库进程随机发送信号模拟故障
pg_cheat_funcs pg_cheat_funcs PIGSTY 1.0 ADMIN PostgreSQL 一些超级实用的作弊函数
fio pg_fio PIGSTY 1.0 ADMIN BSD 3 PostgreSQL文件IO函数包
pg_savior pg_savior PIGSTY 0.0.1 ADMIN Apache-2.0 阻止不带条件的全表更新以避免意外事故
safeupdate safeupdate PGDG 1.5 ADMIN ISC 强制在 UPDATE 和 DELETE 时提供 Where 条件
pg_drop_events pg_drop_events PGDG 0.1.0 ADMIN PostgreSQL 记录删表删列删视图的事务号,辅助PITR确定时间点
table_log table_log PIGSTY 0.6.4 ADMIN PostgreSQL 记录某张表的修改日志并做表/行级时间点恢复
pgagent pgagent PGDG 4.2.3 ADMIN PostgreSQL PostgreSQL任务调度工具,与PGADMIN配合使用
pg_prewarm pg_prewarm CONTRIB 1.2 ADMIN PostgreSQL 预热关系数据
pgpool_adm pgpool PGDG 4.6.0 ADMIN PostgreSQL PGPool 管理函数
pgpool_recovery pgpool PGDG 4.6.0 ADMIN PostgreSQL PGPool辅助扩展,从v4.3提供的恢复函数
pgpool_regclass pgpool PGDG 4.6.0 ADMIN PostgreSQL PGPool辅助扩展,RegClass替代
lo lo CONTRIB 1.1 ADMIN PostgreSQL 大对象维护
basic_archive basic_archive CONTRIB - ADMIN PostgreSQL 归档模块样例
basebackup_to_shell basebackup_to_shell CONTRIB - ADMIN PostgreSQL 添加一种备份到Shell终端到基础备份方式
old_snapshot old_snapshot CONTRIB 1.0 ADMIN PostgreSQL 支持 old_snapshot_threshold 的实用程序
adminpack adminpack CONTRIB 2.1 ADMIN PostgreSQL PostgreSQL 管理函数集合
amcheck amcheck CONTRIB 1.4 ADMIN PostgreSQL 校验关系完整性
pg_surgery pg_surgery CONTRIB 1.0 ADMIN PostgreSQL 对损坏的关系进行手术
pg_profile pg_profile PIGSTY 4.8 STAT BSD 2 PostgreSQL 数据库负载记录与AWR报表工具
pg_tracing pg_tracing PIGSTY 0.1.3 STAT MIT PostgreSQL分布式Tracing
pg_show_plans pg_show_plans PGDG 2.1.3 STAT PostgreSQL 打印所有当前正在运行查询的执行计划
pg_stat_kcache pg_stat_kcache PGDG 2.3.0 STAT BSD 3 内核统计信息收集
pg_stat_monitor pg_stat_monitor PIGSTY 2.1.1 STAT BSD 3 提供查询聚合统计、客户端信息、执行计划详细信息和直方图
pg_qualstats pg_qualstats PGDG 2.1.1 STAT BSD 3 收集有关 quals 的统计信息的扩展
pg_store_plans pg_store_plans PIGSTY 1.8 STAT BSD 3 跟踪所有执行的 SQL 语句的计划统计信息
pg_track_settings pg_track_settings PGDG 2.1.2 STAT PostgreSQL 跟踪设置更改
pg_wait_sampling pg_wait_sampling PGDG 1.1.8 STAT PostgreSQL 基于采样的等待事件统计
pgsentinel pgsentinel PIGSTY 1.1.0 STAT PostgreSQL 活跃会话历史
system_stats system_stats PIGSTY 3.2 STAT PostgreSQL PostgreSQL 的系统统计函数
meta pg_meta PIGSTY 0.4.0 STAT BSD 2 标准化,更友好的PostgreSQL系统目录视图
pgnodemx pgnodemx PIGSTY 1.7 STAT Apache-2.0 使用SQL查询获取操作系统指标
pg_proctab pgnodemx PIGSTY 1.7 STAT BSD 3 通过SQL接口访问操作系统进程表
pg_sqlog pg_sqlog PIGSTY 1.6 STAT BSD 3 提供访问PostgreSQL日志的SQL接口
bgw_replstatus bgw_replstatus PGDG 1.0.7 STAT PostgreSQL 用于汇报本机主从状态的后台工作进程
pgmeminfo pgmeminfo PIGSTY 1.0.0 STAT MIT 显示内存使用情况
toastinfo toastinfo PIGSTY 1.5 STAT PostgreSQL 显示TOAST字段的详细信息
explain_ui pg_explain_ui PIGSTY 0.0.1 STAT PostgreSQL 快速跳转至PEV查阅可视化执行计划
pg_relusage pg_relusage PIGSTY 0.0.1 STAT PostgreSQL 打印查询引用的表与列
pagevis pagevis PIGSTY 0.1 STAT MIT 使用ASCII字符可视化数据库物理页面布局
powa powa PGDG 5.0.1 STAT PostgreSQL PostgreSQL 工作负载分析器-核心
pg_overexplain pg_overexplain CONTRIB 1.0 STAT PostgreSQL 允许 EXPLAIN 转储更多详细
pg_logicalinspect pg_logicalinspect CONTRIB 1.0 STAT PostgreSQL 检视逻辑解码组件详情
pageinspect pageinspect CONTRIB 1.12 STAT PostgreSQL 检查数据库页面二进制内容
pgrowlocks pgrowlocks CONTRIB 1.2 STAT PostgreSQL 显示行级锁信息
sslinfo sslinfo CONTRIB 1.2 STAT PostgreSQL 关于 SSL 证书的信息
pg_buffercache pg_buffercache CONTRIB 1.5 STAT PostgreSQL 检查共享缓冲区缓存
pg_walinspect pg_walinspect CONTRIB 1.1 STAT PostgreSQL 用于检查 PostgreSQL WAL 日志内容的函数
pg_freespacemap pg_freespacemap CONTRIB 1.2 STAT PostgreSQL 检查自由空间映射的内容(FSM)
pg_visibility pg_visibility CONTRIB 1.2 STAT PostgreSQL 检查可见性图(VM)和页面级可见性信息
pgstattuple pgstattuple CONTRIB 1.5 STAT PostgreSQL 显示元组级统计信息
auto_explain auto_explain CONTRIB - STAT PostgreSQL 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements CONTRIB 1.11 STAT PostgreSQL 跟踪所有执行的 SQL 语句的计划和执行统计信息
passwordcheck_cracklib passwordcheck PIGSTY 3.1.0 SEC LGPLv2 使用cracklib加固PG用户密码
supautils supautils PIGSTY 2.9.2 SEC Apache-2.0 用于在云环境中确保数据库集群的安全
pgsodium pgsodium PIGSTY 3.1.9 SEC BSD 3 表数据加密存储 TDE
supabase_vault pg_vault PIGSTY 0.3.1 SEC Apache-2.0 在 Vault 中存储加密凭证的扩展 (supabase)
pg_session_jwt pg_session_jwt PIGSTY 0.3.1 SEC Apache-2.0 使用JWT进行会话认证
anon pg_anon PIGSTY 2.1.1 SEC PostgreSQL 数据匿名化处理工具
pg_tde pg_tde PIGSTY 1.0 SEC MIT 试点性质的加密存储引擎
pgsmcrypto pgsmcrypto PIGSTY 0.1.0 SEC MIT 为PostgreSQL提供商密算法支持:SM2,SM3,SM4
pgaudit pgaudit PGDG 17.1 SEC PostgreSQL 提供审计功能
pgauditlogtofile pgauditlogtofile PGDG 1.6.4 SEC PostgreSQL pgAudit 子扩展,将审计日志写入单独的文件中
pg_auth_mon pg_auth_mon PIGSTY 3.0 SEC MIT 监控每个用户的连接尝试
credcheck credcheck PGDG 3.0 SEC MIT 明文凭证检查器
pgcryptokey pgcryptokey PIGSTY 0.85 SEC PostgreSQL PG密钥管理
pg_jobmon pg_jobmon PIGSTY 1.4.1 SEC PostgreSQL 记录和监控函数
logerrors logerrors PIGSTY 2.1.3 SEC BSD 3 用于收集日志文件中消息统计信息的函数
login_hook login_hook PIGSTY 1.6 SEC GPLv3 在用户登陆时执行login_hook.login()函数
set_user set_user PGDG 4.1.0 SEC PostgreSQL 增加了日志记录的 SET ROLE
pg_snakeoil pg_snakeoil PIGSTY 1.4 SEC PostgreSQL PostgreSQL动态链接库反病毒功能
pgextwlist pgextwlist PIGSTY 1.17 SEC PostgreSQL PostgreSQL扩展白名单功能
pg_auditor pg_auditor PIGSTY 0.2 SEC BSD 3 审计数据变更并提供闪回能力
sslutils sslutils PIGSTY 1.4 SEC PostgreSQL 使用SQL管理SSL证书
noset pg_noset PIGSTY 0.3.0 SEC AGPLv3 阻止非超级用户使用SET/RESET设置变量
sepgsql sepgsql CONTRIB - SEC PostgreSQL 基于SELinux标签的强制访问控制
auth_delay auth_delay CONTRIB - SEC PostgreSQL 在返回认证失败前暂停一会,避免爆破
pgcrypto pgcrypto CONTRIB 1.3 SEC PostgreSQL 实用加解密函数
passwordcheck passwordcheck CONTRIB - SEC PostgreSQL 用于强制拒绝修改弱密码的扩展
wrappers wrappers PIGSTY 0.5.0 FDW Apache-2.0 Supabase提供的外部数据源包装器捆绑包
multicorn multicorn PGDG 3.0 FDW PostgreSQL 用Python编写自定义的外部数据源包装器
odbc_fdw odbc_fdw PGDG 0.5.1 FDW PostgreSQL 访问ODBC可访问的任何外部数据源
jdbc_fdw jdbc_fdw PGDG 1.2 FDW PostgreSQL 访问JDBC可访问的任何外部数据源
pgspider_ext pgspider_ext PGDG 1.3.0 FDW PostgreSQL 使用多种FDW访问远程数据库服务器
mysql_fdw mysql_fdw PGDG 2.9.2 FDW BSD 3 MySQL外部数据包装器
oracle_fdw oracle_fdw PGDG 2.7.0 FDW PostgreSQL 提供对Oracle的外部数据源包装器
tds_fdw tds_fdw PGDG 2.0.4 FDW PostgreSQL TDS 数据库(Sybase/SQL Server)外部数据包装器
db2_fdw db2_fdw PGDG 6.0.1 FDW PostgreSQL 提供对DB2的外部数据源包装器
sqlite_fdw sqlite_fdw PGDG 2.5.0 FDW PostgreSQL SQLite 外部数据包装器
pgbouncer_fdw pgbouncer_fdw PGDG 1.3.0 FDW PostgreSQL 用SQL查询pgbouncer统计信息,并执行pgbouncer命令
mongo_fdw mongo_fdw PGDG 1.1 FDW LGPLv3 MongoDB 外部数据包装器
redis_fdw redis_fdw PIGSTY 1.0 FDW PostgreSQL 查询外部Redis数据源
redis pg_redis_pubsub PIGSTY 0.0.1 FDW MIT 从PG向Redis发送Pub/Sub消息
kafka_fdw kafka_fdw PIGSTY 0.0.3 FDW PostgreSQL Kafka外部数据源包装器
hdfs_fdw hdfs_fdw PGDG 2.3.2 FDW BSD 3 hdfs 外部数据包装器
firebird_fdw firebird_fdw PIGSTY 1.4.0 FDW PostgreSQL Firebird外部数据源包装器
aws_s3 aws_s3 PIGSTY 0.0.1 FDW Apache-2.0 从S3导入导出数据的外部数据源包装器
log_fdw log_fdw PIGSTY 1.4 FDW Apache-2.0 访问PostgreSQL日志文件的FDW
dblink dblink CONTRIB 1.2 FDW PostgreSQL 从数据库内连接到其他 PostgreSQL 数据库
file_fdw file_fdw CONTRIB 1.0 FDW PostgreSQL 访问外部文件的外部数据包装器
postgres_fdw postgres_fdw CONTRIB 1.1 FDW PostgreSQL 用于远程 PostgreSQL 服务器的外部数据包装器
documentdb documentdb PIGSTY 0.103 SIM MIT 微软DocumentDB的API层
documentdb_core documentdb PIGSTY 0.103 SIM MIT 微软DocumentDB的核心API层实现
documentdb_distributed documentdb PIGSTY 0.103 SIM MIT DocumentDB多节点模式的API层
orafce orafce PGDG 4.14.3 SIM BSD 0 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符
pgtt pgtt PGDG 4.1 SIM ISC 类似Oracle的全局临时表功能
session_variable session_variable PIGSTY 3.4 SIM GPLv3 Oracle兼容的会话变量/常量操作函数
pg_statement_rollback pg_statement_rollback PIGSTY 1.4 SIM ISC 在服务端提供类似Oracle/DB2的语句级回滚能力
pg_dbms_metadata pg_dbms_metadata PGDG 1.0.0 SIM PostgreSQL 添加 Oracle DBMS_METADATA 兼容性支持的扩展
pg_dbms_lock pg_dbms_lock PGDG 1.0 SIM PostgreSQL 为PG添加对 Oracle DBMS_LOCK 的完整兼容性支持
pg_dbms_job pg_dbms_job PGDG 1.5 SIM PostgreSQL 添加 Oracle DBMS_JOB 兼容性支持的扩展
babelfishpg_common babelfishpg_common WILTON 3.3.3 SIM Apache-2.0 SQL Server 数据类型兼容扩展
babelfishpg_tsql babelfishpg_tsql WILTON 3.3.1 SIM Apache-2.0 SQL Server SQL语法兼容性扩展
babelfishpg_tds babelfishpg_tds WILTON 1.0.0 SIM Apache-2.0 SQL Server TDS线缆协议兼容扩展
babelfishpg_money babelfishpg_money WILTON 1.1.0 SIM Apache-2.0 SQL Server 货币数据类型兼容扩展
spat spat PIGSTY 0.1.0a4 SIM AGPLv3 在PG中嵌入Redis风格的内存数据库
pgmemcache pgmemcache PGDG 2.3.0 SIM MIT 为PG提供memcached兼容接口
pglogical pglogical PGDG 2.4.5 ETL PostgreSQL PostgreSQL逻辑复制:三方扩展实现
pglogical_origin pglogical PGDG 2.4.5 ETL PostgreSQL 用于从 Postgres 9.4 升级时的兼容性虚拟扩展
pglogical_ticker pglogical_ticker PGDG 1.4.1 ETL PostgreSQL pglogical复制延迟以秒计的精确视图
pgl_ddl_deploy pgl_ddl_deploy PGDG 2.2.1 ETL MIT 使用 pglogical 执行自动 DDL 部署
pg_failover_slots pg_failover_slots PIGSTY 1.1.0 ETL PostgreSQL 在Failover过程中保留复制槽
db_migrator db_migrator PIGSTY 1.0.0 ETL BSD 3 使用FDW从其他DBMS迁移到PostgreSQL
wal2json wal2json PGDG 2.6 ETL BSD 3 用逻辑解码捕获 JSON 格式的 CDC 变更
wal2mongo wal2mongo PIGSTY 1.0.7 ETL Apache-2.0 使用逻辑解码捕获MongoDB JSON格式的CDC变更
decoderbufs decoderbufs PGDG 3.0.7 ETL MIT 将WAL逻辑解码为ProtocolBuffer协议的消息
decoder_raw decoder_raw PIGSTY 1.0 ETL PostgreSQL 逻辑复制解码输出插件:RAW SQL格式
mimeo mimeo PIGSTY 1.5.1 ETL PostgreSQL 在PostgreSQL实例间进行表级复制
repmgr repmgr PGDG 5.5.0 ETL GPLv3 PostgreSQL复制管理组件
pg_fact_loader pg_fact_loader PGDG 2.0.1 ETL MIT 在 Postgres 中构建事实表
pg_bulkload pg_bulkload PIGSTY 3.1.22 ETL BSD 3 向 PostgreSQL 中高速加载数据
test_decoding test_decoding CONTRIB - ETL PostgreSQL 基于SQL的WAL逻辑解码样例
pgoutput pgoutput CONTRIB - ETL PostgreSQL PG内置的逻辑解码输出插件

2.1 - RPM 扩展清单

415 个在 EL 兼容系统中可用的 RPM 扩展包清单与支持情况。

Pigsty 在 EL 系统中总共有 415 个可用 RPM 扩展,其中有 13 个RPM独占扩展,缺少 6 个DEB独占扩展。

在EL可用扩展中,PG 自带了 71Contrib扩展,PGDG YUM 仓库提供了 118 个,Pigsty 提供了 222 个。 当前首要大版本 PostgreSQL 17 支持了 396 个扩展,而 PostgreSQL 16 支持了其中的 407 个。

扩展名(详情) 标准名(官网) 包名 仓库 版本 类目 许可证 PG大版本支持 LOAD DDL DBSU RELOC 简介
timescaledb timescaledb timescaledb-tsl_$v* PIGSTY 2.20.0 TIME Timescale 17,16,15 时序数据库扩展插件
timescaledb_toolkit timescaledb_toolkit timescaledb-toolkit_$v PIGSTY 1.21.0 TIME Timescale 17,16,15,14 超表分析查询,时间序列流式处理,以及其他SQL工具
timeseries pg_timeseries pg_timeseries_$v PIGSTY 0.1.6 TIME PostgreSQL 17,16,15,14,13 Tembo时序数据API封装
periods periods periods_$v* PGDG 1.2.3 TIME PostgreSQL 17,16,15,14,13 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能
temporal_tables temporal_tables temporal_tables_$v* PIGSTY 1.2.2 TIME BSD 2 17,16,15,14,13 时态表功能支持
emaj emaj e-maj_$v PGDG 4.6.0 TIME GPLv3 17,16,15,14,13 让数据库的子集具有细粒度日志和时间旅行功能
table_version table_version table_version_$v PIGSTY 1.11.1 TIME BSD 3 17,16,15,14,13 PostgreSQL 版本控制表扩展
pg_cron pg_cron pg_cron_$v* PGDG 1.6.5 TIME PostgreSQL 17,16,15,14,13 定时任务调度器
pg_task pg_task pg_task_$v* PGDG 1.0.0 TIME MIT 17,16,15,14,13 在特定时间点在后台执行SQL命令
pg_later pg_later pg_later_$v PIGSTY 0.3.0 TIME PostgreSQL 17,16,15,14,13 执行查询,并在稍后异步获取查询结果
pg_background pg_background pg_background_$v* PGDG 1.3 TIME GPLv3 17,16,15,14,13 在后台运行 SQL 查询
postgis postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 几何和地理空间扩展
postgis_topology postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 拓扑空间类型和函数
postgis_raster postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 光栅类型和函数
postgis_sfcgal postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS SFCGAL 函数
postgis_tiger_geocoder postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS tiger 地理编码器和反向地理编码器
address_standardizer postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 地址标准化函数。
address_standardizer_data_us postgis postgis35_$v* PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 地址标准化函数:美国数据集示例
pgrouting pgrouting pgrouting_$v* PGDG 3.8.0 GIS GPLv2 17,16,15,14,13 提供寻路能力
pointcloud pointcloud pointcloud_$v* PIGSTY 1.2.5 GIS BSD 3 17,16,15,14,13 提供激光雷达点云数据类型支持
pointcloud_postgis pointcloud pointcloud_$v* PGDG 1.2.5 GIS BSD 3 17,16,15,14,13 将激光雷达点云与PostGIS几何类型相集成
h3 pg_h3 h3-pg_$v* PGDG 4.2.2 GIS Apache-2.0 17,16,15,14,13 H3六边形层级索引支持
h3_postgis pg_h3 h3-pg_$v* PGDG 4.2.2 GIS Apache-2.0 17,16,15,14,13 H3与PostGIS集成的扩展插件
q3c q3c q3c_$v* PIGSTY 2.0.1 GIS GPLv2 17,16,15,14,13 Q3C天空索引插件
ogr_fdw ogr_fdw ogr_fdw_$v* PGDG 1.1.6 GIS MIT 17,16,15,14,13 GIS 数据外部数据源包装器
geoip geoip geoip_$v PIGSTY 0.3.0 GIS BSD 2 17,16,15,14,13 IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)
pg_polyline pg_polyline pg_polyline_$v PIGSTY 0.0.1 GIS MIT 17,16,15,14,13 Google快速Polyline编码解码扩展
pg_geohash pg_geohash pg_geohash_$v* PIGSTY 1.0 GIS MIT 17,16,15,14,13 使用GeoHash处理空间坐标的函数包
tzf pg_tzf pg_tzf_$v PIGSTY 0.2.2 GIS MIT 17,16,15,14,13 快速根据GPS经纬度坐标查找时区
earthdistance earthdistance postgresql$v-contrib CONTRIB 1.2 GIS PostgreSQL 17,16,15,14,13 计算地球表面上的大圆距离
vector pgvector pgvector_$v* PGDG 0.8.0 RAG PostgreSQL 17,16,15,14,13 向量数据类型和 ivfflat / hnsw 访问方法
vchord vchord vchord_$v PIGSTY 0.3.0 RAG AGPLv3 17,16,15,14 使用Rust重写的高性能向量扩展
vectorscale pgvectorscale pgvectorscale_$v PIGSTY 0.7.1 RAG PostgreSQL 17,16,15,14,13 使用DiskANN算法对向量进行高效索引
vectorize pg_vectorize pg_vectorize_$v PIGSTY 0.22.2 RAG PostgreSQL 17,16,15,14 在PostgreSQL中封装RAG向量检索服务
pg_similarity pg_similarity pg_similarity_$v* PIGSTY 1.0 RAG BSD 3 17,16,15,14,13 提供17种距离度量函数
smlar smlar smlar_$v* PIGSTY 1.0 RAG PostgreSQL 17,16,15,14,13 高效的相似度搜索函数
pg_summarize pg_summarize pg_summarize_$v PIGSTY 0.0.1 RAG PostgreSQL 17,16,15,14,13 使用LLM对文本字段进行总结
pg_tiktoken pg_tiktoken pg_tiktoken_$v PIGSTY 0.0.1 RAG Apache-2.0 17,16,15,14,13 在PostgreSQL中计算OpenAI使用的Token数
pg4ml pg4ml pg4ml_$v PIGSTY 2.0 RAG AGPLv3 17,16,15,14,13 PG4ML是一个机器学习框架
pgml pgml pgml_$v PIGSTY 2.10.0 RAG MIT 17,16,15,14 PostgresML:用SQL运行机器学习算法并训练模型
pg_search pg_search pg_search_$v PIGSTY 0.15.20 FTS AGPLv3 17,16,15,14 ParadeDB BM25算法全文检索插件,ES全文检索
pgroonga pgroonga pgroonga_$v* PIGSTY 4.0.0 FTS PostgreSQL 17,16,15,14,13 使用Groonga,面向所有语言的高速全文检索平台
pgroonga_database pgroonga pgroonga_$v* PIGSTY 4.0.0 FTS PostgreSQL 17,16,15,14,13 PGGroonga 数据库管理模块
pg_bigm pg_bigm pg_bigm_$v* PGDG 1.2 FTS PostgreSQL 17,16,15,14,13 基于二字组的多语言全文检索扩展
zhparser zhparser zhparser_$v* PIGSTY 2.3 FTS PostgreSQL 17,16,15,14,13 中文分词,全文搜索解析器
pg_bestmatch pg_bestmatch pg_bestmatch_$v PIGSTY 0.0.1 FTS Apache-2.0 17,16,15,14,13 在数据库内生成BM25稀疏向量
vchord_bm25 vchord_bm25 vchord_bm25_$v PIGSTY 0.2.1 FTS AGPLv3 17,16,15,14 BM25排序算法
pg_tokenizer pg_tokenizer pg_tokenizer_$v PIGSTY 0.1.0 FTS Apache-2.0 17,16,15,14 用于全文检索的分词器
hunspell_cs_cz hunspell_cs_cz hunspell_cs_cz_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell捷克语全文检索词典
hunspell_de_de hunspell_de_de hunspell_de_de_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell德语全文检索词典
hunspell_en_us hunspell_en_us hunspell_en_us_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell英语全文检索词典
hunspell_fr hunspell_fr hunspell_fr_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell法语全文检索词典
hunspell_ne_np hunspell_ne_np hunspell_ne_np_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell尼泊尔语全文检索词典
hunspell_nl_nl hunspell_nl_nl hunspell_nl_nl_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell荷兰语全文检索词典
hunspell_nn_no hunspell_nn_no hunspell_nn_no_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell挪威语全文检索词典
hunspell_pt_pt hunspell_pt_pt hunspell_pt_pt_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell葡萄牙语全文检索词典
hunspell_ru_ru hunspell_ru_ru hunspell_ru_ru_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell俄语全文检索词典
hunspell_ru_ru_aot hunspell_ru_ru_aot hunspell_ru_ru_aot_$v PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell俄语全文检索词典(来自AOT.ru小组)
fuzzystrmatch fuzzystrmatch postgresql$v-contrib CONTRIB 1.2 FTS PostgreSQL 17,16,15,14,13 确定字符串之间的相似性和距离
pg_trgm pg_trgm postgresql$v-contrib CONTRIB 1.6 FTS PostgreSQL 17,16,15,14,13 文本相似度测量函数与模糊检索
citus citus citus_$v* PIGSTY 13.0.3 OLAP AGPLv3 17,16,15,14 Citus 分布式数据库
citus_columnar citus citus_$v* PIGSTY 13.0.3 OLAP AGPLv3 17,16,15,14 Citus 列式存储引擎
columnar hydra hydra_$v* PIGSTY 1.1.2 OLAP AGPLv3 16,15,14,13 开源列式存储扩展
pg_analytics pg_analytics pg_analytics_$v PIGSTY 0.3.7 OLAP PostgreSQL 17,16,15,14 由 DuckDB 驱动的数据分析引擎
pg_duckdb pg_duckdb pg_duckdb_$v* PIGSTY 0.3.1 OLAP MIT 17,16,15,14 在PostgreSQL中的嵌入式DuckDB扩展
pg_mooncake pg_mooncake pg_mooncake_$v* PIGSTY 0.1.2 OLAP MIT 17,16,15,14 PostgreSQL列式存储表
duckdb_fdw duckdb_fdw duckdb_fdw_$v* PIGSTY 1.1.2 OLAP MIT 17,16,15,14,13 DuckDB 外部数据源包装器
pg_parquet pg_parquet pg_parquet_$v PIGSTY 0.4.0 OLAP PostgreSQL 17,16,15,14 在PostgreSQL与本地/S3中的Parquet文件复制数据
pg_fkpart pg_fkpart pg_fkpart_$v PIGSTY 1.7.0 OLAP GPLv2 17,16,15,14,13 按外键实用程序进行表分区的扩展
pg_partman pg_partman pg_partman_$v* PGDG 5.2.4 OLAP PostgreSQL 17,16,15,14,13 用于按时间或 ID 管理分区表的扩展
plproxy plproxy plproxy_$v* PIGSTY 2.11.0 OLAP BSD 0 17,16,15,14,13 作为过程语言实现的数据库分区
pg_strom pg_strom pg_strom_$v* PGDG 6.0 OLAP PostgreSQL 17,16,15,14,13 使用GPU与NVMe加速大数据处理
tablefunc tablefunc postgresql$v-contrib CONTRIB 1.0 OLAP PostgreSQL 17,16,15,14,13 交叉表函数
age age apache-age_$v* PIGSTY 1.5.0 FEAT Apache-2.0 17,16,15,14,13 Apache AGE,图数据库扩展 (Deb可用)
hll hll hll_$v* PGDG 2.18 FEAT Apache-2.0 17,16,15,14,13 hyperloglog 数据类型
rum rum rum_$v PGDG 1.3.14 FEAT PostgreSQL 17,16,15,14,13 RUM 索引访问方法
pg_graphql pg_graphql pg_graphql_$v PIGSTY 1.5.11 FEAT Apache-2.0 17,16,15,14 PG内的 GraphQL 支持 (RUST, supabase)
pg_jsonschema pg_jsonschema pg_jsonschema_$v PIGSTY 0.3.3 FEAT Apache-2.0 17,16,15,14,13 提供JSON Schema校验能力
jsquery jsquery jsquery_$v* PGDG 1.2 FEAT PostgreSQL 17,16,15,14,13 用于内省 JSONB 数据类型的查询类型
pg_hint_plan pg_hint_plan pg_hint_plan_$v* PGDG 1.7.0 FEAT BSD 3 17,16,15,14,13 添加强制指定执行计划的能力
hypopg hypopg hypopg_$v* PGDG 1.4.1 FEAT PostgreSQL 17,16,15,14,13 假设索引,用于创建一个虚拟索引检验执行计划
index_advisor index_advisor index_advisor_$v PIGSTY 0.2.0 FEAT PostgreSQL 17,16,15,14,13 查询索引建议器
plan_filter pg_plan_filter pg_plan_filter_$v* PIGSTY 0.0.1 FEAT PostgreSQL 17,16,15,14,13 使用执行计划代价过滤阻止特定查询语句
imgsmlr imgsmlr imgsmlr_$v* PIGSTY 1.0 FEAT PostgreSQL 17,16,15,14,13 使用Haar小波分析计算图片相似度
pg_ivm pg_ivm pg_ivm_$v* PGDG 1.11 FEAT PostgreSQL 17,16,15,14,13 增量维护的物化视图
pg_incremental pg_incremental pg_incremental_$v* PIGSTY 1.2.0 FEAT PostgreSQL 17,16 增量处理流式事件
pgmq pgmq pgmq_$v PIGSTY 1.5.1 FEAT PostgreSQL 17,16,15,14,13 基于Postgres实现类似AWS SQS/RSMQ的消息队列
pgq pgq pgq_$v* PGDG 3.5.1 FEAT ISC 17,16,15,14,13 通用队列的PG实现
pg_cardano pg_cardano pg_cardano_$v PIGSTY 1.0.5 FEAT MIT 17,16,15,14,13 Cardano相关工具包:加密函数,地址编解码,区块链处理
omni omnigres omnigres_$v PIGSTY 0.2.9 FEAT Apache-2.0 17,16,15,14,13 PostgreSQL即平台,Omnigres主扩展与加载器
omni_auth omnigres omnigres_$v PIGSTY 0.1.3 FEAT Apache-2.0 17,16,15,14,13 Omnigres 基础会话认证管理模块
omni_aws omnigres omnigres_$v PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres AWS S3 API封装
omni_cloudevents omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres CloudEvents 支持
omni_containers omnigres omnigres_$v PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Docker容器管理模块
omni_credentials omnigres omnigres_$v PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 应用密钥管理模块
omni_email omnigres omnigres_$v PIGSTY 0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Email 框架
omni_http omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 基本HTTP类型
omni_httpc omnigres omnigres_$v PIGSTY 0.1.5 FEAT Apache-2.0 17,16,15,14,13 Omnigres HTTP客户端
omni_httpd omnigres omnigres_$v PIGSTY 0.4.6 FEAT Apache-2.0 17,16,15,14,13 Omnigres HTTP服务器
omni_id omnigres omnigres_$v PIGSTY 0.4.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres ID身份数据类型
omni_json omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres JSON工具箱
omni_kube omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres Kubernetes集成模块
omni_ledger omnigres omnigres_$v PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 金融账本模块
omni_manifest omnigres omnigres_$v PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 包管理清单模块
omni_mimetypes omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres MIME数据类型
omni_os omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 操作系统集成模块
omni_polyfill omnigres omnigres_$v PIGSTY 0.2.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres Postgres多态API
omni_python omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 第一类Python支持模块
omni_regex omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres PCRE兼容正则表达式模块
omni_rest omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres REST API 工具包
omni_schema omnigres omnigres_$v PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 高级模式管理组件
omni_seq omnigres omnigres_$v PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 分布式整型序列号
omni_service omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 服务管理器
omni_session omnigres omnigres_$v PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 会话管理器
omni_sql omnigres omnigres_$v PIGSTY 0.5.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres SQL编程组件
omni_sqlite omnigres omnigres_$v PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 嵌入的SQLite支持
omni_test omnigres omnigres_$v PIGSTY 0.4.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 测试框架
omni_txn omnigres omnigres_$v PIGSTY 0.5.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 事务管理器模块
omni_types omnigres omnigres_$v PIGSTY 0.3.4 FEAT Apache-2.0 17,16,15,14,13 Omnigres 高级数据类型模块
omni_var omnigres omnigres_$v PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 局部变量模块
omni_vfs omnigres omnigres_$v PIGSTY 0.2.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 虚拟文件系统
omni_vfs_types_v1 omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 虚拟文件系统(v1)
omni_web omnigres omnigres_$v PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Web工具箱
omni_worker omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 通用Worker池
omni_xml omnigres omnigres_$v PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres XML工具包
omni_yaml omnigres omnigres_$v PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres YAML工具包
bloom bloom postgresql$v-contrib CONTRIB 1.0 FEAT PostgreSQL 17,16,15,14,13 bloom 索引-基于指纹的索引
pg_tle pg_tle pg_tle_$v* PIGSTY 1.5.0 LANG Apache-2.0 17,16,15,14,13 AWS 可信语言扩展
plv8 plv8 plv8_$v* PIGSTY 3.2.3 LANG PostgreSQL 17,16,15,14,13 PL/JavaScript (v8) 可信过程程序语言
pllua pllua pllua_$v* PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言
plluau pllua pllua_$v* PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言(不受信任的)
plprql plprql plprql_$v PIGSTY 1.0.0 LANG Apache-2.0 16,15,14,13 在PostgreSQL使用PRQL——管线式关系查询语言
pldbgapi pldebugger pldebugger_$v* PGDG 1.8 LANG Artistic 17,16,15,14,13 用于调试 PL/pgSQL 函数的服务器端支持
plpgsql_check plpgsql_check plpgsql_check_$v* PGDG 2.8.1 LANG MIT 17,16,15,14,13 对 plpgsql 函数进行扩展检查
plprofiler plprofiler plprofiler_$v* PGDG 4.2.5 LANG Artistic 17,16,15,14,13 剖析 PL/pgSQL 函数
plsh plsh plsh_$v* PGDG 1.20220917 LANG MIT 17,16,15,14,13 PL/sh 程序语言
pljava pljava pljava_$v* PGDG 1.6.9 LANG BSD 3 17,16,15,14,13 Java 程序语言
plr plr plr_$v* PGDG 8.4.7 LANG GPLv2 17,16,15,14,13 从数据库中加载R语言解释器并执行R脚本
pgtap pgtap pgtap_$v* PGDG 1.3.3 LANG PostgreSQL 17,16,15,14,13 PostgreSQL单元测试框架
faker faker postgresql_faker_$v* PGDG 0.5.3 LANG PostgreSQL 17,16,15,14,13 插入生成的测试伪造数据,Python库的包装
dbt2 dbt2 dbt2-pg$v-extensions* PGDG 0.45.0 LANG Artistic 17,16,15,14,13 OSDL-DBT-2 测试组件
pltcl pltcl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/TCL 存储过程语言
pltclu pltcl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/TCL 存储过程语言(未受信/高权限)
plperl plperl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/Perl 存储过程语言
bool_plperl plperl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 bool 和 plperl 之间转换
hstore_plperl plperl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plperl 之间转换适配类型
jsonb_plperl plperl postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plperl 之间转换
plperlu plperlu postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/PerlU 存储过程语言(未受信/高权限)
bool_plperlu plperlu postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 bool 和 plperlu 之间转换
jsonb_plperlu plperlu postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plperlu 之间转换
hstore_plperlu plperlu postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plperlu 之间转换适配类型
plpgsql plpgsql postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/pgSQL 程序设计语言
plpython3u plpython3u postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/Python3 存储过程语言(未受信/高权限)
jsonb_plpython3u plpython3u postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plpython3u 之间转换
ltree_plpython3u plpython3u postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 ltree 和 plpython3u 之间转换
hstore_plpython3u plpython3u postgresql$v-contrib CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plpython3u 之间转换
prefix pg_prefix prefix_$v* PGDG 1.2.10 TYPE PostgreSQL 17,16,15,14,13 前缀树数据类型
semver pg_semver semver_$v* PGDG 0.40.0 TYPE PostgreSQL 17,16,15,14,13 语义版本号数据类型
unit pgunit postgresql-unit_$v* PGDG 7.10 TYPE GPLv2 17,16,15,14,13 SI 国标单位扩展
pgpdf pgpdf pgpdf_$v* PIGSTY 0.1.0 TYPE GPLv3 17,16,15,14,13 PDF数据类型,管理函数与全文检索
pglite_fusion pglite_fusion pglite_fusion_$v PIGSTY 0.0.5 TYPE MIT 17,16,15,14,13 在PG表中嵌入SQLite数据库作为数据类型
md5hash md5hash md5hash_$v* PIGSTY 1.0.1 TYPE BSD 2 17,16,15,14,13 提供128位MD5的原生数据类型
asn1oid asn1oid asn1oid_$v* PIGSTY 1.6 TYPE GPLv3 17,16,15,14,13 ASN1OID数据类型支持
roaringbitmap roaringbitmap pg_roaringbitmap_$v* PIGSTY 0.5.4 TYPE Apache-2.0 17,16,15,14,13 支持RoaringBitmap数据类型
pgfaceting pgfaceting pgfaceting_$v PIGSTY 0.2.0 TYPE BSD 3 17,16,15,14,13 使用倒排索引的高速切面查询
pg_sphere pgsphere pgsphere_$v* PIGSTY 1.5.1 TYPE BSD 3 17,16,15,14,13 球面对象函数、运算符与索引支持
country pg_country pg_country_$v* PIGSTY 0.0.3 TYPE PostgreSQL 17,16,15,14,13 国家代码数据类型,遵循ISO 3166-1标准
pg_xenophile pg_xenophile pg_xenophile_$v PIGSTY 0.8.3 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL i8n与l10n工具包
l10n_table_dependent_extension pg_xenophile pg_xenophile_$v PIGSTY 0.8.3 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL l10n 工具包
currency pg_currency pg_currency_$v* PIGSTY 0.0.3 TYPE MIT 17,16,15,14,13 使用1字节表示的货币数据类型
collection pg_collection pgcollection_$v* PIGSTY 1.0.0 TYPE Apache-2.0 17,16,15,14 在PlPGSQL中使用的内存优化高性能集合数据结构
pgmp pgmp pgmp_$v* PGDG 1.0.5 TYPE LGPLv3 17,16,15,14,13 多精度算术扩展
numeral numeral numeral_$v* PIGSTY 1.3 TYPE GPLv2 17,16,15,14,13 数值类型扩展
pg_rational pg_rational pg_rational_$v* PIGSTY 0.0.2 TYPE MIT 17,16,15,14,13 使用BIGINT表示的有理数数据类型
uint pguint pguint_$v* PIGSTY 1.20231206 TYPE PostgreSQL 17,16,15,14,13 无符号整型数据类型
uint128 pg_uint128 pg_uint128_$v* PIGSTY 1.0.0 TYPE PostgreSQL 17,16,15,14,13 原生128位无符号整型数据类型
hashtypes hashtypes hashtypes_$v* PIGSTY 0.1.5 TYPE PostgreSQL 17,16,15,14 包括SHA1,MD5在内的多种哈希数据类型
ip4r ip4r ip4r_$v* PGDG 2.4.2 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型
pg_duration pg_duration pg_duration_$v* PIGSTY 1.0.2 TYPE MIT 17 用于表示时间段的强化数据类型
uri pg_uri pg_uri_$v* PIGSTY 1.20151224 TYPE PostgreSQL 17,16,15,14,13 URI数据类型
emailaddr pgemailaddr pg_emailaddr_$v* PIGSTY 0 TYPE PostgreSQL 17,16,15,14,13 Email地址数据类型
acl pg_acl acl_$v* PIGSTY 1.0.4 TYPE BSD 2 17,16,15,14,13 ACL数据类型
timestamp9 timestamp9 timestamp9_$v* PGDG 1.4.0 TYPE MIT 17,16,15,14,13 纳秒分辨率时间戳
chkpass chkpass chkpass_$v* PIGSTY 1.0 TYPE PostgreSQL 17,16,15,14,13 数据类型:自动加密的密码
isn isn postgresql$v-contrib CONTRIB 1.2 TYPE PostgreSQL 17,16,15,14,13 用于国际产品编号标准的数据类型
seg seg postgresql$v-contrib CONTRIB 1.4 TYPE PostgreSQL 17,16,15,14,13 表示线段或浮点间隔的数据类型
cube cube postgresql$v-contrib CONTRIB 1.5 TYPE PostgreSQL 17,16,15,14,13 用于存储多维立方体的数据类型
ltree ltree postgresql$v-contrib CONTRIB 1.3 TYPE PostgreSQL 17,16,15,14,13 用于表示分层树状结构的数据类型
hstore hstore postgresql$v-contrib CONTRIB 1.8 TYPE PostgreSQL 17,16,15,14,13 用于存储(键,值)对集合的数据类型
citext citext postgresql$v-contrib CONTRIB 1.6 TYPE PostgreSQL 17,16,15,14,13 提供大小写不敏感的字符串类型
xml2 xml2 postgresql$v-contrib CONTRIB 1.1 TYPE PostgreSQL 17,16,15,14,13 XPath 查询和 XSLT
gzip pg_gzip pgsql_gzip_$v* PGDG 1.0.1 UTIL MIT 17,16,15,14,13 使用SQL执行Gzip压缩与解压缩
bzip pg_bzip pg_bzip_$v* PIGSTY 1.0.0 UTIL MIT 17,16,15,14,13 BZIP压缩解压缩函数包
zstd pg_zstd pg_zstd_$v* PIGSTY 1.1.2 UTIL ISC 17,16,15,14,13 ZSTD压缩解压缩函数包
http pg_http pgsql_http_$v* PGDG 1.6.3 UTIL MIT 17,16,15,14,13 HTTP客户端,允许在数据库内收发HTTP请求 (supabase)
pg_net pg_net pg_net_$v* PIGSTY 0.9.2 UTIL Apache-2.0 17,16,15,14,13 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase)
pg_curl pg_curl pg_curl_$v* PIGSTY 2.4 UTIL MIT 17,16,15,14,13 封装CURL,执行各种用URL传输数据的操作
pgjq pgjq pgjq_$v* PIGSTY 0.1.0 UTIL MIT 17,16,15,14 在Postgres中使用jq查询JSON
pgjwt pgjwt pgjwt_$v PIGSTY 0.2.0 UTIL MIT 17,16,15,14,13 JSON Web Token API 的PG实现 (supabase)
pg_smtp_client pg_smtp_client pg_smtp_client_$v PIGSTY 0.2.0 UTIL MIT 17,16,15,14 使用SMTP从PostgreSQL内发送邮件的客户端扩展
pg_html5_email_address pg_html5_email_address pg_html5_email_address_$v PIGSTY 1.2.3 UTIL PostgreSQL 17,16,15,14,13 验证Email是否符合HTML5规范的扩展
url_encode url_encode url_encode_$v* PIGSTY 1.2.5 UTIL PostgreSQL 17,16,15,14,13 提供URL编码解码函数
pgsql_tweaks pgsql_tweaks pgsql_tweaks_$v PGDG 0.11.1 UTIL PostgreSQL 17,16,15,14,13 一些日常会用到的便利函数与视图
pg_extra_time pg_extra_time pg_extra_time_$v PGDG 2.0.0 UTIL PostgreSQL 17,16,15,14,13 一些关于日期与时间的扩展函数
pgpcre pgpcre pgpcre_$v PIGSTY 1 UTIL PostgreSQL 17,16,15,14,13 PCRE/Perl风格的正则表达式支持
icu_ext icu_ext icu_ext_$v* PIGSTY 1.9.0 UTIL PostgreSQL 17,16,15,14,13 访问ICU库提供的函数
pgqr pgqr pgqr_$v* PIGSTY 1.0 UTIL BSD 3 17,16,15,14,13 从数据库中直接生成QR二维码
pg_protobuf pg_protobuf pg_protobuf_$v PIGSTY 1.0 UTIL MIT 17,16,15,14,13 提供Protobuf函数支持
envvar envvar pg_envvar_$v* PIGSTY 1.0.1 UTIL PostgreSQL 17,16,15,14,13 获取环境变量的函数
floatfile floatfile floatfile_$v* PIGSTY 1.3.1 UTIL MIT 17,16,15,14,13 将浮点数组存储到文件中而不是堆表中
pg_render pg_render pg_render_$v PIGSTY 0.1.2 UTIL MIT 17,16,15,14 使用SQL渲染HTML页面
pg_readme pg_readme pg_readme_$v PGDG 0.7.0 UTIL PostgreSQL 17,16,15,14,13 为模式与扩展生成Markdown文档
pg_readme_test_extension pg_readme pg_readme_$v PGDG 0.7.0 UTIL PostgreSQL 17,16,15,14,13 为模式与扩展生成Markdown文档
ddl_historization ddl_historization ddl_historization_$v PIGSTY 0.0.7 UTIL GPLv2 17,16,15,14,13 用SQL将所有DDL变更写入到数据库表中
data_historization data_historization data_historization_$v PIGSTY 1.1.0 UTIL PostgreSQL 17,16,15,14,13 用SQL将数据变更历史保存到分区表中
schedoc pg_schedoc pg_schedoc_$v PIGSTY 0.0.1 UTIL GPLv3 17,16,15,14,13 在Django与DBT之间通过注释文档交换元数据
hashlib pg_hashlib pg_hashlib_$v PIGSTY 1.1 UTIL PostgreSQL 17,16,15,14,13 稳定哈希函数包
xxhash pg_xxhash pg_xxhash_$v* PIGSTY 0.0.1 UTIL BSD 2 17,16,15,14,13 xxhash哈希函数包
shacrypt shacrypt postgres_shacrypt_$v* PIGSTY 1.1 UTIL PostgreSQL 17,16,15,14,13 实现SHA256-CRYPT与SHA512-CRYPT密钥加密算法
cryptint cryptint cryptint_$v* PIGSTY 1.0.0 UTIL PostgreSQL 17,16,15,14,13 加密INT与BIGINT类型
pguecc pg_ecdsa pg_ecdsa_$v* PIGSTY 1.0 UTIL BSD 2 17,16,15,14,13 PostgreSQL的uECC绑定,椭圆曲线加解密函数包
sparql pgsparql pgsparql_$v PIGSTY 1.0 UTIL Apache-2.0 17,16,15,14,13 使用SQL查询SPARQL数据源
pg_idkit pg_idkit pg_idkit_$v PIGSTY 0.3.0 FUNC Apache-2.0 17,16,15,14,13 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID
pgx_ulid pgx_ulid pgx_ulid_$v PIGSTY 0.2.0 FUNC MIT 17,16,15,14 ULID数据类型与函数
pg_uuidv7 pg_uuidv7 pg_uuidv7_$v* PGDG 1.6.0 FUNC MPLv2 17,16,15,14,13 UUIDv7 支持
permuteseq permuteseq permuteseq_$v* PIGSTY 1.2.2 FUNC PostgreSQL 17,16,15,14,13 伪随机数ID置换生成器
pg_hashids pg_hashids pg_hashids_$v* PIGSTY 1.3 FUNC MIT 17,16,15,14,13 加盐将整型ID转为短字符串ID
sequential_uuids sequential_uuids sequential_uuids_$v PGDG 1.0.3 FUNC MIT 17,16,15,14,13 生成连续生成的UUID
topn topn topn_$v* PGDG 2.7.0 FUNC AGPLv3 17,16,15,14,13 top-n JSONB 的类型
quantile quantile quantile_$v* PIGSTY 1.1.8 FUNC BSD 2 17,16,15,14,13 Quantile聚合函数
lower_quantile lower_quantile lower_quantile_$v* PIGSTY 1.0.3 FUNC BSD 2 17,16,15,14,13 Lower Quantile 聚合函数
count_distinct count_distinct count_distinct_$v* PIGSTY 3.0.2 FUNC BSD 2 17,16,15,14,13 COUNT(DISTINCT …) 聚合的替代方案
omnisketch omnisketch omnisketch_$v* PIGSTY 1.0.2 FUNC PostgreSQL 17,16,15,14,13 实现OmniSketch数据结构,实现近似摘要聚合
ddsketch ddsketch ddsketch_$v* PIGSTY 1.0.1 FUNC PostgreSQL 17,16,15,14,13 实现DDSketch数据结构,实现在线的Quantile聚合
vasco vasco vasco_$v* PIGSTY 0.1.0 FUNC GPLv3 17,16,15,14,13 使用MIC发现数据中隐含的关联
xicor pgxicor pgxicor_$v* PIGSTY 0.1.0 FUNC GPLv3 17,16,15,14,13 在PG中计算XI相关系数
tdigest tdigest tdigest_$v* PGDG 1.4.3 FUNC Apache-2.0 17,16,15,14,13 tdigest 聚合函数
first_last_agg first_last_agg first_last_agg_$v PIGSTY 0.1.4 FUNC PostgreSQL 17,16,15,14,13 first() 与 last() 聚合函数
extra_window_functions extra_window_functions extra_window_functions_$v* PGDG 1.0 FUNC PostgreSQL 17,16,15,14,13 额外的窗口函数
floatvec floatvec floatvec_$v* PIGSTY 1.1.1 FUNC MIT 17,16,15,14,13 数组类型数学运算扩展
aggs_for_vecs aggs_for_vecs aggs_for_vecs_$v* PIGSTY 1.4.0 FUNC MIT 17,16,15,14,13 针对数组类型的聚合函数集合扩展
aggs_for_arrays aggs_for_arrays aggs_for_arrays_$v* PIGSTY 1.3.3 FUNC MIT 17,16,15,14,13 计算数组聚合统计值的函数包
arraymath pg_arraymath pg_arraymath_$v* PIGSTY 1.1 FUNC MIT 17,16,15,14,13 数组逐元素数学运算符包
pg_math pg_math pg_math_$v* PIGSTY 1.0 FUNC GPLv3 17,16,15,14,13 使用GSL库的数学统计函数
random pg_random pg_random_$v* PIGSTY 2.0.0 FUNC PostgreSQL 17,16,15,14,13 随机数生成器
base36 pg_base36 pg_base36_$v* PIGSTY 1.0.0 FUNC MIT 17,16,15,14,13 Base36编码解码扩展
base62 pg_base62 pg_base62_$v* PIGSTY 0.0.1 FUNC MIT 17,16,15,14,13 Base62编码解码扩展
pg_base58 pg_base58 pg_base58_$v PIGSTY 0.0.1 FUNC MIT 17,16,15,14,13 Base58 编码/解码函数
financial pg_financial pg_financial_$v* PIGSTY 1.0.1 FUNC PostgreSQL 17,16,15,14,13 金融领域聚合函数
convert pg_convert pg_convert_$v PIGSTY 0.0.4 FUNC MIT 17,16,15,14,13 用于空间里程等的公英制转换函数
refint refint postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 实现引用完整性的函数
autoinc autoinc postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于自动递增字段的函数
insert_username insert_username postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于跟踪谁更改了表的函数
moddatetime moddatetime postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 跟踪最后修改时间
tsm_system_time tsm_system_time postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 接受毫秒数限制的 TABLESAMPLE 方法
dict_xsyn dict_xsyn postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于扩展同义词处理的文本搜索字典模板
tsm_system_rows tsm_system_rows postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 接受行数限制的 TABLESAMPLE 方法
tcn tcn postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用触发器通知变更
uuid-ossp uuid-ossp postgresql$v-contrib CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 生成通用唯一标识符(UUIDs)
btree_gist btree_gist postgresql$v-contrib CONTRIB 1.7 FUNC PostgreSQL 17,16,15,14,13 用GiST索引常见数据类型
btree_gin btree_gin postgresql$v-contrib CONTRIB 1.3 FUNC PostgreSQL 17,16,15,14,13 用GIN索引常见数据类型
intarray intarray postgresql$v-contrib CONTRIB 1.5 FUNC PostgreSQL 17,16,15,14,13 1维整数数组的额外函数、运算符和索引支持
intagg intagg postgresql$v-contrib CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 整数聚合器和枚举器(过时)
dict_int dict_int postgresql$v-contrib CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于整数的文本搜索字典模板
unaccent unaccent postgresql$v-contrib CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 删除重音的文本搜索字典
pg_repack pg_repack pg_repack_$v* PGDG 1.5.2 ADMIN BSD 3 17,16,15,14,13 在线垃圾清理与表膨胀治理
pg_squeeze pg_squeeze pg_squeeze_$v* PGDG 1.8.0 ADMIN BSD 2 17,16,15,14,13 从关系中删除未使用空间
pg_dirtyread pg_dirtyread pg_dirtyread_$v* PIGSTY 2.7 ADMIN BSD 3 17,16,15,14,13 从表中读取尚未垃圾回收的行
pgfincore pgfincore pgfincore_$v* PGDG 1.3.1 ADMIN BSD 3 17,16,15,14,13 检查和管理操作系统缓冲区缓存
pg_cooldown pg_cooldown pg_cooldown_$v* PIGSTY 0.1 ADMIN Apache-2.0 17,16,15,14,13 从缓冲区中移除特定关系的页面
ddlx pg_ddlx ddlx_$v PIGSTY 0.29 ADMIN PostgreSQL 17,16,15,14,13 提取数据库对象的DDL
prioritize pg_prioritize pg_prioritize_$v* PGDG 1.0.4 ADMIN PostgreSQL 17,16,15,14,13 获取和设置 PostgreSQL 后端的优先级
pg_checksums pg_checksums pg_checksums_$v* PGDG 1.2 ADMIN BSD 2 17,16,15,14,13 在离线模式下激活/启用/禁用数据库集群的校验和功能
pg_readonly pg_readonly pg_readonly_$v* PGDG 1.0.3 ADMIN PostgreSQL 17,16,15,14,13 将集群设置为只读
pgdd pgdd pgdd_$v PIGSTY 0.6.0 ADMIN MIT 17,16,15,14,13 提供通过标准SQL查询数据库目录集簇的能力
pg_permissions pg_permissions pg_permissions_$v PGDG 1.3 ADMIN BSD 2 17,16,15,14,13 查看对象权限并将其与期望状态进行比较
pgautofailover pgautofailover pg_auto_failover_$v* PGDG 2.2 ADMIN PostgreSQL 17,16,15,14,13 PG 自动故障迁移
pg_catcheck pg_catcheck pg_catcheck_$v* PGDG 1.6.0 ADMIN BSD 3 17,16,15,14,13 用于诊断系统目录是否损坏的工具
pre_prepare preprepare preprepare_$v* PIGSTY 0.9 ADMIN PostgreSQL 17,16,15,14,13 在服务端预先准备好PreparedStatement备用
pg_upless pg_upless pg_upless_$v PIGSTY 0.0.3 ADMIN PostgreSQL 17,16,15,14,13 检测表上的无用UPDATE
pgcozy pgcozy pgcozy_$v PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 根据先前的pg_buffercache快照预热内存缓冲区
pg_orphaned pg_orphaned pg_orphaned_$v* PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 处理孤儿文件的扩展插件
pg_crash pg_crash pg_crash_$v* PIGSTY 1.0 ADMIN BSD 3 17,16,15,14,13 向数据库进程随机发送信号模拟故障
pg_cheat_funcs pg_cheat_funcs pg_cheat_funcs_$v* PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 一些超级实用的作弊函数
fio pg_fio pg_fio_$v PIGSTY 1.0 ADMIN BSD 3 17,16,15,14,13 PostgreSQL文件IO函数包
pg_savior pg_savior pg_savior_$v* PIGSTY 0.0.1 ADMIN Apache-2.0 17,16,15,14,13 阻止不带条件的全表更新以避免意外事故
safeupdate safeupdate safeupdate_$v* PGDG 1.5 ADMIN ISC 17,16,15,14,13 强制在 UPDATE 和 DELETE 时提供 Where 条件
pg_drop_events pg_drop_events pg_drop_events_$v PGDG 0.1.0 ADMIN PostgreSQL 17,16,15,14,13 记录删表删列删视图的事务号,辅助PITR确定时间点
table_log table_log table_log_$v PIGSTY 0.6.4 ADMIN PostgreSQL 17,16,15,14,13 记录某张表的修改日志并做表/行级时间点恢复
pgagent pgagent pgagent_$v* PGDG 4.2.3 ADMIN PostgreSQL 17,16,15,14,13 PostgreSQL任务调度工具,与PGADMIN配合使用
pg_prewarm pg_prewarm postgresql$v-contrib CONTRIB 1.2 ADMIN PostgreSQL 17,16,15,14,13 预热关系数据
pgpool_adm pgpool pgpool-II-pg$v-extensions PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool 管理函数
pgpool_recovery pgpool pgpool-II-pg$v-extensions PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool辅助扩展,从v4.3提供的恢复函数
pgpool_regclass pgpool pgpool-II-pg$v-extensions PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool辅助扩展,RegClass替代
lo lo postgresql$v-contrib CONTRIB 1.1 ADMIN PostgreSQL 17,16,15,14,13 大对象维护
basic_archive basic_archive postgresql$v-contrib CONTRIB - ADMIN PostgreSQL 17,16,15 归档模块样例
basebackup_to_shell basebackup_to_shell postgresql$v-contrib CONTRIB - ADMIN PostgreSQL 17,16,15 添加一种备份到Shell终端到基础备份方式
old_snapshot old_snapshot postgresql$v-contrib CONTRIB 1.0 ADMIN PostgreSQL 16,15,14 支持 old_snapshot_threshold 的实用程序
adminpack adminpack postgresql$v-contrib CONTRIB 2.1 ADMIN PostgreSQL 16,15,14,13 PostgreSQL 管理函数集合
amcheck amcheck postgresql$v-contrib CONTRIB 1.4 ADMIN PostgreSQL 17,16,15,14,13 校验关系完整性
pg_surgery pg_surgery postgresql$v-contrib CONTRIB 1.0 ADMIN PostgreSQL 17,16,15,14 对损坏的关系进行手术
pg_profile pg_profile pg_profile_$v* PGDG 4.8 STAT BSD 2 17,16,15,14,13 PostgreSQL 数据库负载记录与AWR报表工具
pg_tracing pg_tracing pg_tracing_$v* PIGSTY 0.1.3 STAT MIT 17,16,15 PostgreSQL分布式Tracing
pg_show_plans pg_show_plans pg_show_plans_$v* PGDG 2.1.3 STAT PostgreSQL 17,16,15,14,13 打印所有当前正在运行查询的执行计划
pg_stat_kcache pg_stat_kcache pg_stat_kcache_$v* PGDG 2.3.0 STAT BSD 3 17,16,15,14,13 内核统计信息收集
pg_stat_monitor pg_stat_monitor pg_stat_monitor_$v* PGDG 2.1.1 STAT BSD 3 17,16,15,14,13 提供查询聚合统计、客户端信息、执行计划详细信息和直方图
pg_qualstats pg_qualstats pg_qualstats_$v* PGDG 2.1.1 STAT BSD 3 17,16,15,14,13 收集有关 quals 的统计信息的扩展
pg_store_plans pg_store_plans pg_store_plans_$v* PIGSTY 1.8 STAT BSD 3 17,16,15,14,13 跟踪所有执行的 SQL 语句的计划统计信息
pg_track_settings pg_track_settings pg_track_settings_$v PGDG 2.1.2 STAT PostgreSQL 17,16,15,14,13 跟踪设置更改
pg_wait_sampling pg_wait_sampling pg_wait_sampling_$v* PGDG 1.1.8 STAT PostgreSQL 17,16,15,14,13 基于采样的等待事件统计
pgsentinel pgsentinel pgsentinel_$v* PIGSTY 1.1.0 STAT PostgreSQL 17,16,15,14,13 活跃会话历史
system_stats system_stats system_stats_$v* PGDG 3.2 STAT PostgreSQL 17,16,15,14,13 PostgreSQL 的系统统计函数
meta pg_meta pg_meta_$v PIGSTY 0.4.0 STAT BSD 2 17,16,15,14,13 标准化,更友好的PostgreSQL系统目录视图
pgnodemx pgnodemx pgnodemx_$v PIGSTY 1.7 STAT Apache-2.0 17,16,15,14,13 使用SQL查询获取操作系统指标
pg_proctab pgnodemx pgnodemx_$v PIGSTY 1.7 STAT BSD 3 17,16,15,14,13 通过SQL接口访问操作系统进程表
pg_sqlog pg_sqlog pg_sqlog_$v PIGSTY 1.6 STAT BSD 3 17,16,15,14,13 提供访问PostgreSQL日志的SQL接口
bgw_replstatus bgw_replstatus bgw_replstatus_$v* PGDG 1.0.7 STAT PostgreSQL 17,16,15,14,13 用于汇报本机主从状态的后台工作进程
pgmeminfo pgmeminfo pgmeminfo_$v* PIGSTY 1.0.0 STAT MIT 17,16,15,14,13 显示内存使用情况
toastinfo toastinfo toastinfo_$v* PIGSTY 1.5 STAT PostgreSQL 17,16,15,14,13 显示TOAST字段的详细信息
explain_ui pg_explain_ui pg_explain_ui_$v PIGSTY 0.0.1 STAT PostgreSQL 17,16,15,14,13 快速跳转至PEV查阅可视化执行计划
pg_relusage pg_relusage pg_relusage_$v PIGSTY 0.0.1 STAT PostgreSQL 17,16,15,14,13 打印查询引用的表与列
pagevis pagevis pagevis_$v PIGSTY 0.1 STAT MIT 17,16,15,14,13 使用ASCII字符可视化数据库物理页面布局
powa powa powa_$v* PGDG 5.0.1 STAT PostgreSQL 17,16,15,14,13 PostgreSQL 工作负载分析器-核心
pg_overexplain pg_overexplain postgresql$v-contrib CONTRIB 1.0 STAT PostgreSQL 18 允许 EXPLAIN 转储更多详细
pg_logicalinspect pg_logicalinspect postgresql$v-contrib CONTRIB 1.0 STAT PostgreSQL 18 检视逻辑解码组件详情
pageinspect pageinspect postgresql$v-contrib CONTRIB 1.12 STAT PostgreSQL 17,16,15,14,13 检查数据库页面二进制内容
pgrowlocks pgrowlocks postgresql$v-contrib CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 显示行级锁信息
sslinfo sslinfo postgresql$v-contrib CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 关于 SSL 证书的信息
pg_buffercache pg_buffercache postgresql$v-contrib CONTRIB 1.5 STAT PostgreSQL 17,16,15,14,13 检查共享缓冲区缓存
pg_walinspect pg_walinspect postgresql$v-contrib CONTRIB 1.1 STAT PostgreSQL 17,16,15 用于检查 PostgreSQL WAL 日志内容的函数
pg_freespacemap pg_freespacemap postgresql$v-contrib CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 检查自由空间映射的内容(FSM)
pg_visibility pg_visibility postgresql$v-contrib CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 检查可见性图(VM)和页面级可见性信息
pgstattuple pgstattuple postgresql$v-contrib CONTRIB 1.5 STAT PostgreSQL 17,16,15,14,13 显示元组级统计信息
auto_explain auto_explain postgresql$v-contrib CONTRIB - STAT PostgreSQL 17,16,15,14,13 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements postgresql$v-contrib CONTRIB 1.11 STAT PostgreSQL 17,16,15,14,13 跟踪所有执行的 SQL 语句的计划和执行统计信息
passwordcheck_cracklib passwordcheck passwordcheck_cracklib_$v* PGDG 3.1.0 SEC LGPLv2 17,16,15,14,13 使用cracklib加固PG用户密码
supautils supautils supautils_$v PIGSTY 2.9.2 SEC Apache-2.0 17,16,15,14,13 用于在云环境中确保数据库集群的安全
pgsodium pgsodium pgsodium_$v* PIGSTY 3.1.9 SEC BSD 3 17,16,15,14,13 表数据加密存储 TDE
supabase_vault pg_vault vault_$v* PIGSTY 0.3.1 SEC Apache-2.0 17,16,15,14,13 在 Vault 中存储加密凭证的扩展 (supabase)
pg_session_jwt pg_session_jwt pg_session_jwt_$v PIGSTY 0.3.1 SEC Apache-2.0 17,16,15,14 使用JWT进行会话认证
anon pg_anon pg_anon_$v PIGSTY 2.1.1 SEC PostgreSQL 17,16,15,14,13 数据匿名化处理工具
pg_tde pg_tde pg_tde_$v* PIGSTY 1.0 SEC MIT 16 试点性质的加密存储引擎
pgsmcrypto pgsmcrypto pgsmcrypto_$v PIGSTY 0.1.0 SEC MIT 17,16,15,14,13 为PostgreSQL提供商密算法支持:SM2,SM3,SM4
pgaudit pgaudit pgaudit_$v* PGDG 17.1 SEC PostgreSQL 17,16,15,14,13 提供审计功能
pgauditlogtofile pgauditlogtofile pgauditlogtofile_$v* PGDG 1.6.4 SEC PostgreSQL 17,16,15,14,13 pgAudit 子扩展,将审计日志写入单独的文件中
pg_auth_mon pg_auth_mon pg_auth_mon_$v* PGDG 3.0 SEC MIT 17,16,15,14,13 监控每个用户的连接尝试
credcheck credcheck credcheck_$v* PGDG 3.0 SEC MIT 17,16,15,14,13 明文凭证检查器
pgcryptokey pgcryptokey pgcryptokey_$v PIGSTY 0.85 SEC PostgreSQL 17,16,15,14,13 PG密钥管理
pg_jobmon pg_jobmon pg_jobmon_$v PGDG 1.4.1 SEC PostgreSQL 17,16,15,14,13 记录和监控函数
logerrors logerrors logerrors_$v* PGDG 2.1.3 SEC BSD 3 17,16,15,14,13 用于收集日志文件中消息统计信息的函数
login_hook login_hook login_hook_$v* PGDG 1.6 SEC GPLv3 17,16,15,14,13 在用户登陆时执行login_hook.login()函数
set_user set_user set_user_$v* PGDG 4.1.0 SEC PostgreSQL 17,16,15,14,13 增加了日志记录的 SET ROLE
pg_snakeoil pg_snakeoil pg_snakeoil_$v* PIGSTY 1.4 SEC PostgreSQL 17,16,15,14,13 PostgreSQL动态链接库反病毒功能
pgextwlist pgextwlist pgextwlist_$v* PIGSTY 1.17 SEC PostgreSQL 17,16,15,14,13 PostgreSQL扩展白名单功能
pg_auditor pg_auditor pg_auditor_$v PIGSTY 0.2 SEC BSD 3 17,16,15,14,13 审计数据变更并提供闪回能力
sslutils sslutils sslutils_$v* PIGSTY 1.4 SEC PostgreSQL 17,16,15,14,13 使用SQL管理SSL证书
noset pg_noset noset_$v* PIGSTY 0.3.0 SEC AGPLv3 17,16,15,14,13 阻止非超级用户使用SET/RESET设置变量
sepgsql sepgsql postgresql$v-contrib CONTRIB - SEC PostgreSQL 17,16,15,14,13 基于SELinux标签的强制访问控制
auth_delay auth_delay postgresql$v-contrib CONTRIB - SEC PostgreSQL 17,16,15,14,13 在返回认证失败前暂停一会,避免爆破
pgcrypto pgcrypto postgresql$v-contrib CONTRIB 1.3 SEC PostgreSQL 17,16,15,14,13 实用加解密函数
passwordcheck passwordcheck postgresql$v-contrib CONTRIB - SEC PostgreSQL 17,16,15,14,13 用于强制拒绝修改弱密码的扩展
wrappers wrappers wrappers_$v PIGSTY 0.5.0 FDW Apache-2.0 17,16,15,14 Supabase提供的外部数据源包装器捆绑包
multicorn multicorn multicorn2_$v* PGDG 3.0 FDW PostgreSQL 17,16,15,14,13 用Python编写自定义的外部数据源包装器
odbc_fdw odbc_fdw odbc_fdw_$v* PGDG 0.5.1 FDW PostgreSQL 17,16,15,14,13 访问ODBC可访问的任何外部数据源
jdbc_fdw jdbc_fdw jdbc_fdw_$v* PGDG 1.2 FDW PostgreSQL 16,15,14,13 访问JDBC可访问的任何外部数据源
pgspider_ext pgspider_ext pgspider_ext_$v* PGDG 1.3.0 FDW PostgreSQL 17,16,15 使用多种FDW访问远程数据库服务器
mysql_fdw mysql_fdw mysql_fdw_$v* PGDG 2.9.2 FDW BSD 3 17,16,15,14,13 MySQL外部数据包装器
oracle_fdw oracle_fdw oracle_fdw_$v* PGDG 2.7.0 FDW PostgreSQL 17,16,15,14,13 提供对Oracle的外部数据源包装器
tds_fdw tds_fdw tds_fdw_$v* PGDG 2.0.4 FDW PostgreSQL 17,16,15,14,13 TDS 数据库(Sybase/SQL Server)外部数据包装器
db2_fdw db2_fdw db2_fdw_$v* PGDG 6.0.1 FDW PostgreSQL 16,15,14,13 提供对DB2的外部数据源包装器
sqlite_fdw sqlite_fdw sqlite_fdw_$v* PGDG 2.5.0 FDW PostgreSQL 17,16,15,14,13 SQLite 外部数据包装器
pgbouncer_fdw pgbouncer_fdw pgbouncer_fdw_$v PGDG 1.3.0 FDW PostgreSQL 17,16,15,14,13 用SQL查询pgbouncer统计信息,并执行pgbouncer命令
mongo_fdw mongo_fdw mongo_fdw_$v* PGDG 1.1 FDW LGPLv3 16,15,14,13 MongoDB 外部数据包装器
redis_fdw redis_fdw redis_fdw_$v* PIGSTY 1.0 FDW PostgreSQL 17,16,15,14,13 查询外部Redis数据源
redis pg_redis_pubsub pg_redis_pubsub_$v* PIGSTY 0.0.1 FDW MIT 17,16,15,14,13 从PG向Redis发送Pub/Sub消息
kafka_fdw kafka_fdw kafka_fdw_$v PIGSTY 0.0.3 FDW PostgreSQL 16,15,14,13 Kafka外部数据源包装器
hdfs_fdw hdfs_fdw hdfs_fdw_$v* PGDG 2.3.2 FDW BSD 3 17,16,15,14,13 hdfs 外部数据包装器
firebird_fdw firebird_fdw firebird_fdw_$v PIGSTY 1.4.0 FDW PostgreSQL 17,16,15,14,13 Firebird外部数据源包装器
aws_s3 aws_s3 aws_s3_$v PIGSTY 0.0.1 FDW Apache-2.0 17,16,15,14,13 从S3导入导出数据的外部数据源包装器
log_fdw log_fdw log_fdw_$v* PIGSTY 1.4 FDW Apache-2.0 17,16,15,14 访问PostgreSQL日志文件的FDW
dblink dblink postgresql$v-contrib CONTRIB 1.2 FDW PostgreSQL 17,16,15,14,13 从数据库内连接到其他 PostgreSQL 数据库
file_fdw file_fdw postgresql$v-contrib CONTRIB 1.0 FDW PostgreSQL 17,16,15,14,13 访问外部文件的外部数据包装器
postgres_fdw postgres_fdw postgresql$v-contrib CONTRIB 1.1 FDW PostgreSQL 17,16,15,14,13 用于远程 PostgreSQL 服务器的外部数据包装器
documentdb documentdb documentdb_$v* PIGSTY 0.103 SIM MIT 17,16,15 微软DocumentDB的API层
documentdb_core documentdb documentdb_$v* PIGSTY 0.103 SIM MIT 17,16,15 微软DocumentDB的核心API层实现
documentdb_distributed documentdb documentdb_$v* PIGSTY 0.103 SIM MIT 17,16,15 DocumentDB多节点模式的API层
orafce orafce orafce_$v PGDG 4.14.3 SIM BSD 0 17,16,15,14,13 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符
pgtt pgtt pgtt_$v* PGDG 4.1 SIM ISC 17,16,15,14,13 类似Oracle的全局临时表功能
session_variable session_variable session_variable_$v* PIGSTY 3.4 SIM GPLv3 17,16,15,14,13 Oracle兼容的会话变量/常量操作函数
pg_statement_rollback pg_statement_rollback pg_statement_rollback_$v* PGDG 1.4 SIM ISC 17,16,15,14,13 在服务端提供类似Oracle/DB2的语句级回滚能力
pg_dbms_metadata pg_dbms_metadata pg_dbms_metadata_$v PGDG 1.0.0 SIM PostgreSQL 17,16,15,14,13 添加 Oracle DBMS_METADATA 兼容性支持的扩展
pg_dbms_lock pg_dbms_lock pg_dbms_lock_$v PGDG 1.0 SIM PostgreSQL 17,16,15,14,13 为PG添加对 Oracle DBMS_LOCK 的完整兼容性支持
pg_dbms_job pg_dbms_job pg_dbms_job_$v PGDG 1.5 SIM PostgreSQL 17,16,15,14,13 添加 Oracle DBMS_JOB 兼容性支持的扩展
babelfishpg_common babelfishpg_common babelfishpg-common* WILTON 3.3.3 SIM Apache-2.0 15 SQL Server 数据类型兼容扩展
babelfishpg_tsql babelfishpg_tsql babelfishpg-tsql* WILTON 3.3.1 SIM Apache-2.0 15 SQL Server SQL语法兼容性扩展
babelfishpg_tds babelfishpg_tds babelfishpg-tds* WILTON 1.0.0 SIM Apache-2.0 15 SQL Server TDS线缆协议兼容扩展
babelfishpg_money babelfishpg_money babelfishpg-money* WILTON 1.1.0 SIM Apache-2.0 15 SQL Server 货币数据类型兼容扩展
spat spat spat_$v* PGDG 0.1.0a4 SIM AGPLv3 17 在PG中嵌入Redis风格的内存数据库
pgmemcache pgmemcache pgmemcache_$v* PGDG 2.3.0 SIM MIT 17,16,15,14,13 为PG提供memcached兼容接口
pglogical pglogical pglogical_$v* PGDG 2.4.5 ETL PostgreSQL 17,16,15,14,13 PostgreSQL逻辑复制:三方扩展实现
pglogical_origin pglogical pglogical_$v* PGDG 2.4.5 ETL PostgreSQL 17,16,15,14,13 用于从 Postgres 9.4 升级时的兼容性虚拟扩展
pglogical_ticker pglogical_ticker pglogical_ticker_$v* PIGSTY 1.4.1 ETL PostgreSQL 17,16,15,14,13 pglogical复制延迟以秒计的精确视图
pgl_ddl_deploy pgl_ddl_deploy pgl_ddl_deploy_$v* PGDG 2.2.1 ETL MIT 17,16,15,14,13 使用 pglogical 执行自动 DDL 部署
pg_failover_slots pg_failover_slots pg_failover_slots_$v* PIGSTY 1.1.0 ETL PostgreSQL 17,16,15,14,13 在Failover过程中保留复制槽
db_migrator db_migrator db_migrator_$v PIGSTY 1.0.0 ETL BSD 3 17,16,15,14,13 使用FDW从其他DBMS迁移到PostgreSQL
wal2json wal2json wal2json_$v* PGDG 2.6 ETL BSD 3 17,16,15,14,13 用逻辑解码捕获 JSON 格式的 CDC 变更
wal2mongo wal2mongo wal2mongo_$v* PIGSTY 1.0.7 ETL Apache-2.0 16,15,14,13 使用逻辑解码捕获MongoDB JSON格式的CDC变更
decoderbufs decoderbufs postgres-decoderbufs_$v* PGDG 3.0.7 ETL MIT 17,16,15,14,13 将WAL逻辑解码为ProtocolBuffer协议的消息
decoder_raw decoder_raw decoder_raw_$v* PIGSTY 1.0 ETL PostgreSQL 17,16,15,14,13 逻辑复制解码输出插件:RAW SQL格式
mimeo mimeo mimeo_$v PIGSTY 1.5.1 ETL PostgreSQL 17,16,15,14,13 在PostgreSQL实例间进行表级复制
repmgr repmgr repmgr_$v* PGDG 5.5.0 ETL GPLv3 17,16,15,14,13 PostgreSQL复制管理组件
pg_fact_loader pg_fact_loader pg_fact_loader_$v* PGDG 2.0.1 ETL MIT 17,16,15,14,13 在 Postgres 中构建事实表
pg_bulkload pg_bulkload pg_bulkload_$v* PGDG 3.1.22 ETL BSD 3 17,16,15,14,13 向 PostgreSQL 中高速加载数据
test_decoding test_decoding postgresql$v-contrib CONTRIB - ETL PostgreSQL 17,16,15,14,13 基于SQL的WAL逻辑解码样例
pgoutput pgoutput postgresql$v-contrib CONTRIB - ETL PostgreSQL 17,16,15,14,13 PG内置的逻辑解码输出插件

2.2 - DEB 扩展清单

408 个 Debian / Ubuntu 系统中可用的扩展 DEB 包清单。

Pigsty 在 Debian/Ubuntu 系统中总共有 408 个可用 DEB 扩展,其中DEB独占扩展 6 个,缺少RPM独占扩展 13 个。

其中除去 71 个PG自带的 Contrib扩展,PGDG APT 仓库提供了 103 个,Pigsty APT 仓库提供了 230 个。 当前首要大版本 PostgreSQL 17 支持了 394 个扩展,而 PostgreSQL 17 支持了其中的 400 个。

扩展名(详情) 标准名(官网) 包名 仓库 版本 类目 许可证 PG大版本支持 LOAD DDL DBSU RELOC 简介
timescaledb timescaledb postgresql-$v-timescaledb-tsl PIGSTY 2.20.0 TIME Timescale 17,16,15 时序数据库扩展插件
timescaledb_toolkit timescaledb_toolkit postgresql-$v-timescaledb-toolkit PIGSTY 1.21.0 TIME Timescale 17,16,15,14 超表分析查询,时间序列流式处理,以及其他SQL工具
timeseries pg_timeseries postgresql-$v-pg-timeseries PIGSTY 0.1.6 TIME PostgreSQL 17,16,15,14,13 Tembo时序数据API封装
periods periods postgresql-$v-periods PGDG 1.2.3 TIME PostgreSQL 17,16,15,14,13 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能
temporal_tables temporal_tables postgresql-$v-temporal-tables PIGSTY 1.2.2 TIME BSD 2 17,16,15,14,13 时态表功能支持
emaj emaj postgresql-$v-emaj PIGSTY 4.6.0 TIME GPLv3 17,16,15,14,13 让数据库的子集具有细粒度日志和时间旅行功能
table_version table_version postgresql-$v-table-version PIGSTY 1.11.1 TIME BSD 3 17,16,15,14,13 PostgreSQL 版本控制表扩展
pg_cron pg_cron postgresql-$v-cron PGDG 1.6.5 TIME PostgreSQL 17,16,15,14,13 定时任务调度器
pg_task pg_task postgresql-$v-pg-task PIGSTY 1.0.0 TIME MIT 17,16,15,14,13 在特定时间点在后台执行SQL命令
pg_later pg_later postgresql-$v-pg-later PIGSTY 0.3.0 TIME PostgreSQL 17,16,15,14,13 执行查询,并在稍后异步获取查询结果
pg_background pg_background postgresql-$v-pg-background PIGSTY 1.3 TIME GPLv3 17,16,15,14,13 在后台运行 SQL 查询
postgis postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 几何和地理空间扩展
postgis_topology postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 拓扑空间类型和函数
postgis_raster postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS 光栅类型和函数
postgis_sfcgal postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS SFCGAL 函数
postgis_tiger_geocoder postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 PostGIS tiger 地理编码器和反向地理编码器
address_standardizer postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 地址标准化函数。
address_standardizer_data_us postgis postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts PGDG 3.5.2 GIS GPLv2 17,16,15,14,13 地址标准化函数:美国数据集示例
pgrouting pgrouting postgresql-$v-pgrouting postgresql-$v-pgrouting-scripts PGDG 3.8.0 GIS GPLv2 17,16,15,14,13 提供寻路能力
pointcloud pointcloud postgresql-$v-pointcloud PGDG 1.2.5 GIS BSD 3 17,16,15,14,13 提供激光雷达点云数据类型支持
pointcloud_postgis pointcloud postgresql-$v-pointcloud PGDG 1.2.5 GIS BSD 3 17,16,15,14,13 将激光雷达点云与PostGIS几何类型相集成
h3 pg_h3 postgresql-$v-h3 PGDG 4.2.2 GIS Apache-2.0 17,16,15,14,13 H3六边形层级索引支持
h3_postgis pg_h3 postgresql-$v-h3 PGDG 4.2.2 GIS Apache-2.0 17,16,15,14,13 H3与PostGIS集成的扩展插件
q3c q3c postgresql-$v-q3c PGDG 2.0.1 GIS GPLv2 17,16,15,14,13 Q3C天空索引插件
ogr_fdw ogr_fdw postgresql-$v-ogr-fdw PGDG 1.1.6 GIS MIT 17,16,15,14,13 GIS 数据外部数据源包装器
geoip geoip postgresql-$v-geoip PIGSTY 0.3.0 GIS BSD 2 17,16,15,14,13 IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)
pg_polyline pg_polyline postgresql-$v-pg-polyline PIGSTY 0.0.1 GIS MIT 17,16,15,14,13 Google快速Polyline编码解码扩展
pg_geohash pg_geohash postgresql-$v-pg-geohash PIGSTY 1.0 GIS MIT 17,16,15,14,13 使用GeoHash处理空间坐标的函数包
mobilitydb mobilitydb postgresql-$v-mobilitydb PGDG 1.2.0 GIS GPLv3 17,16,15,14,13 MobilityDB地理空间投影数据管理分析平台
tzf pg_tzf postgresql-$v-tzf PIGSTY 0.2.2 GIS MIT 17,16,15,14,13 快速根据GPS经纬度坐标查找时区
earthdistance earthdistance postgresql-$v CONTRIB 1.2 GIS PostgreSQL 17,16,15,14,13 计算地球表面上的大圆距离
vector pgvector postgresql-$v-pgvector PGDG 0.8.0 RAG PostgreSQL 17,16,15,14,13 向量数据类型和 ivfflat / hnsw 访问方法
vchord vchord postgresql-$v-vchord PIGSTY 0.3.0 RAG AGPLv3 17,16,15,14 使用Rust重写的高性能向量扩展
vectorscale pgvectorscale postgresql-$v-pgvectorscale PIGSTY 0.7.1 RAG PostgreSQL 17,16,15,14,13 使用DiskANN算法对向量进行高效索引
vectorize pg_vectorize postgresql-$v-pg-vectorize PIGSTY 0.22.2 RAG PostgreSQL 17,16,15,14 在PostgreSQL中封装RAG向量检索服务
pg_similarity pg_similarity postgresql-$v-similarity PGDG 1.0 RAG BSD 3 17,16,15,14,13 提供17种距离度量函数
smlar smlar postgresql-$v-smlar PIGSTY 1.0 RAG PostgreSQL 17,16,15,14,13 高效的相似度搜索函数
pg_summarize pg_summarize postgresql-$v-pg-summarize PIGSTY 0.0.1 RAG PostgreSQL 17,16,15,14,13 使用LLM对文本字段进行总结
pg_tiktoken pg_tiktoken postgresql-$v-pg-tiktoken PIGSTY 0.0.1 RAG Apache-2.0 17,16,15,14,13 在PostgreSQL中计算OpenAI使用的Token数
pg4ml pg4ml postgresql-$v-pg4ml PIGSTY 2.0 RAG AGPLv3 17,16,15,14,13 PG4ML是一个机器学习框架
pgml pgml postgresql-$v-pgml PIGSTY 2.10.0 RAG MIT 17,16,15,14 PostgresML:用SQL运行机器学习算法并训练模型
pg_search pg_search postgresql-$v-pg-search PIGSTY 0.15.20 FTS AGPLv3 17,16,15,14 ParadeDB BM25算法全文检索插件,ES全文检索
pgroonga pgroonga postgresql-$v-pgroonga PIGSTY 4.0.0 FTS PostgreSQL 17,16,15,14,13 使用Groonga,面向所有语言的高速全文检索平台
pgroonga_database pgroonga postgresql-$v-pgroonga PIGSTY 4.0.0 FTS PostgreSQL 17,16,15,14,13 PGGroonga 数据库管理模块
pg_bigm pg_bigm postgresql-$v-pg-bigm PIGSTY 1.2 FTS PostgreSQL 17,16,15,14,13 基于二字组的多语言全文检索扩展
zhparser zhparser postgresql-$v-zhparser PIGSTY 2.3 FTS PostgreSQL 17,16,15,14,13 中文分词,全文搜索解析器
pg_bestmatch pg_bestmatch postgresql-$v-pg-bestmatch PIGSTY 0.0.1 FTS Apache-2.0 17,16,15,14,13 在数据库内生成BM25稀疏向量
vchord_bm25 vchord_bm25 postgresql-$v-vchord-bm25 PIGSTY 0.2.1 FTS AGPLv3 17,16,15,14 BM25排序算法
pg_tokenizer pg_tokenizer postgresql-$v-pg-tokenizer PIGSTY 0.1.0 FTS Apache-2.0 17,16,15,14 用于全文检索的分词器
hunspell_cs_cz hunspell_cs_cz postgresql-$v-hunspell-cs-cz PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell捷克语全文检索词典
hunspell_de_de hunspell_de_de postgresql-$v-hunspell-de-de PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell德语全文检索词典
hunspell_en_us hunspell_en_us postgresql-$v-hunspell-en-us PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell英语全文检索词典
hunspell_fr hunspell_fr postgresql-$v-hunspell-fr PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell法语全文检索词典
hunspell_ne_np hunspell_ne_np postgresql-$v-hunspell-ne-np PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell尼泊尔语全文检索词典
hunspell_nl_nl hunspell_nl_nl postgresql-$v-hunspell-nl-nl PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell荷兰语全文检索词典
hunspell_nn_no hunspell_nn_no postgresql-$v-hunspell-nn-no PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell挪威语全文检索词典
hunspell_pt_pt hunspell_pt_pt postgresql-$v-hunspell-pt-pt PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell葡萄牙语全文检索词典
hunspell_ru_ru hunspell_ru_ru postgresql-$v-hunspell-ru-ru PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell俄语全文检索词典
hunspell_ru_ru_aot hunspell_ru_ru_aot postgresql-$v-hunspell-ru-ru-aot PIGSTY 1.0 FTS PostgreSQL 17,16,15,14,13 Hunspell俄语全文检索词典(来自AOT.ru小组)
fuzzystrmatch fuzzystrmatch postgresql-$v CONTRIB 1.2 FTS PostgreSQL 17,16,15,14,13 确定字符串之间的相似性和距离
pg_trgm pg_trgm postgresql-$v CONTRIB 1.6 FTS PostgreSQL 17,16,15,14,13 文本相似度测量函数与模糊检索
citus citus postgresql-$v-citus PIGSTY 13.0.3 OLAP AGPLv3 17,16,15,14 Citus 分布式数据库
citus_columnar citus postgresql-$v-citus PIGSTY 13.0.3 OLAP AGPLv3 17,16,15,14 Citus 列式存储引擎
columnar hydra postgresql-$v-hydra PIGSTY 1.1.2 OLAP AGPLv3 16,15,14,13 开源列式存储扩展
pg_analytics pg_analytics postgresql-$v-pg-analytics PIGSTY 0.3.7 OLAP PostgreSQL 17,16,15,14 由 DuckDB 驱动的数据分析引擎
pg_duckdb pg_duckdb postgresql-$v-pg-duckdb PIGSTY 0.3.1 OLAP MIT 17,16,15,14 在PostgreSQL中的嵌入式DuckDB扩展
pg_mooncake pg_mooncake postgresql-$v-pg-mooncake PIGSTY 0.1.2 OLAP MIT 17,16,15,14 PostgreSQL列式存储表
duckdb_fdw duckdb_fdw postgresql-$v-duckdb-fdw PIGSTY 1.1.2 OLAP MIT 17,16,15,14,13 DuckDB 外部数据源包装器
pg_parquet pg_parquet postgresql-$v-pg-parquet PIGSTY 0.4.0 OLAP PostgreSQL 17,16,15,14 在PostgreSQL与本地/S3中的Parquet文件复制数据
pg_fkpart pg_fkpart postgresql-$v-pg-fkpart PIGSTY 1.7.0 OLAP GPLv2 17,16,15,14,13 按外键实用程序进行表分区的扩展
pg_partman pg_partman postgresql-$v-partman PGDG 5.2.4 OLAP PostgreSQL 17,16,15,14,13 用于按时间或 ID 管理分区表的扩展
plproxy plproxy postgresql-$v-plproxy PGDG 2.11.0 OLAP BSD 0 17,16,15,14,13 作为过程语言实现的数据库分区
tablefunc tablefunc postgresql-$v CONTRIB 1.0 OLAP PostgreSQL 17,16,15,14,13 交叉表函数
age age postgresql-$v-age PGDG 1.5.0 FEAT Apache-2.0 17,16,15,14,13 Apache AGE,图数据库扩展 (Deb可用)
hll hll postgresql-$v-hll PGDG 2.18 FEAT Apache-2.0 17,16,15,14,13 hyperloglog 数据类型
rum rum postgresql-$v-rum PGDG 1.3.14 FEAT PostgreSQL 17,16,15,14,13 RUM 索引访问方法
pg_graphql pg_graphql postgresql-$v-pg-graphql PIGSTY 1.5.11 FEAT Apache-2.0 17,16,15,14 PG内的 GraphQL 支持 (RUST, supabase)
pg_jsonschema pg_jsonschema postgresql-$v-pg-jsonschema PIGSTY 0.3.3 FEAT Apache-2.0 17,16,15,14,13 提供JSON Schema校验能力
jsquery jsquery postgresql-$v-jsquery PGDG 1.2 FEAT PostgreSQL 17,16,15,14,13 用于内省 JSONB 数据类型的查询类型
pg_hint_plan pg_hint_plan postgresql-$v-pg-hint-plan PGDG 1.7.0 FEAT BSD 3 17,16,15,14,13 添加强制指定执行计划的能力
hypopg hypopg postgresql-$v-hypopg PGDG 1.4.1 FEAT PostgreSQL 17,16,15,14,13 假设索引,用于创建一个虚拟索引检验执行计划
index_advisor index_advisor postgresql-$v-index-advisor PIGSTY 0.2.0 FEAT PostgreSQL 17,16,15,14,13 查询索引建议器
plan_filter pg_plan_filter postgresql-$v-pg-plan-filter PIGSTY 0.0.1 FEAT PostgreSQL 17,16,15,14,13 使用执行计划代价过滤阻止特定查询语句
imgsmlr imgsmlr postgresql-$v-imgsmlr PIGSTY 1.0 FEAT PostgreSQL 17,16,15,14,13 使用Haar小波分析计算图片相似度
pg_ivm pg_ivm postgresql-$v-pg-ivm PIGSTY 1.11 FEAT PostgreSQL 17,16,15,14,13 增量维护的物化视图
pg_incremental pg_incremental postgresql-$v-pg-incremental PIGSTY 1.2.0 FEAT PostgreSQL 17,16 增量处理流式事件
pgmq pgmq postgresql-$v-pgmq PIGSTY 1.5.1 FEAT PostgreSQL 17,16,15,14,13 基于Postgres实现类似AWS SQS/RSMQ的消息队列
pgq pgq postgresql-$v-pgq3 PGDG 3.5.1 FEAT ISC 17,16,15,14,13 通用队列的PG实现
pg_cardano pg_cardano postgresql-$v-pg-cardano PIGSTY 1.0.5 FEAT MIT 17,16,15,14,13 Cardano相关工具包:加密函数,地址编解码,区块链处理
rdkit rdkit postgresql-$v-rdkit PGDG 202409.4 FEAT BSD 3 16,15,14,13 在PostgreSQL化学领域数据管理功能
omni omnigres postgresql-$v-omnigres PIGSTY 0.2.9 FEAT Apache-2.0 17,16,15,14,13 PostgreSQL即平台,Omnigres主扩展与加载器
omni_auth omnigres postgresql-$v-omnigres PIGSTY 0.1.3 FEAT Apache-2.0 17,16,15,14,13 Omnigres 基础会话认证管理模块
omni_aws omnigres postgresql-$v-omnigres PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres AWS S3 API封装
omni_cloudevents omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres CloudEvents 支持
omni_containers omnigres postgresql-$v-omnigres PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Docker容器管理模块
omni_credentials omnigres postgresql-$v-omnigres PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 应用密钥管理模块
omni_email omnigres postgresql-$v-omnigres PIGSTY 0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Email 框架
omni_http omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 基本HTTP类型
omni_httpc omnigres postgresql-$v-omnigres PIGSTY 0.1.5 FEAT Apache-2.0 17,16,15,14,13 Omnigres HTTP客户端
omni_httpd omnigres postgresql-$v-omnigres PIGSTY 0.4.6 FEAT Apache-2.0 17,16,15,14,13 Omnigres HTTP服务器
omni_id omnigres postgresql-$v-omnigres PIGSTY 0.4.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres ID身份数据类型
omni_json omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres JSON工具箱
omni_kube omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres Kubernetes集成模块
omni_ledger omnigres postgresql-$v-omnigres PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 金融账本模块
omni_manifest omnigres postgresql-$v-omnigres PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 包管理清单模块
omni_mimetypes omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres MIME数据类型
omni_os omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 操作系统集成模块
omni_polyfill omnigres postgresql-$v-omnigres PIGSTY 0.2.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres Postgres多态API
omni_python omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 第一类Python支持模块
omni_regex omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres PCRE兼容正则表达式模块
omni_rest omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres REST API 工具包
omni_schema omnigres postgresql-$v-omnigres PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 高级模式管理组件
omni_seq omnigres postgresql-$v-omnigres PIGSTY 0.1.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 分布式整型序列号
omni_service omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 服务管理器
omni_session omnigres postgresql-$v-omnigres PIGSTY 0.2.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 会话管理器
omni_sql omnigres postgresql-$v-omnigres PIGSTY 0.5.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres SQL编程组件
omni_sqlite omnigres postgresql-$v-omnigres PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres 嵌入的SQLite支持
omni_test omnigres postgresql-$v-omnigres PIGSTY 0.4.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 测试框架
omni_txn omnigres postgresql-$v-omnigres PIGSTY 0.5.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 事务管理器模块
omni_types omnigres postgresql-$v-omnigres PIGSTY 0.3.4 FEAT Apache-2.0 17,16,15,14,13 Omnigres 高级数据类型模块
omni_var omnigres postgresql-$v-omnigres PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 局部变量模块
omni_vfs omnigres postgresql-$v-omnigres PIGSTY 0.2.1 FEAT Apache-2.0 17,16,15,14,13 Omnigres 虚拟文件系统
omni_vfs_types_v1 omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 虚拟文件系统(v1)
omni_web omnigres postgresql-$v-omnigres PIGSTY 0.3.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres Web工具箱
omni_worker omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres 通用Worker池
omni_xml omnigres postgresql-$v-omnigres PIGSTY 0.1.2 FEAT Apache-2.0 17,16,15,14,13 Omnigres XML工具包
omni_yaml omnigres postgresql-$v-omnigres PIGSTY 0.1.0 FEAT Apache-2.0 17,16,15,14,13 Omnigres YAML工具包
bloom bloom postgresql-$v CONTRIB 1.0 FEAT PostgreSQL 17,16,15,14,13 bloom 索引-基于指纹的索引
pg_tle pg_tle postgresql-$v-pg-tle PIGSTY 1.5.0 LANG Apache-2.0 17,16,15,14,13 AWS 可信语言扩展
plv8 plv8 postgresql-$v-plv8 PIGSTY 3.2.3 LANG PostgreSQL 17,16,15,14,13 PL/JavaScript (v8) 可信过程程序语言
pllua pllua postgresql-$v-pllua PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言
hstore_pllua pllua postgresql-$v-pllua PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言的Hstore适配扩展
plluau pllua postgresql-$v-pllua PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言(不受信任的)
hstore_plluau pllua postgresql-$v-pllua PGDG 2.0.12 LANG MIT 17,16,15,14,13 Lua 程序语言的Hstore适配扩展(不受信任的)
plprql plprql postgresql-$v-plprql PIGSTY 1.0.0 LANG Apache-2.0 16,15,14,13 在PostgreSQL使用PRQL——管线式关系查询语言
pldbgapi pldebugger postgresql-$v-pldebugger PGDG 1.8 LANG Artistic 17,16,15,14,13 用于调试 PL/pgSQL 函数的服务器端支持
plpgsql_check plpgsql_check postgresql-$v-plpgsql-check PGDG 2.8.1 LANG MIT 17,16,15,14,13 对 plpgsql 函数进行扩展检查
plprofiler plprofiler postgresql-$v-plprofiler PGDG 4.2.5 LANG Artistic 17,16,15,14,13 剖析 PL/pgSQL 函数
plsh plsh postgresql-$v-plsh PGDG 1.20220917 LANG MIT 17,16,15,14,13 PL/sh 程序语言
pljava pljava postgresql-$v-pljava PGDG 1.6.9 LANG BSD 3 17,16,15,14,13 Java 程序语言
plr plr postgresql-$v-plr PGDG 8.4.7 LANG GPLv2 17,16,15,14,13 从数据库中加载R语言解释器并执行R脚本
pgtap pgtap postgresql-$v-pgtap PGDG 1.3.3 LANG PostgreSQL 17,16,15,14,13 PostgreSQL单元测试框架
pltcl pltcl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/TCL 存储过程语言
pltclu pltcl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/TCL 存储过程语言(未受信/高权限)
plperl plperl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/Perl 存储过程语言
bool_plperl plperl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 bool 和 plperl 之间转换
hstore_plperl plperl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plperl 之间转换适配类型
jsonb_plperl plperl postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plperl 之间转换
plperlu plperlu postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/PerlU 存储过程语言(未受信/高权限)
bool_plperlu plperlu postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 bool 和 plperlu 之间转换
jsonb_plperlu plperlu postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plperlu 之间转换
hstore_plperlu plperlu postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plperlu 之间转换适配类型
plpgsql plpgsql postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/pgSQL 程序设计语言
plpython3u plpython3u postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 PL/Python3 存储过程语言(未受信/高权限)
jsonb_plpython3u plpython3u postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 jsonb 和 plpython3u 之间转换
ltree_plpython3u plpython3u postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 ltree 和 plpython3u 之间转换
hstore_plpython3u plpython3u postgresql-$v CONTRIB 1.0 LANG PostgreSQL 17,16,15,14,13 在 hstore 和 plpython3u 之间转换
prefix pg_prefix postgresql-$v-prefix PGDG 1.2.10 TYPE PostgreSQL 17,16,15,14,13 前缀树数据类型
semver pg_semver postgresql-$v-semver PGDG 0.40.0 TYPE PostgreSQL 17,16,15,14,13 语义版本号数据类型
unit pgunit postgresql-$v-unit PGDG 7.10 TYPE GPLv2 17,16,15,14,13 SI 国标单位扩展
pgpdf pgpdf postgresql-$v-pgpdf PIGSTY 0.1.0 TYPE GPLv3 17,16,15,14,13 PDF数据类型,管理函数与全文检索
pglite_fusion pglite_fusion postgresql-$v-pglite-fusion PIGSTY 0.0.5 TYPE MIT 17,16,15,14,13 在PG表中嵌入SQLite数据库作为数据类型
md5hash md5hash postgresql-$v-md5hash PIGSTY 1.0.1 TYPE BSD 2 17,16,15,14,13 提供128位MD5的原生数据类型
asn1oid asn1oid postgresql-$v-asn1oid PGDG 1.6 TYPE GPLv3 17,16,15,14,13 ASN1OID数据类型支持
roaringbitmap roaringbitmap postgresql-$v-roaringbitmap PGDG 0.5.4 TYPE Apache-2.0 17,16,15,14,13 支持RoaringBitmap数据类型
pgfaceting pgfaceting postgresql-$v-pgfaceting PGDG 0.2.0 TYPE BSD 3 17,16,15,14,13 使用倒排索引的高速切面查询
pg_sphere pgsphere postgresql-$v-pgsphere PGDG 1.5.1 TYPE BSD 3 17,16,15,14,13 球面对象函数、运算符与索引支持
country pg_country postgresql-$v-pg-country PIGSTY 0.0.3 TYPE PostgreSQL 17,16,15,14,13 国家代码数据类型,遵循ISO 3166-1标准
pg_xenophile pg_xenophile postgresql-$v-pg-xenophile PIGSTY 0.8.3 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL i8n与l10n工具包
l10n_table_dependent_extension pg_xenophile postgresql-$v-pg-xenophile PIGSTY 0.8.3 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL l10n 工具包
currency pg_currency postgresql-$v-pg-currency PIGSTY 0.0.3 TYPE MIT 17,16,15,14,13 使用1字节表示的货币数据类型
collection pg_collection postgresql-$v-collection PIGSTY 1.0.0 TYPE Apache-2.0 17,16,15,14 在PlPGSQL中使用的内存优化高性能集合数据结构
pgmp pgmp postgresql-$v-pgmp PGDG 1.0.5 TYPE LGPLv3 17,16,15,14,13 多精度算术扩展
numeral numeral postgresql-$v-numeral PGDG 1.3 TYPE GPLv2 17,16,15,14,13 数值类型扩展
pg_rational pg_rational postgresql-$v-rational PGDG 0.0.2 TYPE MIT 17,16,15,14,13 使用BIGINT表示的有理数数据类型
uint pguint postgresql-$v-pguint PIGSTY 1.20231206 TYPE PostgreSQL 17,16,15,14,13 无符号整型数据类型
uint128 pg_uint128 postgresql-$v-pg-uint128 PIGSTY 1.0.0 TYPE PostgreSQL 17,16,15,14,13 原生128位无符号整型数据类型
hashtypes hashtypes postgresql-$v-hashtypes PIGSTY 0.1.5 TYPE PostgreSQL 17,16,15,14 包括SHA1,MD5在内的多种哈希数据类型
ip4r ip4r postgresql-$v-ip4r PGDG 2.4.2 TYPE PostgreSQL 17,16,15,14,13 PostgreSQL 的 IPv4/v6 和 IPv4/v6 范围索引类型
pg_duration pg_duration postgresql-$v-pg-duration PIGSTY 1.0.2 TYPE MIT 17 用于表示时间段的强化数据类型
uri pg_uri postgresql-$v-pg-uri PIGSTY 1.20151224 TYPE PostgreSQL 17,16,15,14,13 URI数据类型
emailaddr pgemailaddr postgresql-$v-pg-emailaddr PIGSTY 0 TYPE PostgreSQL 17,16,15,14,13 Email地址数据类型
acl pg_acl postgresql-$v-acl PIGSTY 1.0.4 TYPE BSD 2 17,16,15,14,13 ACL数据类型
debversion debversion postgresql-$v-debversion PGDG 1.2.0 TYPE PostgreSQL 17,16,15,14,13 Debian版本号数据类型
pg_rrule pg_rrule postgresql-$v-pg-rrule PGDG 0.2.0 TYPE MIT 17,16,15,14,13 日历重复规则RRULE数据类型
timestamp9 timestamp9 postgresql-$v-timestamp9 PIGSTY 1.4.0 TYPE MIT 17,16,15,14,13 纳秒分辨率时间戳
chkpass chkpass postgresql-$v-chkpass PIGSTY 1.0 TYPE PostgreSQL 17,16,15,14,13 数据类型:自动加密的密码
isn isn postgresql-$v CONTRIB 1.2 TYPE PostgreSQL 17,16,15,14,13 用于国际产品编号标准的数据类型
seg seg postgresql-$v CONTRIB 1.4 TYPE PostgreSQL 17,16,15,14,13 表示线段或浮点间隔的数据类型
cube cube postgresql-$v CONTRIB 1.5 TYPE PostgreSQL 17,16,15,14,13 用于存储多维立方体的数据类型
ltree ltree postgresql-$v CONTRIB 1.3 TYPE PostgreSQL 17,16,15,14,13 用于表示分层树状结构的数据类型
hstore hstore postgresql-$v CONTRIB 1.8 TYPE PostgreSQL 17,16,15,14,13 用于存储(键,值)对集合的数据类型
citext citext postgresql-$v CONTRIB 1.6 TYPE PostgreSQL 17,16,15,14,13 提供大小写不敏感的字符串类型
xml2 xml2 postgresql-$v CONTRIB 1.1 TYPE PostgreSQL 17,16,15,14,13 XPath 查询和 XSLT
gzip pg_gzip postgresql-$v-gzip PIGSTY 1.0.1 UTIL MIT 17,16,15,14,13 使用SQL执行Gzip压缩与解压缩
bzip pg_bzip postgresql-$v-bzip PIGSTY 1.0.0 UTIL MIT 17,16,15,14,13 BZIP压缩解压缩函数包
zstd pg_zstd postgresql-$v-zstd PIGSTY 1.1.2 UTIL ISC 17,16,15,14,13 ZSTD压缩解压缩函数包
http pg_http postgresql-$v-http PGDG 1.6.3 UTIL MIT 17,16,15,14,13 HTTP客户端,允许在数据库内收发HTTP请求 (supabase)
pg_net pg_net postgresql-$v-pg-net PIGSTY 0.9.2 UTIL Apache-2.0 17,16,15,14,13 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase)
pg_curl pg_curl postgresql-$v-pg-curl PIGSTY 2.4 UTIL MIT 17,16,15,14,13 封装CURL,执行各种用URL传输数据的操作
pgjq pgjq postgresql-$v-pgjq PIGSTY 0.1.0 UTIL MIT 17,16,15,14 在Postgres中使用jq查询JSON
pgjwt pgjwt postgresql-$v-pgjwt PIGSTY 0.2.0 UTIL MIT 17,16,15,14,13 JSON Web Token API 的PG实现 (supabase)
pg_smtp_client pg_smtp_client postgresql-$v-pg-smtp-client PIGSTY 0.2.0 UTIL MIT 17,16,15,14 使用SMTP从PostgreSQL内发送邮件的客户端扩展
pg_html5_email_address pg_html5_email_address postgresql-$v-pg-html5-email-address PIGSTY 1.2.3 UTIL PostgreSQL 17,16,15,14,13 验证Email是否符合HTML5规范的扩展
url_encode url_encode postgresql-$v-url-encode PIGSTY 1.2.5 UTIL PostgreSQL 17,16,15,14,13 提供URL编码解码函数
pgsql_tweaks pgsql_tweaks postgresql-$v-pgsql-tweaks PIGSTY 0.11.1 UTIL PostgreSQL 17,16,15,14,13 一些日常会用到的便利函数与视图
pg_extra_time pg_extra_time postgresql-$v-pg-extra-time PIGSTY 2.0.0 UTIL PostgreSQL 17,16,15,14,13 一些关于日期与时间的扩展函数
pgpcre pgpcre postgresql-$v-pgpcre PGDG 1 UTIL PostgreSQL 17,16,15,14,13 PCRE/Perl风格的正则表达式支持
icu_ext icu_ext postgresql-$v-icu-ext PGDG 1.9.0 UTIL PostgreSQL 17,16,15,14,13 访问ICU库提供的函数
pgqr pgqr postgresql-$v-pgqr PIGSTY 1.0 UTIL BSD 3 17,16,15,14,13 从数据库中直接生成QR二维码
pg_protobuf pg_protobuf postgresql-$v-pg-protobuf PIGSTY 1.0 UTIL MIT 17,16,15,14,13 提供Protobuf函数支持
envvar envvar postgresql-$v-pg-envvar PIGSTY 1.0.1 UTIL PostgreSQL 17,16,15,14,13 获取环境变量的函数
floatfile floatfile postgresql-$v-floatfile PIGSTY 1.3.1 UTIL MIT 17,16,15,14,13 将浮点数组存储到文件中而不是堆表中
pg_render pg_render postgresql-$v-pg-render PIGSTY 0.1.2 UTIL MIT 17,16,15,14 使用SQL渲染HTML页面
pg_readme pg_readme postgresql-$v-pg-readme PIGSTY 0.7.0 UTIL PostgreSQL 17,16,15,14,13 为模式与扩展生成Markdown文档
pg_readme_test_extension pg_readme postgresql-$v-pg-readme PIGSTY 0.7.0 UTIL PostgreSQL 17,16,15,14,13 为模式与扩展生成Markdown文档
ddl_historization ddl_historization postgresql-$v-ddl-historization PIGSTY 0.0.7 UTIL GPLv2 17,16,15,14,13 用SQL将所有DDL变更写入到数据库表中
data_historization data_historization postgresql-$v-data-historization PIGSTY 1.1.0 UTIL PostgreSQL 17,16,15,14,13 用SQL将数据变更历史保存到分区表中
schedoc pg_schedoc postgresql-$v-pg-schedoc PIGSTY 0.0.1 UTIL GPLv3 17,16,15,14,13 在Django与DBT之间通过注释文档交换元数据
hashlib pg_hashlib postgresql-$v-pg-hashlib PIGSTY 1.1 UTIL PostgreSQL 17,16,15,14,13 稳定哈希函数包
xxhash pg_xxhash postgresql-$v-pg-xxhash PIGSTY 0.0.1 UTIL BSD 2 17,16,15,14,13 xxhash哈希函数包
shacrypt shacrypt postgresql-$v-shacrypt PIGSTY 1.1 UTIL PostgreSQL 17,16,15,14,13 实现SHA256-CRYPT与SHA512-CRYPT密钥加密算法
cryptint cryptint postgresql-$v-cryptint PIGSTY 1.0.0 UTIL PostgreSQL 17,16,15,14,13 加密INT与BIGINT类型
pguecc pg_ecdsa postgresql-$v-pg-ecdsa PIGSTY 1.0 UTIL BSD 2 17,16,15,14,13 PostgreSQL的uECC绑定,椭圆曲线加解密函数包
sparql pgsparql postgresql-$v-pgsparql PIGSTY 1.0 UTIL Apache-2.0 17,16,15,14,13 使用SQL查询SPARQL数据源
pg_idkit pg_idkit postgresql-$v-pg-idkit PIGSTY 0.3.0 FUNC Apache-2.0 17,16,15,14,13 生成各式各样的唯一标识符:UUIDv6, ULID, KSUID
pgx_ulid pgx_ulid postgresql-$v-pgx-ulid PIGSTY 0.2.0 FUNC MIT 17,16,15,14 ULID数据类型与函数
pg_uuidv7 pg_uuidv7 postgresql-$v-pg-uuidv7 PIGSTY 1.6.0 FUNC MPLv2 17,16,15,14,13 UUIDv7 支持
permuteseq permuteseq postgresql-$v-permuteseq PIGSTY 1.2.2 FUNC PostgreSQL 17,16,15,14,13 伪随机数ID置换生成器
pg_hashids pg_hashids postgresql-$v-pg-hashids PIGSTY 1.3 FUNC MIT 17,16,15,14,13 加盐将整型ID转为短字符串ID
sequential_uuids sequential_uuids postgresql-$v-sequential-uuids PIGSTY 1.0.3 FUNC MIT 17,16,15,14,13 生成连续生成的UUID
topn topn postgresql-$v-topn PIGSTY 2.7.0 FUNC AGPLv3 17,16,15,14,13 top-n JSONB 的类型
quantile quantile postgresql-$v-quantile PIGSTY 1.1.8 FUNC BSD 2 17,16,15,14,13 Quantile聚合函数
lower_quantile lower_quantile postgresql-$v-lower-quantile PIGSTY 1.0.3 FUNC BSD 2 17,16,15,14,13 Lower Quantile 聚合函数
count_distinct count_distinct postgresql-$v-count-distinct PIGSTY 3.0.2 FUNC BSD 2 17,16,15,14,13 COUNT(DISTINCT …) 聚合的替代方案
omnisketch omnisketch postgresql-$v-omnisketch PIGSTY 1.0.2 FUNC PostgreSQL 17,16,15,14,13 实现OmniSketch数据结构,实现近似摘要聚合
ddsketch ddsketch postgresql-$v-ddsketch PIGSTY 1.0.1 FUNC PostgreSQL 17,16,15,14,13 实现DDSketch数据结构,实现在线的Quantile聚合
vasco vasco postgresql-$v-vasco PIGSTY 0.1.0 FUNC GPLv3 17,16,15,14,13 使用MIC发现数据中隐含的关联
xicor pgxicor postgresql-$v-pgxicor PIGSTY 0.1.0 FUNC GPLv3 17,16,15,14,13 在PG中计算XI相关系数
tdigest tdigest postgresql-$v-tdigest PGDG 1.4.3 FUNC Apache-2.0 17,16,15,14,13 tdigest 聚合函数
first_last_agg first_last_agg postgresql-$v-first-last-agg PGDG 0.1.4 FUNC PostgreSQL 17,16,15,14,13 first() 与 last() 聚合函数
extra_window_functions extra_window_functions postgresql-$v-extra-window-functions PGDG 1.0 FUNC PostgreSQL 17,16,15,14,13 额外的窗口函数
floatvec floatvec postgresql-$v-floatvec PIGSTY 1.1.1 FUNC MIT 17,16,15,14,13 数组类型数学运算扩展
aggs_for_vecs aggs_for_vecs postgresql-$v-aggs-for-vecs PIGSTY 1.4.0 FUNC MIT 17,16,15,14,13 针对数组类型的聚合函数集合扩展
aggs_for_arrays aggs_for_arrays postgresql-$v-aggs-for-arrays PIGSTY 1.3.3 FUNC MIT 17,16,15,14,13 计算数组聚合统计值的函数包
arraymath pg_arraymath postgresql-$v-pg-arraymath PIGSTY 1.1 FUNC MIT 17,16,15,14,13 数组逐元素数学运算符包
pg_math pg_math postgresql-$v-pg-math PIGSTY 1.0 FUNC GPLv3 17,16,15,14,13 使用GSL库的数学统计函数
random pg_random postgresql-$v-random PIGSTY 2.0.0 FUNC PostgreSQL 17,16,15,14,13 随机数生成器
base36 pg_base36 postgresql-$v-base36 PIGSTY 1.0.0 FUNC MIT 17,16,15,14,13 Base36编码解码扩展
base62 pg_base62 postgresql-$v-base62 PIGSTY 0.0.1 FUNC MIT 17,16,15,14,13 Base62编码解码扩展
pg_base58 pg_base58 postgresql-$v-pg-base58 PIGSTY 0.0.1 FUNC MIT 17,16,15,14,13 Base58 编码/解码函数
financial pg_financial postgresql-$v-pg-financial PIGSTY 1.0.1 FUNC PostgreSQL 17,16,15,14,13 金融领域聚合函数
convert pg_convert postgresql-$v-convert PIGSTY 0.0.4 FUNC MIT 17,16,15,14,13 用于空间里程等的公英制转换函数
refint refint postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 实现引用完整性的函数
autoinc autoinc postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于自动递增字段的函数
insert_username insert_username postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于跟踪谁更改了表的函数
moddatetime moddatetime postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 跟踪最后修改时间
tsm_system_time tsm_system_time postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 接受毫秒数限制的 TABLESAMPLE 方法
dict_xsyn dict_xsyn postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于扩展同义词处理的文本搜索字典模板
tsm_system_rows tsm_system_rows postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 接受行数限制的 TABLESAMPLE 方法
tcn tcn postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用触发器通知变更
uuid-ossp uuid-ossp postgresql-$v CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 生成通用唯一标识符(UUIDs)
btree_gist btree_gist postgresql-$v CONTRIB 1.7 FUNC PostgreSQL 17,16,15,14,13 用GiST索引常见数据类型
btree_gin btree_gin postgresql-$v CONTRIB 1.3 FUNC PostgreSQL 17,16,15,14,13 用GIN索引常见数据类型
intarray intarray postgresql-$v CONTRIB 1.5 FUNC PostgreSQL 17,16,15,14,13 1维整数数组的额外函数、运算符和索引支持
intagg intagg postgresql-$v CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 整数聚合器和枚举器(过时)
dict_int dict_int postgresql-$v CONTRIB 1.0 FUNC PostgreSQL 17,16,15,14,13 用于整数的文本搜索字典模板
unaccent unaccent postgresql-$v CONTRIB 1.1 FUNC PostgreSQL 17,16,15,14,13 删除重音的文本搜索字典
pg_repack pg_repack postgresql-$v-repack PGDG 1.5.2 ADMIN BSD 3 17,16,15,14,13 在线垃圾清理与表膨胀治理
pg_squeeze pg_squeeze postgresql-$v-squeeze PGDG 1.8.0 ADMIN BSD 2 17,16,15,14,13 从关系中删除未使用空间
pg_dirtyread pg_dirtyread postgresql-$v-dirtyread PGDG 2.7 ADMIN BSD 3 17,16,15,14,13 从表中读取尚未垃圾回收的行
pgfincore pgfincore postgresql-$v-pgfincore PGDG 1.3.1 ADMIN BSD 3 17,16,15,14,13 检查和管理操作系统缓冲区缓存
pg_cooldown pg_cooldown postgresql-$v-pg-cooldown PIGSTY 0.1 ADMIN Apache-2.0 17,16,15,14,13 从缓冲区中移除特定关系的页面
ddlx pg_ddlx postgresql-$v-ddlx PIGSTY 0.29 ADMIN PostgreSQL 17,16,15,14,13 提取数据库对象的DDL
prioritize pg_prioritize postgresql-$v-prioritize PGDG 1.0.4 ADMIN PostgreSQL 17,16,15,14,13 获取和设置 PostgreSQL 后端的优先级
pg_checksums pg_checksums postgresql-$v-pg-checksums PGDG 1.2 ADMIN BSD 2 17,16,15,14,13 在离线模式下激活/启用/禁用数据库集群的校验和功能
pg_readonly pg_readonly postgresql-$v-pg-readonly PGDG 1.0.3 ADMIN PostgreSQL 17,16,15,14,13 将集群设置为只读
pgdd pgdd postgresql-$v-pgdd PIGSTY 0.6.0 ADMIN MIT 17,16,15,14,13 提供通过标准SQL查询数据库目录集簇的能力
pg_permissions pg_permissions postgresql-$v-pg-permissions PIGSTY 1.3 ADMIN BSD 2 17,16,15,14,13 查看对象权限并将其与期望状态进行比较
pgautofailover pgautofailover postgresql-$v-auto-failover PGDG 2.2 ADMIN PostgreSQL 17,16,15,14,13 PG 自动故障迁移
pg_catcheck pg_catcheck postgresql-$v-pg-catcheck PGDG 1.6.0 ADMIN BSD 3 17,16,15,14,13 用于诊断系统目录是否损坏的工具
pre_prepare preprepare postgresql-$v-preprepare PGDG 0.9 ADMIN PostgreSQL 17,16,15,14,13 在服务端预先准备好PreparedStatement备用
pg_upless pg_upless postgresql-$v-pg-upless PIGSTY 0.0.3 ADMIN PostgreSQL 17,16,15,14,13 检测表上的无用UPDATE
pgcozy pgcozy postgresql-$v-pgcozy PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 根据先前的pg_buffercache快照预热内存缓冲区
pg_orphaned pg_orphaned postgresql-$v-pg-orphaned PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 处理孤儿文件的扩展插件
pg_crash pg_crash postgresql-$v-pg-crash PIGSTY 1.0 ADMIN BSD 3 17,16,15,14,13 向数据库进程随机发送信号模拟故障
pg_cheat_funcs pg_cheat_funcs postgresql-$v-pg-cheat-funcs PIGSTY 1.0 ADMIN PostgreSQL 17,16,15,14,13 一些超级实用的作弊函数
fio pg_fio postgresql-$v-pg-fio PIGSTY 1.0 ADMIN BSD 3 17,16,15,14,13 PostgreSQL文件IO函数包
pg_savior pg_savior postgresql-$v-pg-savior PIGSTY 0.0.1 ADMIN Apache-2.0 17,16,15,14,13 阻止不带条件的全表更新以避免意外事故
safeupdate safeupdate postgresql-$v-pg-safeupdate PGDG 1.5 ADMIN ISC 17,16,15,14,13 强制在 UPDATE 和 DELETE 时提供 Where 条件
pg_drop_events pg_drop_events postgresql-$v-pg-drop-events PIGSTY 0.1.0 ADMIN PostgreSQL 17,16,15,14,13 记录删表删列删视图的事务号,辅助PITR确定时间点
table_log table_log postgresql-$v-tablelog PGDG 0.6.4 ADMIN PostgreSQL 17,16,15,14,13 记录某张表的修改日志并做表/行级时间点恢复
pgagent pgagent pgagent PGDG 4.2.3 ADMIN PostgreSQL 17,16,15,14,13 PostgreSQL任务调度工具,与PGADMIN配合使用
pg_prewarm pg_prewarm postgresql-$v CONTRIB 1.2 ADMIN PostgreSQL 17,16,15,14,13 预热关系数据
pgpool_adm pgpool postgresql-$v-pgpool2 PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool 管理函数
pgpool_recovery pgpool postgresql-$v-pgpool2 PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool辅助扩展,从v4.3提供的恢复函数
pgpool_regclass pgpool postgresql-$v-pgpool2 PGDG 4.6.0 ADMIN PostgreSQL 17,16,15,14,13 PGPool辅助扩展,RegClass替代
lo lo postgresql-$v CONTRIB 1.1 ADMIN PostgreSQL 17,16,15,14,13 大对象维护
basic_archive basic_archive postgresql-$v CONTRIB - ADMIN PostgreSQL 17,16,15 归档模块样例
basebackup_to_shell basebackup_to_shell postgresql-$v CONTRIB - ADMIN PostgreSQL 17,16,15 添加一种备份到Shell终端到基础备份方式
old_snapshot old_snapshot postgresql-$v CONTRIB 1.0 ADMIN PostgreSQL 16,15,14 支持 old_snapshot_threshold 的实用程序
adminpack adminpack postgresql-$v CONTRIB 2.1 ADMIN PostgreSQL 16,15,14,13 PostgreSQL 管理函数集合
amcheck amcheck postgresql-$v CONTRIB 1.4 ADMIN PostgreSQL 17,16,15,14,13 校验关系完整性
pg_surgery pg_surgery postgresql-$v CONTRIB 1.0 ADMIN PostgreSQL 17,16,15,14 对损坏的关系进行手术
pg_profile pg_profile postgresql-$v-pg-profile PIGSTY 4.8 STAT BSD 2 17,16,15,14,13 PostgreSQL 数据库负载记录与AWR报表工具
pg_tracing pg_tracing postgresql-$v-pg-tracing PIGSTY 0.1.3 STAT MIT 17,16,15 PostgreSQL分布式Tracing
pg_show_plans pg_show_plans postgresql-$v-show-plans PGDG 2.1.3 STAT PostgreSQL 17,16,15,14,13 打印所有当前正在运行查询的执行计划
pg_stat_kcache pg_stat_kcache postgresql-$v-pg-stat-kcache PGDG 2.3.0 STAT BSD 3 17,16,15,14,13 内核统计信息收集
pg_stat_monitor pg_stat_monitor postgresql-$v-pg-stat-monitor PIGSTY 2.1.1 STAT BSD 3 17,16,15,14,13 提供查询聚合统计、客户端信息、执行计划详细信息和直方图
pg_qualstats pg_qualstats postgresql-$v-pg-qualstats PGDG 2.1.1 STAT BSD 3 17,16,15,14,13 收集有关 quals 的统计信息的扩展
pg_store_plans pg_store_plans postgresql-$v-pg-store-plan PIGSTY 1.8 STAT BSD 3 17,16,15,14,13 跟踪所有执行的 SQL 语句的计划统计信息
pg_track_settings pg_track_settings postgresql-$v-pg-track-settings PGDG 2.1.2 STAT PostgreSQL 17,16,15,14,13 跟踪设置更改
pg_wait_sampling pg_wait_sampling postgresql-$v-pg-wait-sampling PGDG 1.1.8 STAT PostgreSQL 17,16,15,14,13 基于采样的等待事件统计
pgsentinel pgsentinel postgresql-$v-pgsentinel PIGSTY 1.1.0 STAT PostgreSQL 17,16,15,14,13 活跃会话历史
system_stats system_stats postgresql-$v-system-stats PIGSTY 3.2 STAT PostgreSQL 17,16,15,14,13 PostgreSQL 的系统统计函数
meta pg_meta postgresql-$v-pg-meta PIGSTY 0.4.0 STAT BSD 2 17,16,15,14,13 标准化,更友好的PostgreSQL系统目录视图
pgnodemx pgnodemx postgresql-$v-pgnodemx PIGSTY 1.7 STAT Apache-2.0 17,16,15,14,13 使用SQL查询获取操作系统指标
pg_proctab pgnodemx postgresql-$v-pgnodemx PIGSTY 1.7 STAT BSD 3 17,16,15,14,13 通过SQL接口访问操作系统进程表
pg_sqlog pg_sqlog postgresql-$v-pg-sqlog PIGSTY 1.6 STAT BSD 3 17,16,15,14,13 提供访问PostgreSQL日志的SQL接口
bgw_replstatus bgw_replstatus postgresql-$v-bgw-replstatus PGDG 1.0.7 STAT PostgreSQL 17,16,15,14,13 用于汇报本机主从状态的后台工作进程
pgmeminfo pgmeminfo postgresql-$v-pgmeminfo PIGSTY 1.0.0 STAT MIT 17,16,15,14,13 显示内存使用情况
toastinfo toastinfo postgresql-$v-toastinfo PIGSTY 1.5 STAT PostgreSQL 17,16,15,14,13 显示TOAST字段的详细信息
explain_ui pg_explain_ui postgresql-$v-pg-explain-ui PIGSTY 0.0.1 STAT PostgreSQL 17,16,15,14,13 快速跳转至PEV查阅可视化执行计划
pg_relusage pg_relusage postgresql-$v-pg-relusage PIGSTY 0.0.1 STAT PostgreSQL 17,16,15,14,13 打印查询引用的表与列
pagevis pagevis postgresql-$v-pagevis PIGSTY 0.1 STAT MIT 17,16,15,14,13 使用ASCII字符可视化数据库物理页面布局
powa powa postgresql-$v-powa PGDG 5.0.1 STAT PostgreSQL 17,16,15,14,13 PostgreSQL 工作负载分析器-核心
pg_overexplain pg_overexplain postgresql-$v CONTRIB 1.0 STAT PostgreSQL 18 允许 EXPLAIN 转储更多详细
pg_logicalinspect pg_logicalinspect postgresql-$v CONTRIB 1.0 STAT PostgreSQL 18 检视逻辑解码组件详情
pageinspect pageinspect postgresql-$v CONTRIB 1.12 STAT PostgreSQL 17,16,15,14,13 检查数据库页面二进制内容
pgrowlocks pgrowlocks postgresql-$v CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 显示行级锁信息
sslinfo sslinfo postgresql-$v CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 关于 SSL 证书的信息
pg_buffercache pg_buffercache postgresql-$v CONTRIB 1.5 STAT PostgreSQL 17,16,15,14,13 检查共享缓冲区缓存
pg_walinspect pg_walinspect postgresql-$v CONTRIB 1.1 STAT PostgreSQL 17,16,15 用于检查 PostgreSQL WAL 日志内容的函数
pg_freespacemap pg_freespacemap postgresql-$v CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 检查自由空间映射的内容(FSM)
pg_visibility pg_visibility postgresql-$v CONTRIB 1.2 STAT PostgreSQL 17,16,15,14,13 检查可见性图(VM)和页面级可见性信息
pgstattuple pgstattuple postgresql-$v CONTRIB 1.5 STAT PostgreSQL 17,16,15,14,13 显示元组级统计信息
auto_explain auto_explain postgresql-$v CONTRIB - STAT PostgreSQL 17,16,15,14,13 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements postgresql-$v CONTRIB 1.11 STAT PostgreSQL 17,16,15,14,13 跟踪所有执行的 SQL 语句的计划和执行统计信息
passwordcheck_cracklib passwordcheck postgresql-$v-passwordcheck-cracklib PIGSTY 3.1.0 SEC LGPLv2 17,16,15,14,13 使用cracklib加固PG用户密码
supautils supautils postgresql-$v-supautils PIGSTY 2.9.2 SEC Apache-2.0 17,16,15,14,13 用于在云环境中确保数据库集群的安全
pgsodium pgsodium postgresql-$v-pgsodium PIGSTY 3.1.9 SEC BSD 3 17,16,15,14,13 表数据加密存储 TDE
supabase_vault pg_vault postgresql-$v-vault PIGSTY 0.3.1 SEC Apache-2.0 17,16,15,14,13 在 Vault 中存储加密凭证的扩展 (supabase)
pg_session_jwt pg_session_jwt postgresql-$v-pg-session-jwt PIGSTY 0.3.1 SEC Apache-2.0 17,16,15,14 使用JWT进行会话认证
anon pg_anon postgresql-$v-pg-anon PIGSTY 2.1.1 SEC PostgreSQL 17,16,15,14,13 数据匿名化处理工具
pg_tde pg_tde postgresql-$v-pg-tde PIGSTY 1.0 SEC MIT 16 试点性质的加密存储引擎
pgsmcrypto pgsmcrypto postgresql-$v-pgsmcrypto PIGSTY 0.1.0 SEC MIT 17,16,15,14,13 为PostgreSQL提供商密算法支持:SM2,SM3,SM4
pgaudit pgaudit postgresql-$v-pgaudit PGDG 17.1 SEC PostgreSQL 17,16,15,14,13 提供审计功能
pgauditlogtofile pgauditlogtofile postgresql-$v-pgauditlogtofile PGDG 1.6.4 SEC PostgreSQL 17,16,15,14,13 pgAudit 子扩展,将审计日志写入单独的文件中
pg_auth_mon pg_auth_mon postgresql-$v-pg-auth-mon PIGSTY 3.0 SEC MIT 17,16,15,14,13 监控每个用户的连接尝试
credcheck credcheck postgresql-$v-credcheck PGDG 3.0 SEC MIT 17,16,15,14,13 明文凭证检查器
pgcryptokey pgcryptokey postgresql-$v-pgcryptokey PIGSTY 0.85 SEC PostgreSQL 17,16,15,14,13 PG密钥管理
pg_jobmon pg_jobmon postgresql-$v-pg-jobmon PIGSTY 1.4.1 SEC PostgreSQL 17,16,15,14,13 记录和监控函数
logerrors logerrors postgresql-$v-logerrors PIGSTY 2.1.3 SEC BSD 3 17,16,15,14,13 用于收集日志文件中消息统计信息的函数
login_hook login_hook postgresql-$v-login-hook PIGSTY 1.6 SEC GPLv3 17,16,15,14,13 在用户登陆时执行login_hook.login()函数
set_user set_user postgresql-$v-set-user PGDG 4.1.0 SEC PostgreSQL 17,16,15,14,13 增加了日志记录的 SET ROLE
pg_snakeoil pg_snakeoil postgresql-$v-snakeoil PGDG 1.4 SEC PostgreSQL 17,16,15,14,13 PostgreSQL动态链接库反病毒功能
pgextwlist pgextwlist postgresql-$v-pgextwlist PIGSTY 1.17 SEC PostgreSQL 17,16,15,14,13 PostgreSQL扩展白名单功能
pg_auditor pg_auditor postgresql-$v-pg-auditor PIGSTY 0.2 SEC BSD 3 17,16,15,14,13 审计数据变更并提供闪回能力
sslutils sslutils postgresql-$v-sslutils PIGSTY 1.4 SEC PostgreSQL 17,16,15,14,13 使用SQL管理SSL证书
noset pg_noset postgresql-$v-noset PIGSTY 0.3.0 SEC AGPLv3 17,16,15,14,13 阻止非超级用户使用SET/RESET设置变量
sepgsql sepgsql postgresql-$v CONTRIB - SEC PostgreSQL 17,16,15,14,13 基于SELinux标签的强制访问控制
auth_delay auth_delay postgresql-$v CONTRIB - SEC PostgreSQL 17,16,15,14,13 在返回认证失败前暂停一会,避免爆破
pgcrypto pgcrypto postgresql-$v CONTRIB 1.3 SEC PostgreSQL 17,16,15,14,13 实用加解密函数
passwordcheck passwordcheck postgresql-$v CONTRIB - SEC PostgreSQL 17,16,15,14,13 用于强制拒绝修改弱密码的扩展
wrappers wrappers postgresql-$v-wrappers PIGSTY 0.5.0 FDW Apache-2.0 17,16,15,14 Supabase提供的外部数据源包装器捆绑包
pgspider_ext pgspider_ext postgresql-$v-pgspider-ext PIGSTY 1.3.0 FDW PostgreSQL 17,16,15 使用多种FDW访问远程数据库服务器
mysql_fdw mysql_fdw postgresql-$v-mysql-fdw PGDG 2.9.2 FDW BSD 3 17,16,15,14,13 MySQL外部数据包装器
oracle_fdw oracle_fdw postgresql-$v-oracle-fdw PGDG 2.7.0 FDW PostgreSQL 17,16,15,14,13 提供对Oracle的外部数据源包装器
tds_fdw tds_fdw postgresql-$v-tds-fdw PGDG 2.0.4 FDW PostgreSQL 17,16,15,14,13 TDS 数据库(Sybase/SQL Server)外部数据包装器
sqlite_fdw sqlite_fdw postgresql-$v-sqlite-fdw PGDG 2.5.0 FDW PostgreSQL 17,16,15,14,13 SQLite 外部数据包装器
redis_fdw redis_fdw postgresql-$v-redis-fdw PIGSTY 1.0 FDW PostgreSQL 17,16,15,14,13 查询外部Redis数据源
redis pg_redis_pubsub postgresql-$v-pg-redis-pubsub PIGSTY 0.0.1 FDW MIT 17,16,15,14,13 从PG向Redis发送Pub/Sub消息
kafka_fdw kafka_fdw postgresql-$v-kafka-fdw PIGSTY 0.0.3 FDW PostgreSQL 16,15,14,13 Kafka外部数据源包装器
firebird_fdw firebird_fdw postgresql-$v-firebird-fdw PIGSTY 1.4.0 FDW PostgreSQL 17,16,15,14,13 Firebird外部数据源包装器
aws_s3 aws_s3 postgresql-$v-aws-s3 PIGSTY 0.0.1 FDW Apache-2.0 17,16,15,14,13 从S3导入导出数据的外部数据源包装器
log_fdw log_fdw postgresql-$v-log-fdw PIGSTY 1.4 FDW Apache-2.0 17,16,15,14 访问PostgreSQL日志文件的FDW
dblink dblink postgresql-$v CONTRIB 1.2 FDW PostgreSQL 17,16,15,14,13 从数据库内连接到其他 PostgreSQL 数据库
file_fdw file_fdw postgresql-$v CONTRIB 1.0 FDW PostgreSQL 17,16,15,14,13 访问外部文件的外部数据包装器
postgres_fdw postgres_fdw postgresql-$v CONTRIB 1.1 FDW PostgreSQL 17,16,15,14,13 用于远程 PostgreSQL 服务器的外部数据包装器
documentdb documentdb postgresql-$v-documentdb PIGSTY 0.103 SIM MIT 17,16,15 微软DocumentDB的API层
documentdb_core documentdb postgresql-$v-documentdb PIGSTY 0.103 SIM MIT 17,16,15 微软DocumentDB的核心API层实现
documentdb_distributed documentdb postgresql-$v-documentdb PIGSTY 0.103 SIM MIT 17,16,15 DocumentDB多节点模式的API层
orafce orafce postgresql-$v-orafce PGDG 4.14.3 SIM BSD 0 17,16,15,14,13 模拟 Oracle RDBMS 的一部分函数和包的函数和运算符
pgtt pgtt postgresql-$v-pgtt PGDG 4.1 SIM ISC 17,16,15,14,13 类似Oracle的全局临时表功能
session_variable session_variable postgresql-$v-session-variable PIGSTY 3.4 SIM GPLv3 17,16,15,14,13 Oracle兼容的会话变量/常量操作函数
pg_statement_rollback pg_statement_rollback postgresql-$v-pg-statement-rollback PIGSTY 1.4 SIM ISC 17,16,15,14,13 在服务端提供类似Oracle/DB2的语句级回滚能力
babelfishpg_common babelfishpg_common babelfishpg-common WILTON 3.3.3 SIM Apache-2.0 15 SQL Server 数据类型兼容扩展
babelfishpg_tsql babelfishpg_tsql babelfishpg-tsql WILTON 3.3.1 SIM Apache-2.0 15 SQL Server SQL语法兼容性扩展
babelfishpg_tds babelfishpg_tds babelfishpg-tds WILTON 1.0.0 SIM Apache-2.0 15 SQL Server TDS线缆协议兼容扩展
babelfishpg_money babelfishpg_money babelfishpg-money WILTON 1.1.0 SIM Apache-2.0 15 SQL Server 货币数据类型兼容扩展
spat spat postgresql-$v-spat PIGSTY 0.1.0a4 SIM AGPLv3 17 在PG中嵌入Redis风格的内存数据库
pgmemcache pgmemcache postgresql-$v-pgmemcache PGDG 2.3.0 SIM MIT 17,16,15,14,13 为PG提供memcached兼容接口
pglogical pglogical postgresql-$v-pglogical PGDG 2.4.5 ETL PostgreSQL 17,16,15,14,13 PostgreSQL逻辑复制:三方扩展实现
pglogical_origin pglogical postgresql-$v-pglogical PGDG 2.4.5 ETL PostgreSQL 17,16,15,14,13 用于从 Postgres 9.4 升级时的兼容性虚拟扩展
pglogical_ticker pglogical_ticker postgresql-$v-pglogical-ticker PGDG 1.4.1 ETL PostgreSQL 17,16,15,14,13 pglogical复制延迟以秒计的精确视图
pgl_ddl_deploy pgl_ddl_deploy postgresql-$v-pgl-ddl-deploy PGDG 2.2.1 ETL MIT 17,16,15,14,13 使用 pglogical 执行自动 DDL 部署
pg_failover_slots pg_failover_slots postgresql-$v-pg-failover-slots PIGSTY 1.1.0 ETL PostgreSQL 17,16,15,14,13 在Failover过程中保留复制槽
db_migrator db_migrator postgresql-$v-db-migrator PIGSTY 1.0.0 ETL BSD 3 17,16,15,14,13 使用FDW从其他DBMS迁移到PostgreSQL
wal2json wal2json postgresql-$v-wal2json PGDG 2.6 ETL BSD 3 17,16,15,14,13 用逻辑解码捕获 JSON 格式的 CDC 变更
wal2mongo wal2mongo postgresql-$v-wal2mongo PIGSTY 1.0.7 ETL Apache-2.0 16,15,14,13 使用逻辑解码捕获MongoDB JSON格式的CDC变更
decoderbufs decoderbufs postgresql-$v-decoderbufs PGDG 3.0.7 ETL MIT 17,16,15,14,13 将WAL逻辑解码为ProtocolBuffer协议的消息
decoder_raw decoder_raw postgresql-$v-decoder-raw PIGSTY 1.0 ETL PostgreSQL 17,16,15,14,13 逻辑复制解码输出插件:RAW SQL格式
mimeo mimeo postgresql-$v-mimeo PGDG 1.5.1 ETL PostgreSQL 17,16,15,14,13 在PostgreSQL实例间进行表级复制
repmgr repmgr postgresql-$v-repmgr PGDG 5.5.0 ETL GPLv3 17,16,15,14,13 PostgreSQL复制管理组件
pg_fact_loader pg_fact_loader postgresql-$v-pg-fact-loader PGDG 2.0.1 ETL MIT 17,16,15,14,13 在 Postgres 中构建事实表
pg_bulkload pg_bulkload postgresql-$v-pg-bulkload PIGSTY 3.1.22 ETL BSD 3 17,16,15,14,13 向 PostgreSQL 中高速加载数据
test_decoding test_decoding postgresql-$v CONTRIB - ETL PostgreSQL 17,16,15,14,13 基于SQL的WAL逻辑解码样例
pgoutput pgoutput postgresql-$v CONTRIB - ETL PostgreSQL 17,16,15,14,13 PG内置的逻辑解码输出插件

2.3 - Contrib 扩展清单

PostgreSQL 自带的 Contrib 扩展插件列表

PostgreSQL 自带了 71 个 Contrib 扩展,全部来自 Contrib 模块,使用 PostgreSQL 开源许可证。

扩展名(详情) 标准名(官网) 版本 类目 PG大版本支持 LOAD DDL DBSU RELOC 简介
earthdistance earthdistance 1.2 GIS 17,16,15,14,13 计算地球表面上的大圆距离
fuzzystrmatch fuzzystrmatch 1.2 FTS 17,16,15,14,13 确定字符串之间的相似性和距离
pg_trgm pg_trgm 1.6 FTS 17,16,15,14,13 文本相似度测量函数与模糊检索
tablefunc tablefunc 1.0 OLAP 17,16,15,14,13 交叉表函数
bloom bloom 1.0 FEAT 17,16,15,14,13 bloom 索引-基于指纹的索引
pltcl pltcl 1.0 LANG 17,16,15,14,13 PL/TCL 存储过程语言
pltclu pltcl 1.0 LANG 17,16,15,14,13 PL/TCL 存储过程语言(未受信/高权限)
plperl plperl 1.0 LANG 17,16,15,14,13 PL/Perl 存储过程语言
bool_plperl plperl 1.0 LANG 17,16,15,14,13 在 bool 和 plperl 之间转换
hstore_plperl plperl 1.0 LANG 17,16,15,14,13 在 hstore 和 plperl 之间转换适配类型
jsonb_plperl plperl 1.0 LANG 17,16,15,14,13 在 jsonb 和 plperl 之间转换
plperlu plperlu 1.0 LANG 17,16,15,14,13 PL/PerlU 存储过程语言(未受信/高权限)
bool_plperlu plperlu 1.0 LANG 17,16,15,14,13 在 bool 和 plperlu 之间转换
jsonb_plperlu plperlu 1.0 LANG 17,16,15,14,13 在 jsonb 和 plperlu 之间转换
hstore_plperlu plperlu 1.0 LANG 17,16,15,14,13 在 hstore 和 plperlu 之间转换适配类型
plpgsql plpgsql 1.0 LANG 17,16,15,14,13 PL/pgSQL 程序设计语言
plpython3u plpython3u 1.0 LANG 17,16,15,14,13 PL/Python3 存储过程语言(未受信/高权限)
jsonb_plpython3u plpython3u 1.0 LANG 17,16,15,14,13 在 jsonb 和 plpython3u 之间转换
ltree_plpython3u plpython3u 1.0 LANG 17,16,15,14,13 在 ltree 和 plpython3u 之间转换
hstore_plpython3u plpython3u 1.0 LANG 17,16,15,14,13 在 hstore 和 plpython3u 之间转换
isn isn 1.2 TYPE 17,16,15,14,13 用于国际产品编号标准的数据类型
seg seg 1.4 TYPE 17,16,15,14,13 表示线段或浮点间隔的数据类型
cube cube 1.5 TYPE 17,16,15,14,13 用于存储多维立方体的数据类型
ltree ltree 1.3 TYPE 17,16,15,14,13 用于表示分层树状结构的数据类型
hstore hstore 1.8 TYPE 17,16,15,14,13 用于存储(键,值)对集合的数据类型
citext citext 1.6 TYPE 17,16,15,14,13 提供大小写不敏感的字符串类型
xml2 xml2 1.1 TYPE 17,16,15,14,13 XPath 查询和 XSLT
refint refint 1.0 FUNC 17,16,15,14,13 实现引用完整性的函数
autoinc autoinc 1.0 FUNC 17,16,15,14,13 用于自动递增字段的函数
insert_username insert_username 1.0 FUNC 17,16,15,14,13 用于跟踪谁更改了表的函数
moddatetime moddatetime 1.0 FUNC 17,16,15,14,13 跟踪最后修改时间
tsm_system_time tsm_system_time 1.0 FUNC 17,16,15,14,13 接受毫秒数限制的 TABLESAMPLE 方法
dict_xsyn dict_xsyn 1.0 FUNC 17,16,15,14,13 用于扩展同义词处理的文本搜索字典模板
tsm_system_rows tsm_system_rows 1.0 FUNC 17,16,15,14,13 接受行数限制的 TABLESAMPLE 方法
tcn tcn 1.0 FUNC 17,16,15,14,13 用触发器通知变更
uuid-ossp uuid-ossp 1.1 FUNC 17,16,15,14,13 生成通用唯一标识符(UUIDs)
btree_gist btree_gist 1.7 FUNC 17,16,15,14,13 用GiST索引常见数据类型
btree_gin btree_gin 1.3 FUNC 17,16,15,14,13 用GIN索引常见数据类型
intarray intarray 1.5 FUNC 17,16,15,14,13 1维整数数组的额外函数、运算符和索引支持
intagg intagg 1.1 FUNC 17,16,15,14,13 整数聚合器和枚举器(过时)
dict_int dict_int 1.0 FUNC 17,16,15,14,13 用于整数的文本搜索字典模板
unaccent unaccent 1.1 FUNC 17,16,15,14,13 删除重音的文本搜索字典
pg_prewarm pg_prewarm 1.2 ADMIN 17,16,15,14,13 预热关系数据
lo lo 1.1 ADMIN 17,16,15,14,13 大对象维护
basic_archive basic_archive - ADMIN 17,16,15 归档模块样例
basebackup_to_shell basebackup_to_shell - ADMIN 17,16,15 添加一种备份到Shell终端到基础备份方式
old_snapshot old_snapshot 1.0 ADMIN 16,15,14 支持 old_snapshot_threshold 的实用程序
adminpack adminpack 2.1 ADMIN 16,15,14,13 PostgreSQL 管理函数集合
amcheck amcheck 1.4 ADMIN 17,16,15,14,13 校验关系完整性
pg_surgery pg_surgery 1.0 ADMIN 17,16,15,14 对损坏的关系进行手术
pg_overexplain pg_overexplain 1.0 STAT 18 允许 EXPLAIN 转储更多详细
pg_logicalinspect pg_logicalinspect 1.0 STAT 18 检视逻辑解码组件详情
pageinspect pageinspect 1.12 STAT 17,16,15,14,13 检查数据库页面二进制内容
pgrowlocks pgrowlocks 1.2 STAT 17,16,15,14,13 显示行级锁信息
sslinfo sslinfo 1.2 STAT 17,16,15,14,13 关于 SSL 证书的信息
pg_buffercache pg_buffercache 1.5 STAT 17,16,15,14,13 检查共享缓冲区缓存
pg_walinspect pg_walinspect 1.1 STAT 17,16,15 用于检查 PostgreSQL WAL 日志内容的函数
pg_freespacemap pg_freespacemap 1.2 STAT 17,16,15,14,13 检查自由空间映射的内容(FSM)
pg_visibility pg_visibility 1.2 STAT 17,16,15,14,13 检查可见性图(VM)和页面级可见性信息
pgstattuple pgstattuple 1.5 STAT 17,16,15,14,13 显示元组级统计信息
auto_explain auto_explain - STAT 17,16,15,14,13 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements 1.11 STAT 17,16,15,14,13 跟踪所有执行的 SQL 语句的计划和执行统计信息
sepgsql sepgsql - SEC 17,16,15,14,13 基于SELinux标签的强制访问控制
auth_delay auth_delay - SEC 17,16,15,14,13 在返回认证失败前暂停一会,避免爆破
pgcrypto pgcrypto 1.3 SEC 17,16,15,14,13 实用加解密函数
passwordcheck passwordcheck - SEC 17,16,15,14,13 用于强制拒绝修改弱密码的扩展
dblink dblink 1.2 FDW 17,16,15,14,13 从数据库内连接到其他 PostgreSQL 数据库
file_fdw file_fdw 1.0 FDW 17,16,15,14,13 访问外部文件的外部数据包装器
postgres_fdw postgres_fdw 1.1 FDW 17,16,15,14,13 用于远程 PostgreSQL 服务器的外部数据包装器
test_decoding test_decoding - ETL 17,16,15,14,13 基于SQL的WAL逻辑解码样例
pgoutput pgoutput - ETL 17,16,15,14,13 PG内置的逻辑解码输出插件

2.4 - 扩展元数据释义

关于 PostgreSQL 扩展插件元数据字段的说明

每个扩展都有一些元数据属性,以下是这些属性的说明

  • id

扩展标识,由 Pigsty 唯一分配给每个扩展的整型标识符,用于内部排序。

  • name

扩展名,扩展在 PostgreSQL 扩展系统目录中的名称,用于 CREATE EXTESION 时引用。

扩展一般会带有同名的 <name>.control<name>*.so,以及 <name>*.sql 文件。

  • alias

扩展别名,由 Pigsty 为每个逻辑扩展分配的唯一名称,通常与 扩展名 name 保持一致。 但存在一些特例,比如安装一个扩展 RPM 包如果引入多个 Extension,那么这些 Extension 会共享一个别名,例如 postgis

  • version

扩展默认版本,通常是扩展的最新版本。通常由定义于扩展 control 文件中的版本号决定。 在一些特殊情况下,RPM 与 Debian 中可用的扩展版本可能略微有所不同。

  • category

扩展分类,用于区分扩展的功能类型,默认分为16大类: gistimeragftsolapfeatlangtypeutil, funcadminstatsecfdwsimetl 等。

  • tags

一些标签,用于描述扩展的特性

  • repo

扩展的来源仓库,CONTRIB 代表这是一个 PostgreSQL 自带扩展,PGDG 代表这是一个 PGDG 第一方扩展,PIGSTY 代表这是一个 Pigsty 第三方扩展。

  • lang

扩展使用的编程语言,通常为 C,也有一些 C++Rust 编写的扩展。也有纯 SQL 与纯数据组成的扩展。

  • need_load

带有 Load 标记,意味着这个扩展使用了 PostgreSQL Hook,需要动态加载,并重启 PostgreSQL 生效。 只有少量扩展需要动态加载,大部分扩展都是静态加载的。

  • need_ddl

带有 DDL 标记,意味着这个扩展需要执行 DDL 语句:CREATE EXTENSION

绝大多数扩展都需要执行 CREATE EXTENSION DDL 语句完成创建,但也有一些特例,例如 pg_stat_statementswal2json 等。

  • need_dbsu

安装此扩展是否需要超级用户权限?或者说,这个扩展是否被“信任” —— 只在数据库内部提供功能。

少部分扩展因为只在数据库内部提供功能,因此不需要超级用户权限就能安装,任何持有 CREATE 权限的用户都可以安装受信任的扩展。

  • relocatable

扩展是否可以被重定位?即是否可以被安装到其他 Schema 中?大部分扩展都是可以被重定位的,但也有一些特例,这些扩展会显式指定自己使用的扩展名。

  • schemas

如果扩展是可重定位的,那么它可以被安装到指定的 Schema 中,这个属性指定了扩展的默认 Schema。 PostgreSQL 默认只允许扩展使用一个 Schema,但一些扩展并不遵循这个规则,例如 citustimescaledb 等。

  • pg_ver

扩展支持的 PostgreSQL 版本,默认只考虑支持声明周期内的版本,即 12 - 16 。

  • requires

此扩展依赖的其他扩展,如果有的话。一个扩展可能同时依赖多个其他扩展,这些依赖关系通常在扩展的 control 文件中的 requires 字段里声明。

安装扩展时,可以通过 CREATE EXTENSION xxx CASCADE 语句自动安装依赖的扩展。

  • pkg

扩展软件包(RPM/DEB)名称,这里使用 $v 来替代具体的 PostgreSQL 大版本号。

  • pkg_ver

扩展软件包(RPM/DEB)的版本号,通常 RPM / DEB 包的版本与扩展本身的版本(version,从系统视图中得到)是一致的。 但依然存在极个别特例,软件包的版本与扩展本身的版本是不一致,甚至是独立演进管理的。

  • pkg_deps

扩展软件包(RPM/DEB)的依赖,不同于扩展本身的依赖(requires),这里是扩展 RPM/DEB 包的特殊依赖。

  • url

扩展的官方网站或者源代码仓库地址。

  • license

扩展使用的开源许可证,通常是 PostgreSQLMITApacheGPL 等。

  • en_desc

扩展的英文描述,用于描述扩展的功能与用途。

  • zh_desc

扩展的中文描述,用于描述扩展的功能与用途。

  • comment

一些额外的注释,用于描述扩展的特性或者注意事项。


数据库模式

CREATE TABLE IF NOT EXISTS ext.extension
(
    id          INTEGER PRIMARY KEY,
    name        TEXT NOT NULL,
    pkg         TEXT NOT NULL,
    alias       TEXT,
    category    TEXT,
    state       TEXT,
    url         TEXT,
    license     TEXT,
    tags        TEXT[],
    version     TEXT,
    repo        TEXT,
    lang        TEXT,
    contrib     BOOLEAN,
    lead        BOOLEAN,
    has_bin     BOOLEAN,
    has_lib     BOOLEAN,
    need_ddl    BOOLEAN,
    need_load   BOOLEAN,
    trusted     BOOLEAN,
    relocatable BOOLEAN,
    schemas     TEXT[],
    pg_ver      TEXT[],
    requires    TEXT[],
    rpm_ver     TEXT,
    rpm_repo    TEXT,
    rpm_pkg     TEXT,
    rpm_pg      TEXT[],
    rpm_deps    TEXT[],
    deb_ver     TEXT,
    deb_repo    TEXT,
    deb_pkg     TEXT,
    deb_deps    TEXT[],
    deb_pg      TEXT[],
    bad_case    TEXT[],
    extra       JSONB,
    ctime       DATE DEFAULT CURRENT_DATE,
    mtime       DATE DEFAULT CURRENT_DATE,
    en_desc     TEXT,
    zh_desc     TEXT,
    comment     TEXT
);
COMMENT ON TABLE ext.extension IS 'PostgreSQL Extension Table';
COMMENT ON COLUMN ext.extension.id IS 'Extension Identifier (integer)';
COMMENT ON COLUMN ext.extension.name IS 'Extension Name (in system catalog)';
COMMENT ON COLUMN ext.extension.pkg IS 'Normalized extension package name';
COMMENT ON COLUMN ext.extension.alias IS 'Download pkg group alias';
COMMENT ON COLUMN ext.extension.category IS 'Category of this extension';
COMMENT ON COLUMN ext.extension.state IS 'Extension State (available, deprecated, removed, not-ready)';
COMMENT ON COLUMN ext.extension.url IS 'Extension Repo URL';
COMMENT ON COLUMN ext.extension.license IS 'Extension License';
COMMENT ON COLUMN ext.extension.tags IS 'Extra tags';
COMMENT ON COLUMN ext.extension.version IS 'the latest available version of this extension';
COMMENT ON COLUMN ext.extension.lang IS 'Programming Language of this extension';
COMMENT ON COLUMN ext.extension.lead IS 'Mark the primary extension among one multi-ext package';
COMMENT ON COLUMN ext.extension.has_bin IS 'does this extension has binary utils';
COMMENT ON COLUMN ext.extension.has_lib IS 'Does the extension have shared library?';
COMMENT ON COLUMN ext.extension.need_ddl IS 'Extension need `CREATE EXTENSION` to work?';
COMMENT ON COLUMN ext.extension.need_load IS 'Require LOAD & shared_preload_libraries to work?';
COMMENT ON COLUMN ext.extension.trusted IS 'A Trusted extension does not require superuser to work';
COMMENT ON COLUMN ext.extension.relocatable IS 'Can this extension be relocated?';
COMMENT ON COLUMN ext.extension.schemas IS 'Installed Schema, if not relocatable';
COMMENT ON COLUMN ext.extension.pg_ver IS 'Supported PostgreSQL major versions';
COMMENT ON COLUMN ext.extension.requires IS 'Dependencies of this extension';
COMMENT ON COLUMN ext.extension.rpm_pkg IS 'RPM package name, major version is replace with $v';
COMMENT ON COLUMN ext.extension.deb_pkg IS 'DEB package name, major version is replace with $v';
COMMENT ON COLUMN ext.extension.en_desc IS 'English description';
COMMENT ON COLUMN ext.extension.zh_desc IS 'Chinese description';
COMMENT ON COLUMN ext.extension.comment IS 'Extra information';

3 - 扩展仓库

如何在 EL/Debian/Ubuntu 及其兼容操作系统上,使用 Pigsty 提供的插件仓库?

如果您使用 Pigsty 来部署 PostgreSQL 并安装扩展,那么您 并不需要 关心软件仓库的问题,Pigsty 会自动为您配置好一切。 但如果您想要独立使用 Pigsty 扩展仓库(例如为您现有的 PG 部署安装 421+ 额外扩展),那么本节内容将对您有所帮助。

PostgreSQL 全球开发组(PGDG)提供了的 PGDG YUM/APT 软件仓库,可以视作 PostgreSQL 的“官方”仓库仓库。 而 Pigsty 提供了一个补充软件仓库(类似于 EPEL 之于 RHEL),针对 PostgreSQL 扩展与生态工具,提供了额外的 RPM / DEB 包,并在构建规范上与 PGDG 仓库 保持一致

目前 Pigsty 扩展仓库支持 x86_64/aarch64 架构,包括两个子仓库:pigsty-infrapigsty-pgsql, 前者包含了 OS 大版本无关的通用基础设施组件(例如 EL 7/8/9 都能用的 go 程序 vip-manager), 后者包含了 OS 大版本相关的 PostgreSQL 扩展,具体的支持范围为:EL 8/9, Debian 12,Ubuntu 22.04/24.04,总计 10 个发行版大版本架构组合。

在支持的操作系统上,我们提供 PostgreSQL 包管理器 pig 命令行工具,提供了 Pigsty 仓库/扩展管理功能的子集,可以帮助您管理软件仓库,并安装/卸载/更新/查询扩展。

当然 Pigsty 扩展仓库也同样支持传统/标准的 YUM / APT 仓库使用方式,使用 yum/dnf/apt 进行手工管理。

3.1 - YUM仓库

如何在 RHEL/Rocky 及其兼容操作系统上,使用 Pigsty 提供的 PostgreSQL 插件 YUM/DNF 仓库?

YUM仓库

对于 EL 8/9 及兼容系统,使用以下命令依次添加 Pigsty 仓库的 GPG 公钥,写入仓库定义,并更新缓存:

# 将 pigsty 的 gpg 公钥添加到你的系统钥匙链中,从而验证软件包签名
curl -fsSL https://repo.pigsty.cc/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null

# 向 /etc/yum.repos.d 目录中添加 Pigsty Repo 定义文件,包括两个仓库
sudo tee /etc/yum.repos.d/pigsty-cc.repo > /dev/null <<-'EOF'
[pigsty-infra]
name=Pigsty Infra for $basearch
baseurl=https://repo.pigsty.cc/yum/infra/$basearch
skip_if_unavailable = 1
enabled = 1
priority = 1
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty
module_hotfixes=1

[pigsty-pgsql]
name=Pigsty PGSQL For el$releasever.$basearch
baseurl=https://repo.pigsty.cc/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

# 刷新 YUM/DNF 仓库缓存
sudo yum makecache;
# 将 pigsty 的 gpg 公钥添加到你的系统钥匙链中,从而验证软件包签名
curl -fsSL https://repo.pigsty.io/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null

# 向 /etc/yum.repos.d 目录中添加 Pigsty Repo 定义文件,包括两个仓库
sudo tee /etc/yum.repos.d/pigsty-io.repo > /dev/null <<-'EOF'
[pigsty-infra]
name=Pigsty Infra for $basearch
baseurl=https://repo.pigsty.io/yum/infra/$basearch
skip_if_unavailable = 1
enabled = 1
priority = 1
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty
module_hotfixes=1

[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

# 刷新 YUM/DNF 仓库缓存
sudo yum makecache;

仓库内容

pigsty-pgsql 仓库包含以下内容:

  • 209 个 PostgreSQL 扩展对应的 RPM 包(由 Pigsty 维护,未收录于 PGDG YUM 仓库中)
  • haproxy 3.1
  • redis 7.2

pigsty-infra 仓库包含以下内容:




3.2 - APT仓库

如何在 Debian/Ubuntu 及其兼容操作系统上,使用 Pigsty 提供的 PostgreSQL 插件 APT 仓库?

对于 Debian/Ubuntu 及其兼容系统,使用以下命令依次添加 Pigsty 仓库的 GPG 公钥,写入仓库定义,并更新缓存:

# 将 pigsty 的 gpg 公钥添加到你的系统钥匙链中,从而验证软件包签名
curl -fsSL https://repo.pigsty.cc/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg

# 获取 Debian 发行版代号,distro_codename=jammy, focal, bullseye, bookworm,并将对应上游仓库地址写入 APT List 文件
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.cc/apt/infra generic main
deb [signed-by=/etc/apt/keyrings/pigsty.gpg] https://repo.pigsty.cc/apt/pgsql/${distro_codename} ${distro_codename} main
EOF

# 刷新 APT 仓库缓存
sudo apt update
# 将 pigsty 的 gpg 公钥添加到你的系统钥匙链中,从而验证软件包签名
curl -fsSL https://repo.pigsty.io/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg

# 获取 Debian 发行版代号,distro_codename=jammy, focal, bullseye, bookworm,并将对应上游仓库地址写入 APT List 文件
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/infra generic main
deb [signed-by=/etc/apt/keyrings/pigsty.gpg] https://repo.pigsty.io/apt/pgsql ${distro_codename} main
EOF

# 刷新 APT 仓库缓存
sudo apt update

仓库内容

pigsty-pgsql 仓库包含以下内容:

  • 216 个 PostgreSQL 扩展对应的 DEB 包(由 Pigsty 维护,未收录于 PGDG APT 仓库中)
  • haproxy 3.1
  • redis 7.2

pigsty-infra 仓库包含以下内容:




3.3 - PIG命令

如何使用 pig 命令行工具来管理 PostgreSQL / Pigsty 扩展仓库?

您可以使用 Pigsty 提供的 pig 命令行工具,管理 Linux 操作系统上的软件仓库。使用以下命令 安装 pig 命令行工具:

curl https://repo.pigsty.cc/pig | bash

使用以下命令添加软件仓库,Pig 命令行工具会自动检测您的网络条件(墙内/墙外),并选择速度最快的镜像:

pig repo add pigsty   # 添加 PIGSTY 仓库
pig repo add pgdg     # 添加 PGDG 仓库
pig repo add pgsql    # 添加 PGDG + PIGSTY 镜像源
pig repo add node     # 添加操作系统默认软件仓库
pig repo add all      # 添加 PIGSTY + PGDG + NODE 仓库

所有Repo 文件默认会写入 /etc/yum.repos.d/(EL) 与 /etc/apt/sources.list.d/(Debian/Ubuntu) 目录下。

您可以使用以下命令,向当前系统添加 PIGSTY + PGDG + NODE 仓库并更新软件仓库缓存:

pig repo add all -u  # 添加 NODE + PGSQL 软件仓库并更新缓存

如果您想要清除并覆盖当前系统上的所有仓库,并重新添加 PIGSTY + PGDG + NODE 仓库,您可以使用以下命令:

pig repo add all -ru  # remove + update
pig repo set          # 上面命令的缩写

移除的现有 repo 文件会被自动备份到上述目录下的 backup 目录中。

我们建议使用这种方式来管理软件仓库,但如果您不想使用 Pigsty 提供的命令行工具,您也可以 手工添加 YUM/APT软件仓库。




3.4 - Infra 仓库

Pigsty Infra 仓库详细介绍,Linux大版本无关的 PG 相关包, Grafana & Prometheus 可观测性全家桶等。

概览

Pigsty Infra 仓库中包含了 Linux 大版本无关的 PG 相关包,这里的软件包通常只针对不同架构(x86_64 / aarch64) 进行打包。

Pigsty Infra 仓库包含了 Grafana & Prometheus 可观测性全家桶,各类 Exporter,DuckDB,Etcd 等各类 DBMS 组件。

Pigsty Infra 仓库通常每月更新一次,目前只保留软件的最新可用版本。

用于构建 Infra 包的源码与脚本:https://github.com/pgsty/infra-pkg


内容

仓库 pigsty-infra 包含以下内容

从二进制包构建:

直接从上游下载:


变更日志

2025-05-22

  • prometheus 3.4.0
  • duckdb 1.3.0
  • etcd 3.6.0
  • pg_exporter 1.0.0
  • ferretdb 2.2.0
  • rclone 1.69.3
  • minio 20250422221226
  • mcli 20250416181326
  • nginx_exporter 1.4.2
  • keepalived_exporter 1.6.2
  • pgbackrest_exporter 0.20.0
  • redis_exporter 1.27.1
  • victoriametrics 1.117.1
  • victorialogs 1.22.2
  • pg_timetable 5.13.0
  • tigerbeetle 0.16.41
  • pev2 1.15.0
  • grafana 12.0.0
  • grafana-victorialogs-ds 0.16.3
  • grafana-victoriametrics-ds 0.15.1
  • grafana-infinity-ds 3.2.1
  • grafana_plugins 12.0.0

2025-04-23

  • mtail 3.0.8 (new)
  • pig 0.4.0
  • pg_exporter 0.9.0
  • prometheus 3.3.0
  • pushgateway 1.11.1
  • keepalived_exporter 1.6.0
  • redis_exporter 1.70.0
  • victoriametrics 1.115.0
  • victoria_logs 1.20.0
  • duckdb 1.2.2
  • pg_timetable 5.12.0
  • vector 0.46.1
  • minio 20250422221226
  • mcli 20250416181326

2025-04-05

  • pig 0.3.4
  • etcd 3.5.21
  • restic 0.18.0
  • ferretdb 2.1.0
  • tigerbeetle 0.16.34
  • pg_exporter 0.8.1
  • node_exporter 1.9.1
  • grafana 11.6.0
  • zfs_exporter 3.8.1
  • mongodb_exporter 0.44.0
  • victoriametrics 1.114.0
  • minio 20250403145628
  • mcli 20250403170756

2025-03-23

  • etcd 3.5.20
  • pgbackrest_exporter 0.19.0 rebuild
  • victorialogs 1.17.0
  • vslogcli 1.17.0

2025-03-17

  • kafka 4.0.0
  • Prometheus 3.2.1
  • AlertManager 0.28.1
  • blackbox_exporter 0.26.0
  • node_exporter 1.9.0
  • mysqld_exporter 0.17.2
  • kafka_exporter 1.9.0
  • redis_exporter 1.69.0
  • DuckDB 1.2.1
  • etcd 3.5.19
  • FerretDB 2.0.0
  • tigerbeetle 0.16.31
  • vector 0.45.0
  • VictoriaMetrics 1.114.0
  • VictoriaLogs 1.16.0
  • rclone 1.69.1
  • pev2 1.14.0
  • grafana-victorialogs-ds 0.16.0
  • grafana-victoriametrics-ds 0.14.0
  • grafana-infinity-ds 3.0.0
  • +timescaledb-event-streamer 0.12.0
  • +restic 0.17.3
  • +juicefs 1.2.3

2025-02-12

  • pushgateway 1.10.0 -> 1.11.0
  • alertmanager 0.27.0 -> 0.28.0
  • nginx_exporter 1.4.0 -> 1.4.1
  • pgbackrest_exporter 0.18.0 -> 0.19.0
  • redis_exporter 1.66.0 -> 1.67.0
  • mongodb_exporter 0.43.0 -> 0.43.1
  • VictoriaMetrics 1.107.0 -> 1.111.0
  • VictoriaLogs v1.3.2 -> 1.9.1
  • DuckDB 1.1.3 -> 1.2.0
  • Etcd 3.5.17 -> 3.5.18
  • pg_timetable 5.10.0 -> 5.11.0
  • FerretDB 1.24.0 -> 2.0.0
  • tigerbeetle 0.16.13 -> 0.16.27
  • grafana 11.4.0 -> 11.5.1
  • vector 0.43.1 -> 0.44.0
  • minio 20241218131544 -> 20250207232109
  • mcli 20241121172154 -> 20250208191421
  • rclone 1.68.2 -> 1.69.0

2025-01-10

  • Prometheus 3.1.0

2024-11-19

  • Prometheus: 2.54.0 -> 3.0.0
  • VictoriaMetrics 1.102.1 -> 1.106.1
  • VictoriaLogs v0.28.0 -> 1.0.0
  • MySQL Exporter 0.15.1 -> 0.16.0
  • Redis Exporter 1.62.0 -> 1.66.0
  • MongoDB Exporter 0.41.2 -> 0.42.0
  • Keepalived Exporter 1.3.3 -> 1.4.0
  • DuckDB 1.1.2 -> 1.1.3
  • etcd 3.5.16 -> 3.5.17
  • tigerbeetle 16.8 -> 0.16.13
  • grafana 11.3.0
  • vector 0.42.0

许可证

Pigsty 仓库使用 Apache 2.0 许可证。

维护者: 冯若航 / @Vonng (rh@vonng.com)




3.5 - 变更日志

Pigsty Infra 仓库变更日志

2025-04-05

  • pig 0.3.4
  • etcd 3.5.21
  • restic 0.18.0
  • ferretdb 2.1.0
  • tigerbeetle 0.16.34
  • pg_exporter 0.8.1
  • node_exporter 1.9.1
  • grafana 11.6.0
  • zfs_exporter 3.8.1
  • mongodb_exporter 0.44.0
  • victoriametrics 1.114.0
  • minio 20250403145628
  • mcli 20250403170756

2025-03-23

  • etcd 3.5.20
  • pgbackrest_exporter 0.19.0 rebuild
  • victorialogs 1.17.0
  • vslogcli 1.17.0

2025-03-17

  • kafka 4.0.0
  • Prometheus 3.2.1
  • AlertManager 0.28.1
  • blackbox_exporter 0.26.0
  • node_exporter 1.9.0
  • mysqld_exporter 0.17.2
  • kafka_exporter 1.9.0
  • redis_exporter 1.69.0
  • DuckDB 1.2.1
  • etcd 3.5.19
  • FerretDB 2.0.0
  • tigerbeetle 0.16.31
  • vector 0.45.0
  • VictoriaMetrics 1.113.0
  • VictoriaLogs 1.16.0
  • rclone 1.69.1
  • pev2 1.14.0
  • grafana-victorialogs-ds 0.16.0
  • grafana-victoriametrics-ds 0.14.0
  • grafana-infinity-ds 3.0.0
  • +timescaledb-event-streamer 0.12.0
  • +restic 0.17.3
  • +juicefs 1.2.3

2025-02-12

  • pushgateway 1.10.0 -> 1.11.0
  • alertmanager 0.27.0 -> 0.28.0
  • nginx_exporter 1.4.0 -> 1.4.1
  • pgbackrest_exporter 0.18.0 -> 0.19.0
  • redis_exporter 1.66.0 -> 1.67.0
  • mongodb_exporter 0.43.0 -> 0.43.1
  • VictoriaMetrics 1.107.0 -> 1.111.0
  • VictoriaLogs v1.3.2 -> 1.9.1
  • DuckDB 1.1.3 -> 1.2.0
  • Etcd 3.5.17 -> 3.5.18
  • pg_timetable 5.10.0 -> 5.11.0
  • FerretDB 1.24.0 -> 2.0.0
  • tigerbeetle 0.16.13 -> 0.16.27
  • grafana 11.4.0 -> 11.5.1
  • vector 0.43.1 -> 0.44.0
  • minio 20241218131544 -> 20250207232109
  • mcli 20241121172154 -> 20250208191421
  • rclone 1.68.2 -> 1.69.0

2025-01-10

  • Prometheus 3.1.0

2024-11-19

  • Prometheus: 2.54.0 -> 3.0.0
  • VictoriaMetrics 1.102.1 -> 1.106.1
  • VictoriaLogs v0.28.0 -> 1.0.0
  • MySQL Exporter 0.15.1 -> 0.16.0
  • Redis Exporter 1.62.0 -> 1.66.0
  • MongoDB Exporter 0.41.2 -> 0.42.0
  • Keepalived Exporter 1.3.3 -> 1.4.0
  • DuckDB 1.1.2 -> 1.1.3
  • etcd 3.5.16 -> 3.5.17
  • tigerbeetle 16.8 -> 0.16.13
  • grafana 11.3.0
  • vector 0.42.0

3.6 - 签名密钥

在 YUM/APT 仓库中签名 RPM/DEB 软件包使用的 GPG 密钥

Pigsty 补充仓库中的所有 RPM/DEB 包都使用指纹为 (B9BD8B20) 的 GPG 密钥进行签名。

完整摘要为:9592A7BC7A682E7333376E09E7935D8DB9BD8B20 Ruohang Feng (Pigsty) rh@vonng.com

pub   rsa4096 2024-07-16 [SC]
      9592A7BC7A682E7333376E09E7935D8DB9BD8B20
uid           [ultimate] Ruohang Feng (Pigsty) <rh@vonng.com>
sub   rsa4096 2024-07-16 [E]

导入公钥

在 RHEL/Rocky 兼容 Linux 发行版中,您可以使用以下命令导入此密钥:

curl -fsSL https://repo.pigsty.cc/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null
curl -fsSL https://repo.pigsty.io/key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-pigsty >/dev/null

在 Debian/Ubuntu 兼容 Linux 发行版中,您可以使用以下命令导入此密钥:

curl -fsSL https://repo.pigsty.cc/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg
curl -fsSL https://repo.pigsty.io/key | sudo gpg --dearmor -o /etc/apt/keyrings/pigsty.gpg

密钥内容

您可以在此处下载此公钥:

此密钥对应的公钥内容为:

-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGaV5PwBEACbErI+7yOrsXTT3mR83O6Fw9WyHJqozhyNPF3dA1gAtWpfWqd4
S9x6vBjVwUbIRn21jYgov0hDiaLABNQhRzifvVr0r1IjBW8lhA8zJGaO42Uz0aBW
YIkajOklsXgYMX+gSmy5WXzM31sDQVMnzptHh9dwW067hMM5pJKDslu2pLMwSb9K
QgIFcYsaR0taBkcDg4dNu1gncriD/GcdXIS0/V4R82DIYeIqj2S0lt0jDTACbUz3
C6esrTw2XerCeHKHb9c/V+KMhqvLJOOpy/aJWLrTGBoaH7xw6v0qg32OYiBxlUj9
VEzoQbDfbRkR+jlxiuYP3scUs/ziKrSh+0mshVbeuLRSNfuHLa7C4xTEnATcgD1J
MZeMaJXIcDt+DN+1aHVQjY5YNvr5wA3ykxW51uReZf7/odgqVW3+1rhW5pd8NQKQ
qoVUHOtIrC9KaiGfrczEtJTNUxcNZV9eBgcKHYDXB2hmR2pIf7WvydgXTs/qIsXg
SIzfKjisi795Dd5GrvdLYXVnu9YzylWlkJ5rjod1wnSxkI/CcCJaoPLnXZA9KV7A
cpMWWaUEXP/XBIwIU+vxDd1taBIaPIOv1KIdzvG7QqAQtf5Lphi5HfaGvBud/CVt
mvWhRPJMr1J0ER2xAgU2iZR7dN0vSF6zDqc0W09RAoC0nDS3tupDX2BrOwARAQAB
tCRSdW9oYW5nIEZlbmcgKFBpZ3N0eSkgPHJoQHZvbm5nLmNvbT6JAlEEEwEIADsW
IQSVkqe8emguczM3bgnnk12Nub2LIAUCZpXk/AIbAwULCQgHAgIiAgYVCgkICwIE
FgIDAQIeBwIXgAAKCRDnk12Nub2LIOMuEACBLVc09O4icFwc45R3KMvOMu14Egpn
UkpmBKhErjup0TIunzI0zZH6HG8LGuf6XEdH4ItCJeLg5349UE00BUHNmxk2coo2
u4Wtu28LPqmxb6sqpuRAaefedU6vqfs7YN6WWp52pVF1KdOHkIOcgAQ9z3ZHdosM
I/Y/UxO2t4pjdCAfJHOmGPrbgLcHSMpoLLxjuf3YIwS5NSfjNDd0Y8sKFUcMGLCF
5P0lv5feLLdZvh2Una34UmHKhZlXC5E3vlY9bf/LgsRzXRFQosD0RsCXbz3Tk+zF
+j/eP3WhUvJshqIDuY6eJYCzMjiA8sM5gety+htVJuD0mewp+qAhjxE0d4bIr4qO
BKQzBt9tT2ackCPdgW42VPS+IZymm1oMET0hgZfKiVpwsKO6qxeWn4RW2jJ0zkUJ
MsrrxOPFdZQAtuFcLwa5PUAHHs6XQT2vzxDpeE9lInQ14lshofU5ZKIeb9sbvb/w
P+xnDqvZ1pcotEIBvDK0S0jHbHHqtioIUdDFvdCBlBlYP1TQRNPlJ7TJDBBvhj8i
fmjQsYSV1u36aHOJVGYNHv+SyJpVd3nHCZn97ADM9qHnDm7xljyHXPzIx4FMmBGJ
UTiLH5yxa1xhWr42Iv3TykaQJVbpydmBuegFR8WbWitAvVqI3HvRG+FalLsjJruc
8YDAf7gHdj/937kCDQRmleT8ARAAmJxscC76NZzqFBiaeq2+aJxOt1HGPqKb4pbz
jLKRX9sFkeXuzhfZaNDljnr2yrnQ75rit9Aah/loEhbSHanNUDCNmvOeSEISr9yA
yfOnqlcVOtcwWQK57n6MvlCSM8Js3jdoSmCFHVtdFFwxejE5ok0dk1VFYDIg6DRk
ZBMuxGO7ZJW7TzCxhK4AL+NNYA2wX6b+IVMn6CA9kwNwCNrrnGHR1sblSxZp7lPo
+GsqzYY0LXGR2eEicgKd4lk38gaO8Q4d1mlpX95vgdhGKxR+CM26y9QU0qrO1hXP
Fw6lX9HfIUkVNrqAa1mzgneYXivnLvcj8gc7bFAdweX4MyBHsmiPm32WqjUJFAmw
kcKYaiyfDJ+1wusa/b+7RCnshWc8B9udYbXfvcpOGgphpUuvomKT8at3ToJfEWmR
BzToYYTsgAAX8diY/X53BHCE/+MhLccglEUYNZyBRkTwDLrS9QgNkhrADaTwxsv1
8PwnVKve/ZxwOU0QGf4ZOhA2YQOE5hkRDR5uY2OHsOS5vHsd9Y6kNNnO8EBy99d1
QiBJOW3AP0nr4Cj1/NhdigAujsYRKiCAuPT7dgqART58VU4bZ3PgonMlziLe7+ht
YYxV+wyP6LVqicDd0MLLvG7r/JOiWuABOUxsFFaRecehoPJjeAEQxnWJjedokXKL
HVOFaEkAEQEAAYkCNgQYAQgAIBYhBJWSp7x6aC5zMzduCeeTXY25vYsgBQJmleT8
AhsMAAoJEOeTXY25vYsgG8sP/3UdsWuiwTsf/x4BTW82K+Uk9YwZDnUNH+4dUMED
bKT1C6CbuSZ7Mnbi2rVsmGzOMs9MehIx6Ko8/iCR2OCeWi8Q+wM+iffAfWuT1GK6
7f/VIfoYBUWEa+kvDcPgEbd5Tu7ZdUO/jROVBSlXRSjzK9LpIj7GozBTJ8Vqy5x7
oqbWPPEYtGDVHime8o6f5/wfhNgL3mFnoq6srK7KhwACwfTXlNqAlGiXGa30Yj+b
Cj6IvmxoII49E67/ovMEmzDCb3RXiaL6OATy25P+HQJvWvAam7Qq5Xn+bZg65Mup
vXq3zoX0a7EKXc5vsJVNtTlXO1ATdYszKP5uNzkHrNAN52VRYaowq1vPy/MVMbSI
rL/hTFKr7ZNhmC7jmS3OuJyCYQsfEerubtBUuc/W6JDc2oTI3xOG1S2Zj8f4PxLl
H7vMG4E+p6eOrUGw6VQXjFsH9GtwhkPh/ZGMKENb2+JztJ02674Cok4s5c/lZFKz
mmRUcNjX2bm2K0GfGG5/hAog/CHCeUZvwIh4hZLkdeJ1QsIYpN8xbvY7QP6yh4VB
XrL18+2sontZ45MsGResrRibB35x7IrCrxZsVtRJZthHqshiORPatgy+AiWcAtEv
UWEnnC1xBSasNebw4fSE8AJg9JMCRw+3GAetlotOeW9q7PN6yrXD9rGuV/QquQNd
/c7w
=4rRi
-----END PGP PUBLIC KEY BLOCK-----



4 - 安装使用

如何在 Pigsty 中安装,启用,更新,卸载 PostgreSQL 扩展插件。

4.1 - 快速上手

如何在 Pigsty 中,通过开箱即用的方式安装并启用 PostgreSQL 扩展插件?

Pigsty 让您可以直接在 PGSQL 集群中,通过声明式的方式下载,安装,加载,启用 PostgreSQL 扩展。


开箱即用

Pigsty 为用户封装了扩展管理的复杂度,用户无需了解细节,只要在配置文件中按需进行声明即可:

例如,下面的配置文件片段声明了一个 PostgreSQL 集群,下载安装 了三个额外的扩展插件,动态 加载 了三个扩展,并 启用 了三个扩展。

all:
  children:
    pg-meta:
      hosts: {10.10.10.10: { pg_seq: 1, pg_role: primary }}
      vars:           
        pg_cluster: pg-meta
        pg_databases: {name: meta, extensions: [ postgis, timescaledb, vector ]} # 动态启用三个扩展(这里使用扩展名,而非扩展包名)
        pg_libs: 'timescaledb, pg_stat_statements, auto_explain'                 # 动态加载三个扩展(后两个为 PG 自带扩展,无需专门下载安装)
        pg_extensions: [ pgsql-main, postgis pgvector timescaledb ]              # 额外安装三个扩展(默认大版本 PG 17,pgsql-main 为内核)
        repo_extra_packages: [ postgis, timescaledb, vector ]                    # 额外下载三个扩展(全局参数)

执行 ./install.yml 剧本,本地仓库中将下载这三个额外扩展,创建的 PostgreSQL 集群 pg-meta 中将自动安装,加载,启用上述扩展。


关键问题

想要在 PostgreSQL 集群中使用扩展(Extension),通常涉及到 下载安装加载启用 四个核心问题:

  • 怎样下载扩展repo_extra_packages

    在 Pigsty 默认在线安装时,只会下载当前 PG 大版本对应的三个默认扩展(pg_repack, wal2json, pgvector)。

    如果您想要下载更多扩展,将其加入 repo_extra_packages 中即可。您可以加入扩展包名,或者直接指定扩展类目进行批量下载。

  • 安装哪些扩展pg_extensions

    在 Pigsty 配置模板中的样例集群中,已经提供了完整可用的扩展清单,您只需要将想要 安装 的扩展,添加到 pg_extensions 中即可。

    如果您想要在集群创建完毕后,安装额外的扩展,那么在配置完毕后,执行 ./pgsql.yml -t pg_extension 子任务即可。

  • 加载哪些扩展pg_libs

    一小部分使用了 PostgreSQL 钩子函数的扩展,需要动态加载并 重启 数据库后才可以启用,您需要将这些扩展添加到 pg_libs 中,并在重启数据库后生效。

    如果您的数据库集群已经创建完毕,那么需要 配置现有集群shared_preload_libraries 参数,并重启数据库集群后生效。

  • 启用哪些扩展pg_databases.extensions

    绝大多数扩展在安装之后,都需要执行 CREATE EXTENSION DDL 语句,才会真实在具体的数据库中被创建并启用。

    您可以手工执行此 DDL,或者在 pg_datbasese.extensions 中显式指定要在数据库中启用的扩展列表,这些扩展会在集群初始化时自动启用。


扩展包名

您可能注意到,在加载,启用扩展时,使用的是“扩展名”(ext),而在下载,安装扩展时,使用的是“扩展包名”(pkg)。 例如,向量数据库扩展 PGVECTOR 的扩展名是 vector,而扩展包名是 pgvector

flowchart LR
    ext[( EXTNAME )] -- "n:1" --> pkg[( PKGNAME )]
    pkg[( PKGNAME )] -- "1:n" --> packages[( RPM/DEB )]

这里的扩展包名是由 Pigsty 添加的额外抽象层,解决了不同操作系统发行版的扩展包名差异问题,在绝大部分情况下,扩展名(ext)与扩展包名(pkg)是相同的。 但是一个扩展包可能包含多个扩展,例如 postgis 扩展包中就包含了 postgis其他六个扩展。 多个扩展(ext)可能对应同一个扩展包(pkg),此外,有些扩展名与操作系统发行版自带的软件包名有冲突,因此您需要使用扩展包名(pkg)来下载,安装扩展。

在 Pigsty 中,您可以在 repo_extra_packages, pg_packages, pg_extensions 等下载安装相关参数中使用扩展包名(pkg),例如要安装 postgis 扩展,您可以使用:

  • Pigsty 提供的 标准扩展包名 ,Pigsty 会自动根据活跃 PG 大版本与操作系统 翻译 为对应的 RPM/DEB 包名。
  • 带有 $v 占位符的包名,Pigsty 会自动使用 pg_version 的值替换占位符。
  • 原始的操作系统 RPM/DEB 包名,您可以在包名中使用 * 通配符,或依次指定每个包名。
postgis                   # 指定扩展包别名,自动翻译为 DEB/RPM 包名,与当前活跃 PG 大版本
postgis35_$v*             # 指定 RPM 包名模式,同时使用 PG 大版本号占位符 $v 
postgis35_15*             # 直接指定 RPM 包名名称
postgresql-$v-postgis-3*  # 指定 DEB 包名模式,同时使用 PG 大版本号占位符 $v 
postgresql-14-postgis-3*  # 直接指定 DEB 包名称

Pigsty 中所有可用扩展的扩展包名与扩展名之间的映射关系,可以查询 扩展列表 页面。 此外,一个扩展包在不同的操作系统和 PostgreSQL 大版本组合下,也会对应不同的具体 RPM/DEB 包名。

我们建议使用 Pigsty 提供的标准化扩展名(pkg)来下载安装扩展,在不同的操作系统发行版中, Pigsty 将标准扩展名翻译为对应 PG 大版本的 RPM / DEB 包名,并填充 PG 大版本号,这样您就无需关心不同 OS/PG 组合的扩展包名差异了。

尽管如此,不同操作系统与芯片架构上可用的扩展仍然会有略微差异,具体操作系统发行版可用的扩展列表,下面的配置文件为权威参考:

Pigsty 尽最大努力对齐 EL 操作系统与 Debian 操作系统生态的 PostgreSQL 扩展,但仍有少量扩展因为各种原因难以/尚未移植, 请参考 RPM扩展列表DEB扩展列表 了解更多信息。


复杂案例

下面是一个具体的例子:自建 Supabase 使用到的 app/supa 配置模板:

Supabase 是一个封装 PostgreSQL 作为底层存储的“上层抽象数据库”,它深度使用了 PostgreSQL 的扩展机制,以下片段定义了 Supabase 需要的扩展:

all:
  children:
    # pg-meta, the underlying postgres database for supabase
    pg-meta:
      hosts: { 10.10.10.10: { pg_seq: 1, pg_role: primary } }
      vars:
        pg_cluster: pg-meta
        pg_users:
          # supabase roles: anon, authenticated, dashboard_user
          - { name: anon           ,login: false }
          - { name: authenticated  ,login: false }
          - { name: dashboard_user ,login: false ,replication: true ,createdb: true ,createrole: true }
          - { name: service_role   ,login: false ,bypassrls: true }
          # supabase users: please use the same password
          - { name: supabase_admin             ,password: 'DBUser.Supa' ,pgbouncer: true ,inherit: true   ,roles: [ dbrole_admin ] ,superuser: true ,replication: true ,createdb: true ,createrole: true ,bypassrls: true }
          - { name: authenticator              ,password: 'DBUser.Supa' ,pgbouncer: true ,inherit: false  ,roles: [ dbrole_admin, authenticated ,anon ,service_role ] }
          - { name: supabase_auth_admin        ,password: 'DBUser.Supa' ,pgbouncer: true ,inherit: false  ,roles: [ dbrole_admin ] ,createrole: true }
          - { name: supabase_storage_admin     ,password: 'DBUser.Supa' ,pgbouncer: true ,inherit: false  ,roles: [ dbrole_admin, authenticated ,anon ,service_role ] ,createrole: true }
          - { name: supabase_functions_admin   ,password: 'DBUser.Supa' ,pgbouncer: true ,inherit: false  ,roles: [ dbrole_admin ] ,createrole: true }
          - { name: supabase_replication_admin ,password: 'DBUser.Supa' ,replication: true ,roles: [ dbrole_admin ]}
          - { name: supabase_read_only_user    ,password: 'DBUser.Supa' ,bypassrls: true ,roles: [ dbrole_readonly, pg_read_all_data ] }
        pg_databases:
          - name: postgres
            baseline: supabase.sql
            owner: supabase_admin
            comment: supabase postgres database
            schemas: [ extensions ,auth ,realtime ,storage ,graphql_public ,supabase_functions ,_analytics ,_realtime ]
            extensions:                                 # 这里定义了在 postgres 数据库中 创建启用 的扩展列表
              - { name: pgcrypto  ,schema: extensions } # 加密函数
              - { name: pg_net    ,schema: extensions } # 异步 HTTP
              - { name: pgjwt     ,schema: extensions } # PostgreSQL 的 JSON Web Token API
              - { name: uuid-ossp ,schema: extensions } # 生成通用唯一标识符 (UUID)
              - { name: pgsodium        }               # pgsodium 是 PostgreSQL 的现代加密库
              - { name: supabase_vault  }               # Supabase 保险库扩展
              - { name: pg_graphql      }               # pg_graphql: GraphQL 支持
              - { name: pg_jsonschema   }               # pg_jsonschema: 验证 JSON 模式
              - { name: wrappers        }               # wrappers: 外部数据包装器集合
              - { name: http            }               # http: 允许在数据库内检索网页
              - { name: pg_cron         }               # pg_cron: PostgreSQL 的任务调度器
              - { name: timescaledb     }               # timescaledb: 支持时间序列数据的可扩展插入和复杂查询
              - { name: pg_tle          }               # pg_tle: PostgreSQL 的可信语言扩展
              - { name: vector          }               # pgvector: 向量相似性搜索
              - { name: pgmq            }               # pgmq: 类似 AWS SQS 和 RSMQ 的轻量级消息队列
        # supabase required extensions
        pg_libs: 'timescaledb, plpgsql, plpgsql_check, pg_cron, pg_net, pg_stat_statements, auto_explain, pg_tle, plan_filter'
        pg_parameters:
          cron.database_name: postgres
          pgsodium.enable_event_trigger: off
        pg_hba_rules: # supabase hba rules, require access from docker network
          - { user: all ,db: postgres  ,addr: intra         ,auth: pwd ,title: 'allow supabase access from intranet'    }
          - { user: all ,db: postgres  ,addr: 172.17.0.0/16 ,auth: pwd ,title: 'allow access from local docker network' }
        node_crontab: [ '00 01 * * * postgres /pg/bin/pg-backup full' ] # make a full backup every 1am

  vars:  # 全局参数配置
    pg_version: 17
    repo_modules: node,pgsql,infra,docker
    repo_packages: [node-bootstrap, infra-package, infra-addons, node-package1, node-package2, pgsql-utility, docker ]
    repo_extra_packages: [pg17-core ,pg17-time ,pg17-gis ,pg17-rag ,pg17-fts ,pg17-olap ,pg17-feat ,pg17-lang ,pg17-type ,pg17-util ,pg17-func ,pg17-admin ,pg17-stat ,pg17-sec ,pg17-fdw ,pg17-sim ,pg17-etl ]
    pg_extensions:                  [pg17-time ,pg17-gis ,pg17-rag ,pg17-fts ,pg17-feat ,pg17-lang ,pg17-type ,pg17-util ,pg17-func ,pg17-admin ,pg17-stat ,pg17-sec ,pg17-fdw ,pg17-sim ,pg17-etl ] #,pg17-olap]

在这里,我们声明了一个名为 pg-meta 的 PostgreSQL 集群,它使用默认的 postgres 数据库作为定制对象。

  • repo_extra_packages 按照 16 大分类分类批量下载所有可用扩展,而不是一个一个指定下载
  • pg_extensions 中指定需要安装的扩展包,这里按照了除了 pg17-olap 以外的所有扩展包
  • pg_libs 中对 Supabase 需要用到的扩展进行动态加载
  • pg_parameters 中指定扩展所需的配置参数,例如 pgsodiumpg_cron 扩展所必须的配置参数
  • pg_databases.extensions 中指定将扩展安装到哪个模式(schema)中

baseline: supabase.sql 中,还包含了其他对扩展进行自定义配置的 SQL Migration 逻辑。

最终,用户只需要执行 ./install.yml ,Supabase 所需的 PostgreSQL 集群就能被创建出来并开箱即用了!




4.2 - 下载扩展

如何下载新的扩展插件,并将其添加至 Pigsty 中?

在 Pigsty 的默认剧本中,扩展插件的下载与 安装 是分离的两个步骤。 Pigsty 会首先在 INFRA 模块安装的过程中,统一下载所有需要的软件至本地,并创建一个本地 YUM/APT 仓库供整套部署(包括本节点)使用。 这样做可以加速安装,避免重复下载,避免数据库节点访问互联网,减少网络流量消耗,提高交付可靠性性,并解决重复安装版本不一致的风险。是严肃生产环境中推荐的做法。

不过,如果您的数据库节点可以直接访问互联网,那么确实还有另一种可行的方式:直接从互联网在线安装下载扩展插件。


快速上手

repo_packages 参数与 repo_extra_packages 参数中定义的软件包会在 Pigsty 安装过程中自动下载到本地软件仓库。

通常在指定下载与 PostgreSQL 大版本相关的软件包(例如内核与扩展)时,需要修改 repo_extra_packages 参数,而 repo_packages 留空以使用不同系统的默认值。

此参数的默认值为 [pgsql-main],其中 pgsql-main 是一个由 Pigsty 定义的便捷别名,代表当前活跃 PG 大版本的内核与关键扩展包。

repo_extra_packages: [ pgsql-main ]  # 下载当前活跃 PG 大版本(17)的内核与关键扩展包(pgvector, pg_repack, wal2json)

如果您你想要添加特定的扩展插件,将 Pigsty 标准扩展包名 添加到此参数中即可。您无需指定 PG 大版本号,Pigsty 会自动下载当前活跃 PG 大版本相关的扩展包。

repo_extra_packages: [ pgsql-main, documentdb, citus, postgis, pgvector, pg_cron, rum ]

如果你想要下载当前 PG 版本 “所有可用”的扩展插件,可以类似 rich 配置模板所做的那样,将 16 个扩展分类的别名全部添加到此参数中即可:

repo_extra_packages: [ pgsql-main ,pgsql-time ,pgsql-gis ,pgsql-rag ,pgsql-fts ,pgsql-olap ,pgsql-feat ,pgsql-lang ,pgsql-type ,pgsql-util ,pgsql-func ,pgsql-admin ,pgsql-stat ,pgsql-sec ,pgsql-fdw ,pgsql-sim ,pgsql-etl]

如果你想要下载“所有可用”的扩展插件,还可以使用具体的 PG大版本相关别名 来指定:

repo_extra_packages: [
    pg17-core,pg17-time,pg17-gis,pg17-rag,pg17-fts,pg17-olap,pg17-feat,pg17-lang,pg17-type,pg17-util,pg17-func,pg17-admin,pg17-stat,pg17-sec,pg17-fdw,pg17-sim,pg17-etl,
    pg16-core,pg16-time,pg16-gis,pg16-rag,pg16-fts,pg16-olap,pg16-feat,pg16-lang,pg16-type,pg16-util,pg16-func,pg16-admin,pg16-stat,pg16-sec,pg16-fdw,pg16-sim,pg16-etl,
    pg15-core,pg15-time,pg15-gis,pg15-rag,pg15-fts,pg15-olap,pg15-feat,pg15-lang,pg15-type,pg15-util,pg15-func,pg15-admin,pg15-stat,pg15-sec,pg15-fdw,pg15-sim,pg15-etl,
    pg14-core,pg14-time,pg14-gis,pg14-rag,pg14-fts,pg14-olap,pg14-feat,pg14-lang,pg14-type,pg14-util,pg14-func,pg14-admin,pg14-stat,pg14-sec,pg14-fdw,pg14-sim,pg14-etl,
    pg13-core,pg13-time,pg13-gis,pg13-rag,pg13-fts,pg13-olap,pg13-feat,pg13-lang,pg13-type,pg13-util,pg13-func,pg13-admin,pg13-stat,pg13-sec,pg13-fdw,pg13-sim,pg13-etl,
]

如果你想要向本地仓库中添加新的扩展包,在修改上述参数后,重新运行 INFRA 模块的 repo_build 子任务即可:

./infra.yml -t repo_build   # 重新下载并重建本地仓库
./node.yml  -t node_repo    # 【可选】更新仓库元数据

别名翻译

PostgreSQL 有着繁荣的开源生态,安装 PostgreSQL 绝非安装几个内核 RPM/DEB 这么简单。

Pigsty 提供了一种优雅的抽象翻译层,将所需的 PostgreSQL 软件包分门别类,归结为一系列 “别名”(Alias),屏蔽了不同系统、架构、PG大版本之间的差异。

快速上手 中,我们已经使用了例如 pgsql-mainpgsql-core 等别名,这些别名会根据系统与架构自动翻译为具体的软件包名。 以 EL 系统为例,pgsql-main 被翻译为 postgresql$v* 内核包,以及 pgvector_$v*pg_repack_$v*wal2json_$v* 三个扩展插件。

pgsql-main:   "postgresql$v* pg_repack_$v* wal2json_$v* pgvector_$v*"

同时,带有 $v 版本号占位符的包名会进一步被默认的 pg_version=17 替换为 PostgreSQL 17 对应的内核包与三个扩展包。 带有 * 通配符的具体内核包又会进一步展开为postgresql17, postgresql17-server, postgresql17-libs, postgresql17-contrib, postgresql17-plperl, postgresql17-plpython3, postgresql17-pltcl, postgresql17-test, postgresql17-devel, postgresql17-llvmjit,而扩展中的 * 会展开为扩展本体 RPM + LLVMJIT,以及其他 RPM。 Pigsty 为用户封装处理好了这些细节。

完整的可用软件包与别名可以参考 roles/node_id/vars/<os.arch>.yml 里面包含了不同系统与架构的可用软件包/别名列表,以下是一些最常用的各个系统都提供的别名列表:

postgresql:   "postgresql$v*"
pgsql-main:   "postgresql$v* pg_repack_$v* wal2json_$v* pgvector_$v*"
pgsql-core:   "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl postgresql$v-test postgresql$v-devel postgresql$v-llvmjit"
pgsql-simple: "postgresql$v postgresql$v-server postgresql$v-libs postgresql$v-contrib postgresql$v-plperl postgresql$v-plpython3 postgresql$v-pltcl"
pgsql-client: "postgresql$v"
pgsql-server: "postgresql$v-server postgresql$v-libs postgresql$v-contrib"
pgsql-devel:  "postgresql$v-devel"
pgsql-basic:  "pg_repack_$v* wal2json_$v* pgvector_$v*"

pgsql-time:   "timescaledb-tsl_$v* timescaledb-toolkit_$v pg_timeseries_$v periods_$v* temporal_tables_$v* e-maj_$v table_version_$v pg_cron_$v* pg_task_$v* pg_later_$v pg_background_$v*"
pgsql-gis:    "postgis35_$v* pgrouting_$v* pointcloud_$v* h3-pg_$v* q3c_$v* ogr_fdw_$v* geoip_$v pg_polyline_$v pg_geohash_$v*"
pgsql-rag:    "pgvector_$v* vchord_$v pgvectorscale_$v pg_vectorize_$v pg_similarity_$v* smlar_$v* pg_summarize_$v pg_tiktoken_$v pg4ml_$v"
pgsql-fts:    "pg_search_$v pgroonga_$v* pg_bigm_$v* zhparser_$v* pg_bestmatch_$v vchord_bm25_$v hunspell_cs_cz_$v hunspell_de_de_$v hunspell_en_us_$v hunspell_fr_$v hunspell_ne_np_$v hunspell_nl_nl_$v hunspell_nn_no_$v hunspell_ru_ru_$v hunspell_ru_ru_aot_$v"
pgsql-olap:   "citus_$v* pg_analytics_$v pg_duckdb_$v* pg_mooncake_$v* duckdb_fdw_$v* pg_parquet_$v pg_fkpart_$v pg_partman_$v* plproxy_$v*" #hydra_$v* #pg_strom_$v*
pgsql-feat:   "hll_$v* rum_$v pg_graphql_$v pg_jsonschema_$v jsquery_$v* pg_hint_plan_$v* hypopg_$v* index_advisor_$v pg_plan_filter_$v* imgsmlr_$v* pg_ivm_$v* pg_incremental_$v* pgmq_$v pgq_$v* pg_cardano_$v omnigres_$v" #apache-age_$v*
pgsql-lang:   "pg_tle_$v* plv8_$v* pllua_$v* pldebugger_$v* plpgsql_check_$v* plprofiler_$v* plsh_$v* pljava_$v*" #plprql_$v #plr_$v* #pgtap_$v* #postgresql_faker_$v* #dbt2-pgsql-extensions*
pgsql-type:   "prefix_$v* semver_$v* postgresql-unit_$v* pgpdf_$v* pglite_fusion_$v md5hash_$v* asn1oid_$v* pg_roaringbitmap_$v* pgfaceting_$v pgsphere_$v* pg_country_$v* pg_xenophile_$v pg_currency_$v* pgcollection_$v* pgmp_$v* numeral_$v* pg_rational_$v* pguint_$v* pg_uint128_$v* hashtypes_$v* ip4r_$v* pg_duration_$v* pg_uri_$v* pg_emailaddr_$v* acl_$v* timestamp9_$v* chkpass_$v*"
pgsql-util:   "pgsql_gzip_$v* pg_bzip_$v* pg_zstd_$v* pgsql_http_$v* pg_net_$v* pg_curl_$v* pgjq_$v* pgjwt_$v pg_smtp_client_$v pg_html5_email_address_$v url_encode_$v* pgsql_tweaks_$v pg_extra_time_$v pgpcre_$v icu_ext_$v* pgqr_$v* pg_protobuf_$v pg_envvar_$v* floatfile_$v* pg_readme_$v ddl_historization_$v data_historization_$v pg_schedoc_$v pg_hashlib_$v pg_xxhash_$v* postgres_shacrypt_$v* cryptint_$v* pg_ecdsa_$v* pgsparql_$v"
pgsql-func:   "pg_idkit_$v pg_uuidv7_$v* permuteseq_$v* pg_hashids_$v* sequential_uuids_$v topn_$v* quantile_$v* lower_quantile_$v* count_distinct_$v* omnisketch_$v* ddsketch_$v* vasco_$v* pgxicor_$v* tdigest_$v* first_last_agg_$v extra_window_functions_$v* floatvec_$v* aggs_for_vecs_$v* aggs_for_arrays_$v* pg_arraymath_$v* pg_math_$v* pg_random_$v* pg_base36_$v* pg_base62_$v* pg_base58_$v pg_financial_$v*"
pgsql-admin:  "pg_repack_$v* pg_squeeze_$v* pg_dirtyread_$v* pgfincore_$v* pg_cooldown_$v* ddlx_$v pg_prioritize_$v* pg_readonly_$v* pg_upless_$v pg_permissions_$v pg_catcheck_$v* preprepare_$v* pgcozy_$v pg_orphaned_$v* pg_crash_$v* pg_cheat_funcs_$v* pg_fio_$v pg_savior_$v* safeupdate_$v* pg_drop_events_$v table_log_$v" #pg_checksums_$v* #pg_auto_failover_$v* #pgagent_$v* #pgpool-II-pgsql-extensions
pgsql-stat:   "pg_profile_$v* pg_tracing_$v* pg_show_plans_$v* pg_stat_kcache_$v* pg_stat_monitor_$v* pg_qualstats_$v* pg_store_plans_$v* pg_track_settings_$v pg_wait_sampling_$v* system_stats_$v* pg_meta_$v pgnodemx_$v pg_sqlog_$v bgw_replstatus_$v* pgmeminfo_$v* toastinfo_$v* pg_explain_ui_$v pg_relusage_$v pagevis_$v powa_$v*"
pgsql-sec:    "passwordcheck_cracklib_$v* supautils_$v* pgsodium_$v* vault_$v* pg_session_jwt_$v pg_anon_$v pgsmcrypto_$v pgaudit_$v* pgauditlogtofile_$v* pg_auth_mon_$v* credcheck_$v* pgcryptokey_$v pg_jobmon_$v logerrors_$v* login_hook_$v* set_user_$v* pg_snakeoil_$v* pgextwlist_$v* pg_auditor_$v sslutils_$v* noset_$v*" #pg_tde_$v*
pgsql-fdw:    "wrappers_$v multicorn2_$v* odbc_fdw_$v* mysql_fdw_$v* tds_fdw_$v* sqlite_fdw_$v* pgbouncer_fdw_$v redis_fdw_$v* pg_redis_pubsub_$v* hdfs_fdw_$v* firebird_fdw_$v aws_s3_$v log_fdw_$v*" #jdbc_fdw_$v* #oracle_fdw_$v* #db2_fdw_$v* #mongo_fdw_$v* #kafka_fdw_$v
pgsql-sim:    "documentdb_$v* orafce_$v pgtt_$v* session_variable_$v* pg_statement_rollback_$v* pg_dbms_metadata_$v pg_dbms_lock_$v pgmemcache_$v*" #pg_dbms_job_$v #wiltondb
pgsql-etl:    "pglogical_$v* pglogical_ticker_$v* pgl_ddl_deploy_$v* pg_failover_slots_$v* db_migrator_$v wal2json_$v* postgres-decoderbufs_$v* decoder_raw_$v* mimeo_$v pg_fact_loader_$v* pg_bulkload_$v*" #wal2mongo_$v* #repmgr_$v*
postgresql:   "postgresql-$v postgresql-client-$v postgresql-plpython3-$v postgresql-plperl-$v postgresql-pltcl-$v postgresql-server-dev-$v"
pgsql-main:   "postgresql-$v postgresql-client-$v postgresql-plpython3-$v postgresql-plperl-$v postgresql-pltcl-$v postgresql-server-dev-$v postgresql-$v-repack postgresql-$v-wal2json postgresql-$v-pgvector"
pgsql-core:   "postgresql-$v postgresql-client-$v postgresql-plpython3-$v postgresql-plperl-$v postgresql-pltcl-$v postgresql-server-dev-$v"
pgsql-simple: "postgresql-$v postgresql-client-$v postgresql-plperl-$v postgresql-plpython3-$v postgresql-pltcl-$v"
pgsql-client: "postgresql-client-$v"
pgsql-server: "postgresql-$v"
pgsql-devel:  "postgresql-server-dev-$v"
pgsql-basic:  "postgresql-$v-repack postgresql-$v-wal2json postgresql-$v-pgvector"
pgsql-time:    "postgresql-$v-timescaledb-tsl postgresql-$v-timescaledb-toolkit postgresql-$v-pg-timeseries postgresql-$v-periods postgresql-$v-temporal-tables postgresql-$v-emaj postgresql-$v-table-version postgresql-$v-cron postgresql-$v-pg-task postgresql-$v-pg-later postgresql-$v-pg-background"

pgsql-gis:     "postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts postgresql-$v-pgrouting postgresql-$v-pgrouting-scripts postgresql-$v-pointcloud postgresql-$v-h3 postgresql-$v-q3c postgresql-$v-ogr-fdw postgresql-$v-geoip postgresql-$v-pg-polyline postgresql-$v-pg-geohash postgresql-$v-mobilitydb"
pgsql-rag:     "postgresql-$v-pgvector postgresql-$v-vchord postgresql-$v-pgvectorscale postgresql-$v-pg-vectorize postgresql-$v-similarity postgresql-$v-smlar postgresql-$v-pg-summarize postgresql-$v-pg-tiktoken postgresql-$v-pg4ml postgresql-$v-pgml"
pgsql-fts:     "postgresql-$v-pg-search postgresql-$v-pgroonga postgresql-$v-pg-bigm postgresql-$v-zhparser postgresql-$v-pg-bestmatch postgresql-$v-vchord-bm25 postgresql-$v-hunspell-cs-cz postgresql-$v-hunspell-de-de postgresql-$v-hunspell-en-us postgresql-$v-hunspell-fr postgresql-$v-hunspell-ne-np postgresql-$v-hunspell-nl-nl postgresql-$v-hunspell-nn-no postgresql-$v-hunspell-ru-ru postgresql-$v-hunspell-ru-ru-aot"
pgsql-olap:    "postgresql-$v-citus postgresql-$v-pg-analytics postgresql-$v-pg-duckdb postgresql-$v-pg-mooncake postgresql-$v-duckdb-fdw postgresql-$v-pg-parquet postgresql-$v-pg-fkpart postgresql-$v-partman postgresql-$v-plproxy" #postgresql-$v-hydra
pgsql-feat:    "postgresql-$v-age postgresql-$v-hll postgresql-$v-rum postgresql-$v-pg-graphql postgresql-$v-pg-jsonschema postgresql-$v-jsquery postgresql-$v-pg-hint-plan postgresql-$v-hypopg postgresql-$v-index-advisor postgresql-$v-pg-plan-filter postgresql-$v-imgsmlr postgresql-$v-pg-ivm postgresql-$v-pg-incremental postgresql-$v-pgmq postgresql-$v-pgq3 postgresql-$v-pg-cardano postgresql-$v-omnigres" #postgresql-$v-rdkit
pgsql-lang:    "postgresql-$v-pg-tle postgresql-$v-plv8 postgresql-$v-pllua postgresql-$v-pldebugger postgresql-$v-plpgsql-check postgresql-$v-plprofiler postgresql-$v-plsh postgresql-$v-pljava" #postgresql-$v-plprql #postgresql-$v-plr #postgresql-$v-pgtap
pgsql-type:    "postgresql-$v-prefix postgresql-$v-semver postgresql-$v-unit postgresql-$v-pgpdf postgresql-$v-pglite-fusion postgresql-$v-md5hash postgresql-$v-asn1oid postgresql-$v-roaringbitmap postgresql-$v-pgfaceting postgresql-$v-pgsphere postgresql-$v-pg-country postgresql-$v-pg-xenophile postgresql-$v-pg-currency postgresql-$v-collection postgresql-$v-pgmp postgresql-$v-numeral postgresql-$v-rational postgresql-$v-pguint postgresql-$v-pg-uint128 postgresql-$v-hashtypes postgresql-$v-ip4r postgresql-$v-pg-duration postgresql-$v-pg-uri postgresql-$v-pg-emailaddr postgresql-$v-acl postgresql-$v-debversion postgresql-$v-pg-rrule postgresql-$v-timestamp9 postgresql-$v-chkpass"
pgsql-util:    "postgresql-$v-gzip postgresql-$v-bzip postgresql-$v-zstd postgresql-$v-http postgresql-$v-pg-net postgresql-$v-pg-curl postgresql-$v-pgjq postgresql-$v-pgjwt postgresql-$v-pg-smtp-client postgresql-$v-pg-html5-email-address postgresql-$v-url-encode postgresql-$v-pgsql-tweaks postgresql-$v-pg-extra-time postgresql-$v-pgpcre postgresql-$v-icu-ext postgresql-$v-pgqr postgresql-$v-pg-protobuf postgresql-$v-pg-envvar postgresql-$v-floatfile postgresql-$v-pg-readme postgresql-$v-ddl-historization postgresql-$v-data-historization postgresql-$v-pg-schedoc postgresql-$v-pg-hashlib postgresql-$v-pg-xxhash postgresql-$v-shacrypt postgresql-$v-cryptint postgresql-$v-pg-ecdsa postgresql-$v-pgsparql"
pgsql-func:    "postgresql-$v-pg-idkit postgresql-$v-pg-uuidv7 postgresql-$v-permuteseq postgresql-$v-pg-hashids postgresql-$v-sequential-uuids postgresql-$v-topn postgresql-$v-quantile postgresql-$v-lower-quantile postgresql-$v-count-distinct postgresql-$v-omnisketch postgresql-$v-ddsketch postgresql-$v-vasco postgresql-$v-pgxicor postgresql-$v-tdigest postgresql-$v-first-last-agg postgresql-$v-extra-window-functions postgresql-$v-floatvec postgresql-$v-aggs-for-vecs postgresql-$v-aggs-for-arrays postgresql-$v-pg-arraymath postgresql-$v-pg-math postgresql-$v-random postgresql-$v-base36 postgresql-$v-base62 postgresql-$v-pg-base58 postgresql-$v-pg-financial"
pgsql-admin:   "postgresql-$v-repack postgresql-$v-squeeze postgresql-$v-dirtyread postgresql-$v-pgfincore postgresql-$v-pg-cooldown postgresql-$v-ddlx postgresql-$v-prioritize postgresql-$v-pg-checksums postgresql-$v-pg-readonly postgresql-$v-pg-upless postgresql-$v-pg-permissions postgresql-$v-auto-failover postgresql-$v-pg-catcheck postgresql-$v-preprepare postgresql-$v-pgcozy postgresql-$v-pg-orphaned postgresql-$v-pg-crash postgresql-$v-pg-cheat-funcs postgresql-$v-pg-fio postgresql-$v-pg-savior postgresql-$v-pg-safeupdate postgresql-$v-pg-drop-events postgresql-$v-tablelog" #pgagent #postgresql-$v-pgpool2
pgsql-stat:    "postgresql-$v-pg-profile postgresql-$v-pg-tracing postgresql-$v-show-plans postgresql-$v-pg-stat-kcache postgresql-$v-pg-stat-monitor postgresql-$v-pg-qualstats postgresql-$v-pg-store-plan postgresql-$v-pg-track-settings postgresql-$v-pg-wait-sampling postgresql-$v-system-stats postgresql-$v-pg-meta postgresql-$v-pgnodemx postgresql-$v-pg-sqlog postgresql-$v-bgw-replstatus postgresql-$v-pgmeminfo postgresql-$v-toastinfo postgresql-$v-pg-explain-ui postgresql-$v-pg-relusage postgresql-$v-pagevis postgresql-$v-powa"
pgsql-sec:     "postgresql-$v-passwordcheck-cracklib postgresql-$v-supautils postgresql-$v-pgsodium postgresql-$v-vault postgresql-$v-pg-session-jwt postgresql-$v-pg-anon postgresql-$v-pgsmcrypto postgresql-$v-pgaudit postgresql-$v-pgauditlogtofile postgresql-$v-pg-auth-mon postgresql-$v-credcheck postgresql-$v-pgcryptokey postgresql-$v-pg-jobmon postgresql-$v-logerrors postgresql-$v-login-hook postgresql-$v-set-user postgresql-$v-snakeoil postgresql-$v-pgextwlist postgresql-$v-pg-auditor postgresql-$v-sslutils postgresql-$v-noset" #postgresql-$v-pg-tde
pgsql-fdw:     "postgresql-$v-wrappers postgresql-$v-mysql-fdw postgresql-$v-tds-fdw postgresql-$v-redis-fdw postgresql-$v-pg-redis-pubsub postgresql-$v-firebird-fdw postgresql-$v-aws-s3 postgresql-$v-log-fdw" # #postgresql-$v-oracle-fdw #postgresql-$v-sqlite-fdw #postgresql-$v-kafka-fdw
pgsql-sim:     "postgresql-$v-documentdb postgresql-$v-orafce postgresql-$v-pgtt postgresql-$v-session-variable postgresql-$v-pg-statement-rollback postgresql-$v-pgmemcache" # #wiltondb
pgsql-etl:     "postgresql-$v-pglogical postgresql-$v-pglogical-ticker postgresql-$v-pgl-ddl-deploy postgresql-$v-pg-failover-slots postgresql-$v-db-migrator postgresql-$v-wal2json postgresql-$v-decoderbufs postgresql-$v-decoder-raw postgresql-$v-mimeo postgresql-$v-pg-fact-loader postgresql-$v-pg-bulkload" #postgresql-$v-wal2mongo #postgresql-$v-repmgr

在使用这些别名下载 PostgreSQL 软件包时,请注意,这些软件包别名与包名中的 $v 占位符变量,会在使用时被替换为实际的 PostgreSQL 大版本号(由 pg_version 参数指定,默认为 17)。

如果您想要安装其他 PostgreSQL 大版本,只需要修改 pg_version 即可。 当然您也可以直接使用指定大版本的别名与包名,例如这些带有 pgsql- 前缀的的别名可以直接替换为 pg17-pg16-pg15- 以显式下载其他大版本的软件包。

请注意,并非所有系统都支持所有扩展插件,一些不可用,的扩展插件默认会从扩展分类列表中移除,以注释项的形式出现在别名末尾。 但并非所有在注释中的扩展都不可用,一些扩展只是较为不合时宜而未被默认列入(依赖过于庞大,比如 pl/R,或者依赖商业软件,比如 oracle_fdw), 而另一些可能只是在当前 PG 17 大版本中不可用,而在更早的 13-16 中可用,您依然可以手工添加这些所需的扩展并下载安装。




4.3 - 安装扩展

如何从 Pigsty 本地软件源,或直接从上游互联网软件源安装 PostgreSQL 扩展插件?

Pigsty 使用操作系统标准的包管理器(yum/apt)来安装 PostgreSQL 扩展插件。


快速上手

在安装扩展时,Pigsty 使用与 下载 时相同的 别名映射 机制,你可以直接在这里指定扩展的名称,或者二进制包名。

all:
  children:
    pg-meta:
      hosts: { 10.10.10.10: { pg_seq: 1, pg_role: primary } }
      vars:
        pg_cluster: pg-meta
        pg_extensions: # extensions to be installed on this cluster
          - timescaledb timescaledb_toolkit pg_timeseries periods temporal_tables emaj table_version pg_cron pg_task pg_later pg_background
          - postgis pgrouting pointcloud pg_h3 q3c ogr_fdw geoip pg_polyline pg_geohash #mobilitydb
          - pgvector vchord pgvectorscale pg_vectorize pg_similarity smlar pg_summarize pg_tiktoken pg4ml #pgml
          - pg_search pgroonga pg_bigm zhparser pg_bestmatch vchord_bm25 hunspell
          - citus hydra pg_analytics pg_duckdb pg_mooncake duckdb_fdw pg_parquet pg_fkpart pg_partman plproxy #pg_strom
          - age hll rum pg_graphql pg_jsonschema jsquery pg_hint_plan hypopg index_advisor pg_plan_filter imgsmlr pg_ivm pg_incremental pgmq pgq pg_cardano omnigres #rdkit
          - pg_tle plv8 pllua plprql pldebugger plpgsql_check plprofiler plsh pljava #plr #pgtap #faker #dbt2
          - pg_prefix pg_semver pgunit pgpdf pglite_fusion md5hash asn1oid roaringbitmap pgfaceting pgsphere pg_country pg_xenophile pg_currency pg_collection pgmp numeral pg_rational pguint pg_uint128 hashtypes ip4r pg_uri pgemailaddr pg_acl timestamp9 chkpass #pg_duration #debversion #pg_rrule
          - pg_gzip pg_bzip pg_zstd pg_http pg_net pg_curl pgjq pgjwt pg_smtp_client pg_html5_email_address url_encode pgsql_tweaks pg_extra_time pgpcre icu_ext pgqr pg_protobuf envvar floatfile pg_readme ddl_historization data_historization pg_schedoc pg_hashlib pg_xxhash shacrypt cryptint pg_ecdsa pgsparql
          - pg_idkit pg_uuidv7 permuteseq pg_hashids sequential_uuids topn quantile lower_quantile count_distinct omnisketch ddsketch vasco pgxicor tdigest first_last_agg extra_window_functions floatvec aggs_for_vecs aggs_for_arrays pg_arraymath pg_math pg_random pg_base36 pg_base62 pg_base58 pg_financial
          - pg_repack pg_squeeze pg_dirtyread pgfincore pg_cooldown pg_ddlx pg_prioritize pg_checksums pg_readonly pg_upless pg_permissions pgautofailover pg_catcheck preprepare pgcozy pg_orphaned pg_crash pg_cheat_funcs pg_fio pg_savior safeupdate pg_drop_events table_log #pgagent #pgpool
          - pg_profile pg_tracing pg_show_plans pg_stat_kcache pg_stat_monitor pg_qualstats pg_store_plans pg_track_settings pg_wait_sampling system_stats pg_meta pgnodemx pg_sqlog bgw_replstatus pgmeminfo toastinfo pg_explain_ui pg_relusage pagevis powa
          - passwordcheck supautils pgsodium pg_vault pg_session_jwt pg_anon pg_tde pgsmcrypto pgaudit pgauditlogtofile pg_auth_mon credcheck pgcryptokey pg_jobmon logerrors login_hook set_user pg_snakeoil pgextwlist pg_auditor sslutils pg_noset
          - wrappers multicorn odbc_fdw jdbc_fdw mysql_fdw tds_fdw sqlite_fdw pgbouncer_fdw mongo_fdw redis_fdw pg_redis_pubsub kafka_fdw hdfs_fdw firebird_fdw aws_s3 log_fdw #oracle_fdw #db2_fdw
          - documentdb orafce pgtt session_variable pg_statement_rollback pg_dbms_metadata pg_dbms_lock pgmemcache #pg_dbms_job #wiltondb
          - pglogical pglogical_ticker pgl_ddl_deploy pg_failover_slots db_migrator wal2json wal2mongo decoderbufs decoder_raw mimeo pg_fact_loader pg_bulkload #repmgr

或者使用扩展分类别名,批量安装所有扩展。

all:
  vars:
    pg_version: 17   # default postgres version 17, so the pgsql-main is equivalent to pg17-main
    pg_extensions: [ pgsql-main ,pgsql-time ,pgsql-gis ,pgsql-rag ,pgsql-fts ,pgsql-feat ,pgsql-lang ,pgsql-type ,pgsql-util ,pgsql-func ,pgsql-admin ,pgsql-stat ,pgsql-sec ,pgsql-fdw ,pgsql-sim ,pgsql-etl] #,pgsql-olap]

你也可以显式指定 PG 大版本号,然后使用扩展分类别名,批量安装所有扩展。

all:
  vars:
    
    pg_extensions: [pg17-time ,pg17-gis ,pg17-rag ,pg17-fts ,pg17-feat ,pg17-lang ,pg17-type ,pg17-util ,pg17-func ,pg17-admin ,pg17-stat ,pg17-sec ,pg17-fdw ,pg17-sim ,pg17-etl ] #,pg17-olap]

同时安装所有扩展尽管是可行的(除了 olap 分类中的两对冲突特例),但并不推荐这么做,请尽可能只安装您需要的扩展。


配置扩展

在 PGSQL 集群初始化时,Pigsty 会自动安装 pg_packagespg_extensions 中指定的扩展插件。

两个参数都可以用于安装 PostgreSQL 相关软件包,通常 pg_packages 用于在全局指定整个环境中所有 PostgreSQL 集群都需要统一安装的软件包:例如 PostgreSQL 内核,高可用组建 Patroni,连接池 pgBouncer,监控 pgExporter 等。 Pigsty 默认也会在这里指定安装三个重要扩展:pgvector, pg_repackwal2json 用于膨胀治理和 CDC 变更抽取。

pg_extensions 则通常用于在特定集群中,指定本集群需要安装的扩展插件。默认为空列表,表示不安装任何额外的扩展插件。

pg_packages:                      # pg packages to be installed, alias can be used
  - postgresql`
  - wal2json pg_repack pgvector
  - patroni pgbouncer pgbackrest pg_exporter pgbadger vip-manager
pg_extensions: []                 # pg extensions to be installed, alias can be used

另一个重要区别是:pg_packages 安装的软件包只确保存在即可,而 pg_extensions 安装的软件包会默认 升级到最新可用版本

当使用本地软件源时,这并不是一个问题。当您直接使用互联网上游软件源时,请充分考虑这一点,并将不希望升级的扩展插件转移到 pg_packages 中。


安装扩展

定义于 pg_extensions 中的扩展插件会在新集群初始化的时候自动安装。

对于一个已经完成部署的现有 PostgreSQL 集群,如果你想安装新的扩展插件:

首先将所需的扩展添加至 pg_extensions 中,然后通过以下命令执行子任务完成安装:

./pgsql.yml -t pg_extension  # 安装 pg_extensions 中指定的扩展插件

请注意,pg_extension 任务中指定的扩展插件会默认升级到当前环境中最新可用版本。


扩展仓库

想要安装扩展插件,您需要确保目标节点上已经配置了合适的软件仓库。

  • 本地安装:您已经配置了 Pigsty 的本地软件源,并且扩展已经下载至至本地软件仓库。
  • 在线安装:您已经在待安装的节点上直接配置上游互联网软件源,并且可以访问互联网。

通常来说,对于严肃的生产环境,您应该使用 Pigsty 的本地软件源来统一管理并安装扩展: 首先下载到本地软件仓库中,再从本地软件仓库中安装扩展。这样可以确保扩展的版本全局一致,并避免让数据库节点直接访问互联网。 但某些时候(例如在开发环境中为了方便)您也可以直接使用互联网上游软件源来安装扩展。

要使用本地安装,您首先需要确保目标扩展已经被 下载 到本地软件仓库中。 如果要使用在线安装,请确保待安装的节点可以访问互联网,并且上游软件源可以正常访问。 然后使用以下命令来直接在目标集群上添加仓库并安装扩展:

./node.yml  -l <cls> -t node_repo -e node_repo_modules=local,node,pgsql    # 在目标节点上启用互联网软件仓库
./pgsql.yml -l <cls> -t pg_extension                                                        # 使用本地+互联网上游仓库安装扩展

扩展别名

在安装扩展时,用户可以使用 扩展包名 来指定扩展插件。 别名会根据 别名翻译机制 被翻译为当前活跃 PG 大版本与操作系统环境,翻译为对应的 RPM/DEB 包名。


注意事项

  • 查看 已知问题 了解已知问题
  • 存在两个已知的扩展冲突:
  • pgaudit 在 EL 系统上对于 PG 15 及以下版本有特殊的命名规则:pg16+ = pgaudit, pg15=pgaudit17, pg14=pgaudit16, pg13=pgaudit15, pg12=pgaudit14
  • postgis 在 EL 系统的包名中有自己的版本号:默认是 postgis35



4.4 - 加载扩展

使用了 HOOK 的扩展插件需要显式加载,并重启数据库服务器生效。

除了纯 SQL 编写的扩展外,绝大多数扩展都会提供一个 .so 文件,这是一个动态连接库文件。大部分扩展并不需要显式加载,只需要通过 CREATE EXTENSION 直接启用 即可。

但一小部分扩展使用了 PostgreSQL 的 Hook 机制,要启用 这些扩展 需要一个额外的加载步骤 —— 您需要修改 PostgreSQL 集群的 shared_preload_libraries 参数,然后重启数据库服务器使其生效。

如果您在未加载/重启生效的情况下直接执行 CREATE EXTENSION 会报错。


快速上手

例如,在 conf/app/supa 配置模板中,我们定义了 Supabase 需要的扩展列表,并显式指定了 pg_libs 参数,用于加载扩展:

all:
  children:
    pg-meta:
      hosts: { 10.10.10.10: { pg_seq: 1, pg_role: primary } }
      vars:
        pg_cluster: pg-meta
        pg_databases:
          - name: postgres
            pg_libs: 'timescaledb, plpgsql, plpgsql_check, pg_cron, pg_net, pg_stat_statements, auto_explain, pg_tle, plan_filter'
            schemas: [ extensions ,auth ,realtime ,storage ,graphql_public ,supabase_functions ,_analytics ,_realtime ]
            extensions:                                 # 这里定义了在 postgres 数据库中 创建启用 的扩展列表
              - { name: pgcrypto  ,schema: extensions } # 加密函数
              - { name: pg_net    ,schema: extensions } # 异步 HTTP
              - { name: pgjwt     ,schema: extensions } # PostgreSQL 的 JSON Web Token API
              - { name: uuid-ossp ,schema: extensions } # 生成通用唯一标识符 (UUID)
              - { name: pgsodium        }               # pgsodium 是 PostgreSQL 的现代加密库
              - { name: supabase_vault  }               # Supabase 保险库扩展
              - { name: pg_graphql      }               # pg_graphql: GraphQL 支持
              - { name: pg_jsonschema   }               # pg_jsonschema: 验证 JSON 模式
              - { name: wrappers        }               # wrappers: 外部数据包装器集合
              - { name: http            }               # http: 允许在数据库内检索网页
              - { name: pg_cron         }               # pg_cron: PostgreSQL 的任务调度器
              - { name: timescaledb     }               # timescaledb: 支持时间序列数据的可扩展插入和复杂查询
              - { name: pg_tle          }               # pg_tle: PostgreSQL 的可信语言扩展
              - { name: vector          }               # pgvector: 向量相似性搜索
              - { name: pgmq            }               # pgmq: 类似 AWS SQS 和 RSMQ 的轻量级消息队列

并非所有扩展都需要通过 pg_libs 进行动态加载,例如这里的 pgcrypto, pgjwt, vector 等扩展,需要动态加载的扩展,请参考 需要加载的扩展 列表。


默认加载的扩展

在 Pigsty 中,默认会加载以下两个 PostgreSQL 第一方自带的 Contrib 扩展

  • auto_explain 用于提供一种自动记录慢查询执行计划的手段,用于微观优化特定慢查询 SQL
  • pg_stat_statements 用于跟踪所有执行的 SQL 语句的计划和执行统计信息,用于宏观统计一类 SQL 的执行指标

这是两个用于 PostgreSQL 宏观/微观查询优化 的重要自带扩展插件,因此在 Pigsty 中,pg_libs 的默认值是 pg_stat_statements, auto_explain

我们强烈建议您在配置加载项时保留这两个扩展,只需要在修改 pg_libspg_parameters 或者直接修改 shared_preload_libraries 参数时将这两项保留即可。


修改集群配置

要修改 PostgreSQL 集群配置,有许多不同的方式,在 Pigsty 中,我们建议:

对于尚未创建的新集群,您可以在 pg_libs 参数中进行配置,指定 shared_preload_libraries 参数的初始值。

请注意,pg_libs 仅在 创建集群 时生效,在集群创建后,该参数被指定为真正的 PostgreSQL 参数 shared_preload_libraries 的初始值。 如果您需要修改默认加载的扩展,通常可以通过 Patroni 命令行 修改集群配置,直接修改 shared_preload_libraries 参数,应用后重启数据库集群生效。

对于已经初始化好的集群,您可以通过 Patroni 命令行 修改集群配置 来修改 shared_preload_libraries 参数,应用后重启数据库集群生效。 当然您也可以通过其他方式修改 shared_preload_libraries 参数,例如手工编辑 postgresql.conf 文件,或者 ALTER SYSTEM 命令等方式进行更改, 或者通过 pg_parameters 参数进行显式覆盖,只需要确保集群范围内此配置统一一致即可。


加载注意事项

shared_preload_libraries 中,如果有多个扩展插件需要加载,可以使用逗号分隔,例如:

shared_preload_libraries = 'timescaledb, pg_stat_statements, auto_explain'

请注意,citustimescaledb 这两个扩展显式提出要求,要在 shared_preload_libraries 中预先加载,也就是放在最前面。 由于生态定位的问题,同时使用两者的情况非常罕见,但在这种情况中,建议将 citus 放在 timescaledb 之前。

全文检索插件 pg_search 要求显式加载,但是在 PostgreSQL 17 版本中,可以不显式加载。

MongoDB 仿真插件 documentdb 实际的动态库名称与扩展名不一致 —— 你需要使用 pg_documentdbpg_documentdb_core 作为动态链接库的名称。


需要加载的扩展

扩展列表 中,带有 LOAD 标记的扩展,即为需要动态加载并重启的扩展,包括:

扩展名 扩展包名 分类 说明
timescaledb timescaledb TIME 时序数据库扩展插件
pg_cron pg_cron TIME 定时任务调度器
pg_task pg_task TIME 在特定时间点在后台执行SQL命令
vchord vchord RAG 使用Rust重写的高性能向量扩展
pgml pgml RAG PostgresML:用SQL运行机器学习算法并训练模型
pg_bestmatch pg_bestmatch FTS 在数据库内生成BM25稀疏向量
vchord_bm25 vchord_bm25 FTS BM25排序算法
citus citus OLAP Citus 分布式数据库
pg_duckdb pg_duckdb OLAP 在PostgreSQL中的嵌入式DuckDB扩展
pg_parquet pg_parquet OLAP 在PostgreSQL与本地/S3中的Parquet文件复制数据
plan_filter pg_plan_filter FEAT 使用执行计划代价过滤阻止特定查询语句
omni omnigres FEAT PostgreSQL即平台,Omnigres主扩展与加载器
pg_tle pg_tle LANG AWS 可信语言扩展
plpgsql_check plpgsql_check LANG 对 plpgsql 函数进行扩展检查
pgpdf pgpdf TYPE PDF数据类型,管理函数与全文检索
pglite_fusion pglite_fusion TYPE 在PG表中嵌入SQLite数据库作为数据类型
pg_net pg_net UTIL 用 SQL 进行异步非阻塞HTTP/HTTPS 请求的扩展 (supabase)
pg_squeeze pg_squeeze ADMIN 从关系中删除未使用空间
pgautofailover pgautofailover ADMIN PG 自动故障迁移
pg_crash pg_crash ADMIN 向数据库进程随机发送信号模拟故障
pg_prewarm pg_prewarm ADMIN 预热关系数据
pg_tracing pg_tracing STAT PostgreSQL分布式Tracing
pg_stat_kcache pg_stat_kcache STAT 内核统计信息收集
pg_stat_monitor pg_stat_monitor STAT 提供查询聚合统计、客户端信息、执行计划详细信息和直方图
pg_qualstats pg_qualstats STAT 收集有关 quals 的统计信息的扩展
pg_store_plans pg_store_plans STAT 跟踪所有执行的 SQL 语句的计划统计信息
pg_wait_sampling pg_wait_sampling STAT 基于采样的等待事件统计
bgw_replstatus bgw_replstatus STAT 用于汇报本机主从状态的后台工作进程
pg_relusage pg_relusage STAT 打印查询引用的表与列
auto_explain auto_explain STAT 提供一种自动记录执行计划的手段
pg_stat_statements pg_stat_statements STAT 跟踪所有执行的 SQL 语句的计划和执行统计信息
passwordcheck_cracklib passwordcheck SEC 使用cracklib加固PG用户密码
supautils supautils SEC 用于在云环境中确保数据库集群的安全
pgsodium pgsodium SEC 表数据加密存储 TDE
anon pg_anon SEC 数据匿名化处理工具
pg_tde pg_tde SEC 试点性质的加密存储引擎
pgaudit pgaudit SEC 提供审计功能
pg_snakeoil pg_snakeoil SEC PostgreSQL动态链接库反病毒功能
pgextwlist pgextwlist SEC PostgreSQL扩展白名单功能
noset pg_noset SEC 阻止非超级用户使用SET/RESET设置变量
sepgsql sepgsql SEC 基于SELinux标签的强制访问控制
auth_delay auth_delay SEC 在返回认证失败前暂停一会,避免爆破
passwordcheck passwordcheck SEC 用于强制拒绝修改弱密码的扩展
documentdb documentdb SIM 微软DocumentDB的API层
documentdb_core documentdb SIM 微软DocumentDB的核心API层实现
documentdb_distributed documentdb SIM DocumentDB多节点模式的API层
pg_statement_rollback pg_statement_rollback SIM 在服务端提供类似Oracle/DB2的语句级回滚能力
babelfishpg_tsql babelfishpg_tsql SIM SQL Server SQL语法兼容性扩展
pglogical_ticker pglogical_ticker ETL pglogical复制延迟以秒计的精确视图
pg_failover_slots pg_failover_slots ETL 在Failover过程中保留复制槽



4.5 - 启用扩展

如何通过 CREATE EXTENSION 在 PostgreSQL 数据库中真正启用扩展?

快速上手

PostgreSQL 扩展 安装完毕 后,用户可以通过 CREATE EXTENSION 命令启用扩展:

CREATE EXTENSION vector;      -- 安装向量数据库扩展(无需加载)
CREATE EXTENSION timescaledb; -- 安装时序数据库扩展(需要加载)

有的扩展插件有依赖的扩展,在这种情况下,您可以首先安装依赖的扩展,或者选择执行 CREATE EXTENSION CASCADE 命令,一次性安装所有依赖的扩展。

CREATE EXTENSION documentdb CASCADE; -- 安装 documentdb 扩展,并安装它所有依赖的扩展

您还可以在 CREATE EXTENSION 命令中指定安装扩展的模式与具体版本。


配置扩展

扩展(数据库逻辑对象)在逻辑上属于 PostgreSQL 数据库 的组成部分,因此在 Pigsty 中,您可以在 pg_databases 中指定要在数据库中启用/创建的扩展。

pg_databases:
  - name: postgres
    baseline: supabase.sql
    schemas: [ extensions ,auth ,realtime ,storage ,graphql_public ,supabase_functions ,_analytics ,_realtime ]
    extensions:                                 # 这里定义了在 postgres 数据库中 创建启用 的扩展列表
      - { name: pgcrypto  ,schema: extensions } # 加密函数
      - { name: pg_net    ,schema: extensions } # 异步 HTTP
      - { name: pgjwt     ,schema: extensions } # PostgreSQL 的 JSON Web Token API
      - { name: uuid-ossp ,schema: extensions } # 生成通用唯一标识符 (UUID)
      - { name: pgsodium        }               # pgsodium 是 PostgreSQL 的现代加密库
      - { name: supabase_vault  }               # Supabase 保险库扩展
      - { name: pg_graphql      }               # pg_graphql: GraphQL 支持
      - { name: pg_jsonschema   }               # pg_jsonschema: 验证 JSON 模式
      - { name: wrappers        }               # wrappers: 外部数据包装器集合
      - { name: http            }               # http: 允许在数据库内检索网页
      - { name: pg_cron         }               # pg_cron: PostgreSQL 的任务调度器
      - { name: timescaledb     }               # timescaledb: 支持时间序列数据的可扩展插入和复杂查询
      - { name: pg_tle          }               # pg_tle: PostgreSQL 的可信语言扩展
      - { name: vector          }               # pgvector: 向量相似性搜索
      - { name: pgmq            }               # pgmq: 类似 AWS SQS 和 RSMQ 的轻量级消息队列

在这里,数据库对象中的 extensions 是一个列表,每个元素可能是:

  • 一个扩展名,简单的字符串,例如 vector
  • 一个字典,可能包含以下字段:
    • name: 唯一的 必选字段,指定扩展名,注意扩展名有可能不同于扩展包名
    • schema :指定扩展安装的模式,默认是当前数据库超级用户搜索路径中的第一个模式,通常是默认的 public
    • version :指定扩展的版本,默认是最新版本

如果数据库没有创建,在这里定义的扩展会在通过 Pigsty 创建集群创建数据库 的时候被自动启用。

如果数据库已经启用并投产,我建议您通过标准的数据库模式变更流程(Schema Migration)来管理扩展的启用。 您可以在 Pigsty 配置文件中记录相应的修改,便于日后迁移等用例。


默认启用的扩展

Pigsty 默认会为托管的 PostgreSQL 数据库安装一些默认扩展,这些扩展会被创建至默认的 template1 模板数据库与 postgres 数据库中。 任何新建的数据库都会继承 template1 中的扩展配置,因此您无需额外配置,新建的数据库也会拥有这些扩展。

您可以通过修改 pg_default_extensions 参数,来修改全局默认安装启用的扩展,以及它们安装的位置。

所有在本参数重默认 启用 的扩展都是 PostgreSQL 自带的第一方 Contrib 扩展,唯一的例外是 pg_repack 扩展,它是一个来自 PGDG 的第三方扩展。 pg_repack 对于 PostgreSQL 表膨胀治理 非常重要,因此 Pigsty 默认会默认安装它并在所有数据库中默认启用。

pg_default_extensions:
  - { name: pg_stat_statements ,schema: monitor }
  - { name: pgstattuple        ,schema: monitor }
  - { name: pg_buffercache     ,schema: monitor }
  - { name: pageinspect        ,schema: monitor }
  - { name: pg_prewarm         ,schema: monitor }
  - { name: pg_visibility      ,schema: monitor }
  - { name: pg_freespacemap    ,schema: monitor }
  - { name: postgres_fdw       ,schema: public  }
  - { name: file_fdw           ,schema: public  }
  - { name: btree_gist         ,schema: public  }
  - { name: btree_gin          ,schema: public  }
  - { name: pg_trgm            ,schema: public  }
  - { name: intagg             ,schema: public  }
  - { name: intarray           ,schema: public  }
  - { name: pg_repack } # <-- 唯一默认启用的三方扩展

在 Pigsty 的设计中,与监控相关的扩展会被创建至 monitor 模式中,其他功能特性性质的扩展会被创建至 public 模式中。

此外,向量数据库扩展 pgvector 有着特殊地位,它在 Pigsty 中会默认 安装,并在演示用的 meta 数据库中默认启用,作为演示之用。

最后,用于实现 CDC 变更数据捕获 的关键扩展 wal2json 扩展也会默认安装,但因为这是一个“无需启用”的逻辑解码插件,因此不会出现在 pg_default_extensions 中。


无需启用的扩展

并非所有扩展都需要通过 CREATE EXTENSION 命令启用。

从原理上来说:PostgreSQL 的扩展通常由以下三部分组成:

  • 控制文件:包含关键元数据,必须
  • SQL文件:包含 SQL 语句,可选
  • 库文件:包含二进制动态连接库(.so, .dylib, .dll),可选

对于扩展来说,SQL 文件是可选项,因此如果扩展没有提供 SQL 文件,则通常不需要执行 CREATE EXTENSION 命令。

LOAD \ DDL 需要 CREATE EXTENSION 不需要 CREATE EXTENSION
需要动态加载 使用 Hook 的扩展 无头扩展
不需要动态加载 不用 Hook 的扩展 逻辑解码输出插件

例如提供 CDC 抽取能力的 wal2json 扩展,提供慢查询统计能力的 pg_stat_statementsauto_explain 扩展。 它们只有共享库文件和扩展 .control 文件,没有 SQL 文件,因此不需要/也无法通过 CREATE EXTENSION 命令启用。

请注意,没有 CREATE EXTENSION 命令,不影响扩展是否需要 LOAD 命令。一些扩展虽然没有 SQL/DDL,但仍然需要 显式加载 ,比如一些安全审计相关的扩展。


无需启用的扩展列表

以下是所有无需 DDL 的扩展列表:

扩展名 扩展包名 分类 说明
plan_filter pg_plan_filter FEAT 使用执行计划代价过滤阻止特定查询语句
pg_checksums pg_checksums ADMIN 在离线模式下激活/启用/禁用数据库集群的校验和功能
pg_crash pg_crash ADMIN 向数据库进程随机发送信号模拟故障
safeupdate safeupdate ADMIN 强制在 UPDATE 和 DELETE 时提供 Where 条件
basic_archive basic_archive ADMIN 归档模块样例
basebackup_to_shell basebackup_to_shell ADMIN 添加一种备份到Shell终端到基础备份方式
bgw_replstatus bgw_replstatus STAT 用于汇报本机主从状态的后台工作进程
pg_relusage pg_relusage STAT 打印查询引用的表与列
auto_explain auto_explain STAT 提供一种自动记录执行计划的手段
passwordcheck_cracklib passwordcheck SEC 使用cracklib加固PG用户密码
supautils supautils SEC 用于在云环境中确保数据库集群的安全
pg_snakeoil pg_snakeoil SEC PostgreSQL动态链接库反病毒功能
pgextwlist pgextwlist SEC PostgreSQL扩展白名单功能
sepgsql sepgsql SEC 基于SELinux标签的强制访问控制
auth_delay auth_delay SEC 在返回认证失败前暂停一会,避免爆破
passwordcheck passwordcheck SEC 用于强制拒绝修改弱密码的扩展
pg_statement_rollback pg_statement_rollback SIM 在服务端提供类似Oracle/DB2的语句级回滚能力
pg_failover_slots pg_failover_slots ETL 在Failover过程中保留复制槽
wal2json wal2json ETL 用逻辑解码捕获 JSON 格式的 CDC 变更
wal2mongo wal2mongo ETL 使用逻辑解码捕获MongoDB JSON格式的CDC变更
decoderbufs decoderbufs ETL 将WAL逻辑解码为ProtocolBuffer协议的消息
decoder_raw decoder_raw ETL 逻辑复制解码输出插件:RAW SQL格式
pgoutput pgoutput ETL PG内置的逻辑解码输出插件
test_decoding test_decoding ETL 基于SQL的WAL逻辑解码样例



4.6 - 更新扩展

如何从安全地集群中移除扩展插件?

要更新一个现有的扩展,您需要首先更新操作系统的软件包管理器中的 RPM/DEB 包版本,然后在 PostgreSQL 中通过 ALTER EXTENSION ... UPDATE 命令将扩展更新到新版本。


升级扩展软件包

所有在 pg_extension 中指定的扩展,都可以使用 Pigsty 的 pgsql.yml 剧本进行升级。

./pgsql.yml -t pg_extension

Pigsty 的 pig 命令行工具也可以帮你完成这个任务,您无需了解操作系统的具体包名:

pig ext update  pgvector
pig ext install pgvector=0.8.0

你也可以使用操作系统的软件包管理器直接手动升级扩展软件包:

yum upgrade extname...
apt upgrade extname...

升级扩展软件包

然后执行数据库中的 ALTER EXTENSION ... UPDATE 命令,将扩展更新到新版本:

ALTER EXTENSION name UPDATE [ TO new_version ]

4.7 - 卸载扩展

如何从安全地集群中移除扩展插件?

移除扩展

要卸载某个扩展,通常需要执行 DROP EXTENSION 语句,例如:

DROP EXTENSION "<extname>";

请注意,如果有其他扩展,或者使用此扩展的数据库对象依赖,您需要首先卸载/删除这些依赖,然后再卸载此扩展;

或者,也可以使用以下语句一次性强制卸载扩展及其依赖:

DROP EXTENSION "<extname>" CASCADE;

注意:CASCADE 选项会删除依赖于此扩展的所有对象,包括数据库对象、函数、视图等,慎用!

并非所有扩展都是通过 CREATE EXTENSION 语句安装的,这些扩展不需要显式执行 DROP EXTENSION 语句,请参考 无需启用的扩展列表


移除默认加载

如果您使用的扩展需要 动态加载(修改了 shared_preload_libraries 参数),您需要首先 修改 shared_preload_libraries 参数。

将扩展名字符串从 shared_preload_libraries 中移除,并重启数据库集群生效后,您方可安全地卸载扩展包。

需要动态加载的扩展,请参考 需要加载的扩展 列表。


卸载扩展包

当你将扩展(逻辑对象)从集群中的 所有数据库 中移除后,您可以安全地卸载此扩展的软件包,Ansible 命令可以方便的帮您做到这一点:

ansible <cls> -m package -a "name=<extname> state=absent"

当然您也可以使用 pig ,或者 apt 或者 yum 的命令直接卸载。

如果您不知道扩展的名称,您可以参考 扩展列表 中的详情,或者参考 roles/node_id/vars 中定义的扩展包名映射。




5 - 构建打包

如何准备构建 PostgreSQL rpm/deb 扩展包的环境,以及重要扩展的构建打包方式。

5.1 - 虚拟机构建环境

如何制备构建 Pigsty 扩展所需的虚拟机环境:EL 8/9,Debian12,Ubuntu22。

环境初始化

Pig 命令行工具自带了设置构建环境的功能:

curl https://repo.pigsty.cc/pig | bash
pig build repo
pig build tool
pig build spec
pig build rust

下载扩展源代码包

## download big tarball
pig build get std          # download std small tarball
pig build get all          # download all source tarball
pig build get pg_mooncake
pig build get pg_duckdb
pig build get omnigres
pig build get plv8

构建扩展

pig build ext citus
pig build ext pgjwt

代理服务器

如果您的网络条件不佳,最好配置一个 HTTP 代理,例如,假设你的本地环境中,有一台可用的代理服务器: http://192.168.0.106:8118(需要换成你自己的地址)。那么 EL 环境下的环境变量配置如下:

PROXY=http://192.168.0.107:8118
export HTTP_PROXY=${PROXY}
export HTTPS_PROXY=${PROXY}
export ALL_PROXY=${PROXY}
export NO_PROXY="localhost,127.0.0.1,10.0.0.0/8,192.168.0.0/16,*.pigsty,*.aliyun.com,mirrors.*,*.myqcloud.com,*.tsinghua.edu.cn"
alias build="HTTPS_PROXY=${PROXY} cargo pgrx package -v"

编辑 ~/.ssh/config 文件,添加代理配置,让 Github git 克隆走 HTTPS 代理(可选):

Host github.com
    Hostname ssh.github.com
    Port 443
    User git

如果以下命令可以成功执行,说明 github 代理配置成功:

ssh -T git@github.com

Pig 命令行工具自带设置 proxy 功能:

pig build proxy user_id@ip:port
. /etc/profile.d/proxy.sh   # 在当前 shell 中启用代理命令
po                          # 启用代理
px                          # 关闭代理
pck                         # 检查代理状态

快捷别名

EL 环境下,可以使用以下 Alias 便捷地切换 PG 环境:

alias pg17="export PATH=/usr/pgsql-17/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
alias pg16="export PATH=/usr/pgsql-16/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
alias pg15="export PATH=/usr/pgsql-15/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
alias pg14="export PATH=/usr/pgsql-14/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
alias pg13="export PATH=/usr/pgsql-13/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
alias pg12="export PATH=/usr/pgsql-12/bin:~/.cargo/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"

而 Debian / Ubuntu 环境下则使用以下的 Alias:

alias pg17="export PATH=/usr/lib/postgresql/17/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"
alias pg16="export PATH=/usr/lib/postgresql/16/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"
alias pg15="export PATH=/usr/lib/postgresql/15/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"
alias pg14="export PATH=/usr/lib/postgresql/14/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"
alias pg13="export PATH=/usr/lib/postgresql/13/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"
alias pg12="export PATH=/usr/lib/postgresql/12/bin:~/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;"

5.2 - 准备 rust 与 pgrx

编译 Rust 扩展需要安装 Rust 与 pgrx ,这里是配置说明与扩展编译的清单与手册。

安装Rust

如果需要构建 Rust 扩展,需要安装 rustpgrx

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"

安装 pgrx,注意 版本

cargo install --locked cargo-pgrx@${PGRX_VER-'0.12.9'} # <--- 
cargo install --locked cargo-pgrx@${PGRX_VER-'0.11.4'}
cargo install --locked cargo-pgrx@${PGRX_VER-'0.10.2'}
cargo pgrx init
配置 Rust Cargo 使用中国镜像(可选)
mkdir -vp ${CARGO_HOME:-$HOME/.cargo};
cat > ${CARGO_HOME:-$HOME/.cargo}/config << EOF
[source.crates-io]
replace-with = 'mirror'

[source.mirror]
registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"
EOF
env RUSTUP_DIST_SERVER=https://mirrors.tuna.tsinghua.edu.cn/rustup rustup install stable


Rust扩展清单

Vendor Name Version PGRX License PG Ver Deps
Supabase pg_graphql v1.5.9 v0.12.5 Apache-2.0 17,16,15
Supabase pg_jsonschema v0.3.2 v0.12.5 Apache-2.0 17,16,15,14,13,12
Supabase wrappers v0.4.3 v0.12.6 Apache-2.0 17,16,15,14
TimescaleDB vectorscale v0.3.0 v0.12.5 PostgreSQL 17,16,15,14,13,12
kelvich pg_tiktoken v0.0.1 v0.12.6 Apache-2.0 16,15,14,13,12
PostgresML pgml v2.9.3 v0.11.3 MIT 16,15,14
Tembo pg_vectorize v0.17.0 v0.11.3 PostgreSQL 16,15,14 pgmq, pg_cron
Tembo pg_later v0.1.1 v0.11.3 PostgreSQL 16,15,14,13 pgmq
kaspermarstal plprql v0.1.0 v0.11.3 Apache-2.0 16,15,14,13,12
VADOSWARE pg_idkit v0.2.3 v0.12.5 Apache-2.0 17,16,15,14,13,12
pgsmcrypto pgsmcrypto v0.1.0 v0.12.6 MIT 17,16,15,14,13,12
rustprooflabs pgdd v0.5.2 v0.10.2 MIT 16,15,14,13,12
CrunchyData pg_parquet v0.1.0 v0.12.6 PostgreSQL 17, 16

下载并构建Rust扩展

cd ~;
cd ~; git clone --recursive git@github.com:postgresml/postgresml.git  ; cd ~/postgresml     && git checkout v2.9.3
cd ~; git clone git@github.com:supabase/pg_graphql.git                ; cd ~/pg_graphql     #&& git checkout v1.5.8             
cd ~; git clone git@github.com:supabase/pg_jsonschema.git             ; cd ~/pg_jsonschema  #&& git checkout v0.3.2       
cd ~; git clone git@github.com:supabase/wrappers.git                  ; cd ~/wrappers       && git checkout v0.4.3               
cd ~; git clone git@github.com:Vonng/pgsmcrypto.git                   ; cd ~/pgsmcrypto
cd ~; git clone git@github.com:Vonng/pg_tiktoken.git                  ; cd ~/pg_tiktoken
cd ~; git clone git@github.com:VADOSWARE/pg_idkit.git                 ; cd ~/pg_idkit       && git checkout v0.2.4             
cd ~; git clone git@github.com:timescale/pgvectorscale.git            ; cd ~/pgvectorscale  && git checkout 0.4.0                    

cd ~; git clone git@github.com:tembo-io/pg_vectorize.git              ; cd ~/pg_vectorize   && git checkout v0.18.3 
cd ~; git clone git@github.com:tembo-io/pg_later.git                  ; cd ~/pg_later       && git checkout v0.1.3           
cd ~; git clone git@github.com:kaspermarstal/plprql.git               ; cd ~/plprql         && git checkout v1.0.0
cd ~; git clone git@github.com:rustprooflabs/pgdd.git                 ; cd ~/pgdd           && git checkout 0.5.2

cd ~; git@github.com:CrunchyData/pg_parquet.git                       ; cd ~/pg_parquet     && git checkout 0.1.0

#cd ~; git clone git@github.com:tembo-io/pgmq.git                      ; cd ~/pgmq           && git checkout v1.2.1 #v1.3.3
#cd ~; git clone --recursive https://github.com/paradedb/paradedb.git  ; cd ~/paradedb       && git checkout v0.8.6
#cd ~/paradedb;     cargo update

您可以使用扩展别名,批量构建 Rust 扩展:

# pgrx 0.12.6
cd ~/pg_graphql;                  pg17 build; pg16 build; pg15 build; pg14 build;  
cd ~/pg_jsonschema;               pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/wrappers/wrappers;           pg17 build; pg16 build; pg15 build; pg14 build;
cd ~/pgsmcrypto;                  pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_tiktoken;                 pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_idkit;                    pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
export RUSTFLAGS="-C target-feature=+avx2,+fma"
cd ~/pgvectorscale/pgvectorscale; pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; 

# pgrx 0.11.3
cd ~/plprql/plprql;               pg16 build; pg15 build; pg14 build; pg13 build; pg12 build;
cd ~/pg_later;                    pg16 build; pg15 build; pg14 build; pg13 build; 
cd ~/pg_vectorize/extension;      pg16 build; pg15 build; pg14 build;
 
# pgrx 0.10.2
cd ~/pgdd;                        pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 

cd ~/pg_parquet;                  pg17 build; pg16 build;
cd ~/pg_polyline;                 pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_explain_ui;               pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_cardano;                  pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_base58;                   pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 
cd ~/pg_summarize;                pg17 build; pg16 build; pg15 build; pg14 build; pg13 build; pg12 build; 

5.3 - PGML 构建指南

构建库内机器学习扩展 PostgresML 需要一些额外的配置

更新Cmake

echo 'deb [trusted=yes] https://apt.kitware.com/ubuntu/ jammy main' \
  | sudo tee /etc/apt/sources.list.d/kitware.list

echo "deb [trusted=yes] \
  https://apt.kitware.com/debian/ bookworm main" \
  | sudo tee /etc/apt/sources.list.d/kitware.list


sudo dnf install -y https://apt.kitware.com/kitware-release-el8.rpm
sudo dnf install -y https://apt.kitware.com/kitware-release-el9.rpm


sudo apt remove -y cmake ; sudo apt install -y cmake

sudo yum remove -y cmake ; sudo yum install -y cmake



rm -rf cmake-3.31.4-linux-x86_64
tar -xf cmake-3.31.4-linux-x86_64.tar.gz
mv cmake-3.31.4-linux-x86_64 /opt/cmake-3.31.4

tar -xf cmake-3.31.4-linux-aarch64.tar.gz
mv ~/cmake-3.31.4-linux-aarch64 /opt/cmake-3.31.4

echo 'export PATH=/opt/cmake-3.31.4/bin:$PATH' > /etc/profile.d/cmake.sh

rm -rf /usr/bin/{ccmake,cmake,cmake-gui,cpack,ctest}
yum remove cmake -y
ln -s /opt/cmake-3.31.4/bin/ccmake /usr/bin/ccmake
ln -s /opt/cmake-3.31.4/bin/cmake /usr/bin/cmake
ln -s /opt/cmake-3.31.4/bin/cmake-gui /usr/bin/cmake-gui`
ln -s /opt/cmake-3.31.4/bin/cpack /usr/bin/cpack
ln -s /opt/cmake-3.31.4/bin/ctest /usr/bin/ctest

构建 PGML

构建 PostgresML 是相当麻烦的工作,下面是在 EL8 与 EL9 上构建 PGML 的教程。

首先,根据 RPM 构建环境 的说明,配置好 环境与代理,安装 rustpgrx,特别注意 pgml 使用的 pgrx 版本号

准备Python3

安装 Python,并设置为默认版本:

sudo yum install python3.11 python3.11-devel python3-virtualenv openssl openssl-devel cmake pkg-config libomp libomp-devel openblas* llvm llvm-devel lld openblas*
sudo yum install python3-devel

sudo apt install clang pkg-config build-essential git libclang-dev libpython3-dev libssl-dev libopenblas-dev lld



sudo alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
sudo alternatives --set python3 /usr/bin/python3.11
sudo alternatives --set python /usr/bin/python3.11

准备代码仓库

克隆 pgml,并 检出指定版本

cd ~; git clone --recursive git@github.com:postgresml/postgresml.git; 
cd ~/postgresml && git checkout v2.9.3
cd ~/postgresml/pgml-extension

EL8专用编译说明

本节修改在 EL8 上进行,EL9 无需执行此操作。

sudo dnf install gcc-toolset-13
source /opt/rh/gcc-toolset-13/enable
source /opt/rh/gcc-toolset-13/enable
export CC=/opt/rh/gcc-toolset-13/root/usr/bin/gcc
export CXX=/opt/rh/gcc-toolset-13/root/usr/bin/g++
export LD_LIBRARY_PATH=/opt/rh/gcc-toolset-13/root/usr/lib64:$LD_LIBRARY_PATH

在 EL8 上构建时,需要修改 build.rs 文件,在合适的位置添加两行编译选项:

println!("cargo:rustc-link-lib=static=stdc++fs");
println!("cargo:rustc-link-search=native=/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13");

整个文件应该是这样的:

fn main() {
    #[cfg(target_os = "macos")]
    {
        println!("cargo:rustc-link-search=/opt/homebrew/opt/openblas/lib");
        println!("cargo:rustc-link-search=/opt/homebrew/opt/libomp/lib");
    }

    // PostgreSQL is using dlopen(RTLD_GLOBAL). this will parse some
    // of symbols into the previous opened .so file, but the others will use a
    // relative offset in pgml.so, and will cause a null-pointer crash.
    //
    // hide all symbol to avoid symbol conflicts.
    //
    // append mode (link-args) only works with clang ld (lld)
    println!(
        "cargo:link-args=-Wl,--version-script={}/ld.map",
        std::env::current_dir().unwrap().to_string_lossy(),
    );

    println!("cargo:rustc-link-lib=static=stdc++fs");
    println!("cargo:rustc-link-search=native=/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13");

    vergen::EmitBuilder::builder().all_git().emit().unwrap();
}

接着修改 Cargo.toml

[build-dependencies] 一节中添加:cc = "1.0"

[build-dependencies]
+++ cc = "1.0"

开始构建

针对 PostgreSQL 16, 15, 14 构建 PGML:

cd ~/postgresml/pgml-extension; pg16 build; pg15 build; pg14 build;

将构建产物放置于 ~/rpmbuild/SOURCES 目录备用

rm -rf ~/rpmbuild/SOURCES/pgml_16; cp -r ~/postgresml/pgml-extension/target/release/pgml-pg16 ~/rpmbuild/SOURCES/pgml_16;
rm -rf ~/rpmbuild/SOURCES/pgml_15; cp -r ~/postgresml/pgml-extension/target/release/pgml-pg15 ~/rpmbuild/SOURCES/pgml_15;
rm -rf ~/rpmbuild/SOURCES/pgml_14; cp -r ~/postgresml/pgml-extension/target/release/pgml-pg14 ~/rpmbuild/SOURCES/pgml_14;

使用 pgml.spec 执行 RPM 打包:

cd ~/rpmbuild/SPECS && make pgml

# 或手工进行构建:
rm -rf ~/rpmbuild/RPMS/x86_64/pgml*.rpm;
rpmbuild --without debuginfo --define "pgmajorversion 16" -ba ~/rpmbuild/SPECS/pgml.spec
rpmbuild --without debuginfo --define "pgmajorversion 15" -ba ~/rpmbuild/SPECS/pgml.spec
rpmbuild --without debuginfo --define "pgmajorversion 14" -ba ~/rpmbuild/SPECS/pgml.spec

5.4 - PLv8 构建指南

构建 Javascript 存储过程与编程语言支持扩展 PLv8

构建plv8

安装依赖 (EL):

sudo yum groupinstall --nobest -y 'Development Tools'; 
sudo yum install git cmake

克隆代码:

rpmdev-setuptree
cd ~/rpmbuild/SOURCES/
git clone git@github.com:plv8/plv8.git

cd plv8; git checkout v3.2.2
make -j16

基于第一段编译产物,针对不同 PG 大版本制作 RPM 包:

rpmbuild --define "pgmajorversion 16"  -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 15"  -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 14"  -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 13"  -ba ~/rpmbuild/SPECS/plv8.spec
rpmbuild --define "pgmajorversion 12"  -ba ~/rpmbuild/SPECS/plv8.spec

或者:

cd ~/rpmbuild/SPECS && make plv8

5.5 - vchord 构建指南

构建向量扩展 vchord 的特别注意事项。

编译此扩展需要 clang-17+。

To build this extension, you’ll need clang-17+

Ubuntu 24 直接安装 Clang 即可:

apt install clang

You can install clang on Ubuntu 24 directly, and install clang-18 on Ubuntu 22 / Debian 12 with:

curl --proto '=https' --tlsv1.2 -sSf https://apt.llvm.org/llvm.sh | bash -s -- 18
sudo update-alternatives --install /usr/bin/clang clang $(which clang-18) 255

5.6 - ParadeDB 构建指南

构建 ParadeDB 扩展 需要一些额外的注意事项

下面是构建 ParadeDB 扩展插件的教程:

首先,根据 RPM 构建环境 的说明,配置好环境与代理,安装 rustpgrx

安装时特别需要注意 pg_searchpg_lakehouse 使用的 pgrx 版本号

克隆 ParadeDB,并 检出最新版本,完成编译。

cd ~; git clone --recursive git@github.com:paradedb/paradedb.git;
cd ~/paradedb; git checkout v0.8.6

cd ~/paradedb/pg_search/
cargo update

# build pg_search
pg16 build
pg15 build
pg14 build
pg13 build
pg12 build

# move to rpmbuild SOURCES dir
rm -rf ~/rpmbuild/SOURCES/pg_search_16; cp -r ~/paradedb/target/release/pg_search-pg16 ~/rpmbuild/SOURCES/pg_search_16;
rm -rf ~/rpmbuild/SOURCES/pg_search_15; cp -r ~/paradedb/target/release/pg_search-pg15 ~/rpmbuild/SOURCES/pg_search_15;
rm -rf ~/rpmbuild/SOURCES/pg_search_14; cp -r ~/paradedb/target/release/pg_search-pg14 ~/rpmbuild/SOURCES/pg_search_14;
rm -rf ~/rpmbuild/SOURCES/pg_search_13; cp -r ~/paradedb/target/release/pg_search-pg13 ~/rpmbuild/SOURCES/pg_search_13;
rm -rf ~/rpmbuild/SOURCES/pg_search_12; cp -r ~/paradedb/target/release/pg_search-pg12 ~/rpmbuild/SOURCES/pg_search_12;

# packaging with rpmbuild
cd ~/rpmbuild/SPECS && make pg_search
rpmbuild --without debuginfo --define "pgmajorversion 16" -ba ~/rpmbuild/SPECS/pg_search.spec
rpmbuild --without debuginfo --define "pgmajorversion 15" -ba ~/rpmbuild/SPECS/pg_search.spec
rpmbuild --without debuginfo --define "pgmajorversion 14" -ba ~/rpmbuild/SPECS/pg_search.spec
rpmbuild --without debuginfo --define "pgmajorversion 13" -ba ~/rpmbuild/SPECS/pg_search.spec
rpmbuild --without debuginfo --define "pgmajorversion 12" -ba ~/rpmbuild/SPECS/pg_search.spec

pg_lakehouse

cd ~/paradedb/pg_lakehouse/
cargo update

# build pg_lakehouse
pg16 build
pg15 build

# move to rpmbuild SOURCES dir
rm -rf ~/rpmbuild/SOURCES/pg_lakehouse_16;  cp -r ~/paradedb/target/release/pg_lakehouse-pg16   ~/rpmbuild/SOURCES/pg_lakehouse_16;
rm -rf ~/rpmbuild/SOURCES/pg_lakehouse_15;  cp -r ~/paradedb/target/release/pg_lakehouse-pg15   ~/rpmbuild/SOURCES/pg_lakehouse_15;

# packaging with rpmbuild
cd ~/rpmbuild/SPECS && make pg_lakehouse
rpmbuild --without debuginfo --define "pgmajorversion 16" -ba ~/rpmbuild/SPECS/pg_lakehouse.spec
rpmbuild --without debuginfo --define "pgmajorversion 15" -ba ~/rpmbuild/SPECS/pg_lakehouse.spec

5.7 - DuckDB FDW 构建指南

如何构建 DuckDB FDW 及其依赖的 libduckdb.so 动态链接库。

DuckDB FDW 依赖 libduckdb.so 动态链接库。在 Ubuntu 与 Debian 上,可以直接使用由 DuckDB 官方提供的预编译二进制。

在 EL 系操作系统上,需要从头编译 libduckdb 并使用此版本编译 duckdb_fdw

Pigsty 的 github.com/pgsty/pgsql-rpm 仓库提供了预置的构建模板:

DuckDB 官方已经提供了 libduckdb-src.zip 源码,可以方便地进行构建。


构建注意事项

在 Ubuntu / Debian 上,可以直接使用 DuckDB 官方提供的预编译二进制 libduckdb.so

在 EL8 和 EL9 上需要从源码编译构建 libduckdb

要构建 libduckdb-src,你需要使用与构建 duckdb_fdw 一致的编译环境与参数:

clang++ -c -fPIC -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 duckdb.cpp -o duckdb.o
clang++ -shared -o libduckdb.so *.o

构建 libduckdb RPM 包,可以使用以下命令:

cd ~/rpmbuild/SPECS && make libduckdb

要构建 duckdb_fdw RPM 包,可以使用以下命令:

cd ~/rpmbuild/SPECS && make duckdb_fdw

5.8 - Parquet S3 FDW 构建指南

构建 Parquet S3 FDW 扩展,及其依赖 libarrow, libparquet, 以及 libaws-cpp 的过程

构建parquet_s3_fdw

扩展 parquet_s3_fdw 有两个主要依赖:arrowawssdk


构建arrow

克隆 arrow 仓库并使用 cmake 构建:

cd ~ ; git clone git@github.com:apache/arrow.git;
mkdir -p ~/arrow/cpp/release; cd ~/arrow/cpp/release;
cmake .. -DARROW_PARQUET=ON -DARROW_S3=ON; make -j8
sudo make install

构建libaws

libaws-cpp 里有许多服务的驱动,但我们只需要两个:cores3

# 安装依赖
sudo yum install libcurl-devel openssl-devel libuuid-devel pulseaudio-libs-devel
# sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev libpulse-dev # debian/ubuntu

# 克隆 libaws 仓库 (很大!)
cd ~; git clone --recurse-submodules git@github.com:aws/aws-sdk-cpp.git

mkdir -p ~/aws-sdk-cpp/release; cd ~/aws-sdk-cpp/release;
cmake .. -DBUILD_ONLY="s3"; make -j20
sudo make install

构建libarrow-s3

收集生成的 .so 文件,然后将其打包为一个 RPM / DEB 包:

mkdir -p ~/libarrow-s3
cp -d ~/arrow/cpp/release/release/libarrow.so*                                     ~/libarrow-s3/
cp -d ~/arrow/cpp/release/release/libparquet.so*                                   ~/libarrow-s3/
cp -f ~/aws-sdk-cpp/release/generated/src/aws-cpp-sdk-s3/libaws-cpp-sdk-s3.so      ~/libarrow-s3/
cp -f ~/aws-sdk-cpp/release/src/aws-cpp-sdk-core/libaws-cpp-sdk-core.so            ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/lib/libaws-c-event-stream.so*                          ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/lib/libs2n.so*                                         ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/libaws-crt-cpp.so                        ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-common/libaws-c-common.so*     ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-checksums/libaws-checksums.so*   ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-io/libaws-c-io.so*             ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-mqtt/libaws-c-mqtt.so*         ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-cal/libaws-c-cal.so*           ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-checksums/libaws-checksums.so*   ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-s3/libaws-c-s3.so*             ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-common/libaws-c-common.so*     ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-http/libaws-c-http.so*         ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-sdkutils/libaws-c-sdkutils.so* ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-auth/libaws-c-auth.so*         ~/libarrow-s3/
cp -d ~/aws-sdk-cpp/release/crt/aws-crt-cpp/crt/aws-c-compression/libaws-c-compression.so* ~/libarrow-s3/

构建生成的 so 文件包含空 RPATH,使用 patchelf 去除 (EL系统):

cd ~/libarrow-s3/
patchelf --remove-rpath libarrow.so.1800.0.0
patchelf --remove-rpath libparquet.so.1800.0.0
patchelf --remove-rpath libaws-cpp-sdk-core.so
patchelf --remove-rpath libaws-cpp-sdk-s3.so

将这些 so 文件整体打包为一个 libarrow-s3 软件包:

cd ~/rpmbuild/SPECS
rpmbuild -ba ~/rpmbuild/SPECS/libarrow-s3.spec
sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/libarrow-s3-17.0.0-1PIGSTY.*

5.9 - pg_duckdb 构建指南

构建OLAP扩展 pg_duckdb 的特别注意事项。

pg_duckdb 构建说明

编译此扩展需要额外的依赖:

```bash
if [[ ${OS_VERSION} == "12" ]]; then
    log_info "install deb12 utils"
    sudo apt install -y lz4 unzip wget patch bash lsof sshpass debhelper devscripts fakeroot pkg-config make cmake ncdu rsync #build-essential
    sudo apt install -y postgresql-all postgresql-server-dev-all libreadline-dev flex bison libxml2-dev libxml2-utils xsltproc libc++-dev libc++abi-dev libglib2.0-dev libtinfo5 libstdc++-12-dev liblz4-dev ninja-build
elif [[ ${OS_VERSION} == "22" ]]; then
    log_info "install ubuntu22 utils"
    sudo apt install -y lz4 unzip wget patch bash lsof sshpass debhelper devscripts fakeroot pkg-config make cmake ncdu rsync #build-essential
    sudo apt install -y postgresql-all postgresql-server-dev-all libreadline-dev flex bison libxml2-dev libxml2-utils xsltproc libc++-dev libc++abi-dev libglib2.0-dev libtinfo6 libstdc++-12-dev liblz4-dev ninja-build
elif [[ ${OS_VERSION} == "24" ]]; then
    log_info "install ubuntu24 utils"
    sudo apt install -y lz4 unzip wget patch bash lsof sshpass debhelper devscripts fakeroot pkg-config make cmake ncdu rsync #build-essential
    sudo apt install -y postgresql-all postgresql-server-dev-all libreadline-dev flex bison libxml2-dev libxml2-utils xsltproc libc++-dev libc++abi-dev libglib2.0-dev libtinfo6 libstdc++-12-dev liblz4-dev ninja-build
fi

pg_mooncake 构建说明

构建此扩展需要用到 patchelf 工具:

yum install -y patchelf
apt install -y patchelf

在 EL8 上构建时,编译器版本过低,需要进行如下的 HotFix:

cd ~/rpmbuild/SOURCES
tar -xf pg_mooncake-0.1.2.tar.gz
vi pg_mooncake-0.1.2/src/pgduckdb/scan/postgres_seq_scan.cpp

75G dd dd j dd :q

tar -zcf pg_mooncake-0.1.2.tar.gz pg_mooncake-0.1.2
rm -rf pg_mooncake-0.1.2

6 - 发展路线

发掘扩展的雷达,备选待办清单,缺陷记录,变更历史,以及退役弃用历史。

6.1 - 待办清单

接下来会有哪些扩展进入 Pigsty 扩展仓库?哪些扩展不太可能进入仓库?

Resource


Doing

Nope


Candidate


Not Planned


Retired

  • parquet_s3_fdw: retired due to too much duckdb better alternatives
  • pg_tier: retired due to parquet_s3_fdw deps
  • pg_mon: retired due to pg17 in-compatibility
  • pg_search: retired due to moving to official release procedure
  • pg_bm25: retired due to renaming to pg_search
  • pg_analytics: retired due to moving to official release procedure, and once renaming to pg_lakehouse
  • pg_lakehouse: retired due to renaming back to pg_analytics
  • pg_sparse: retired due to merge into pgvector, and no longer maintained
  • mysqlcompat: retire due to conflict func with higher version of PG
  • pg_comparator: retired due to removing from PGDG repo
  • pg_proctab: retired due to covered by pgnodemx
  • pg_statviz: broken deps and replaceable functionality
  • pg_net : retired due to moving into PGDG repo
  • pg_tle : retired due to moving into PGDG repo
  • pg_bigm : retired due to moving into PGDG repo
  • pgsql-http : retired due to moving into PGDG repo
  • pgsql-gzip : retired due to moving into PGDG repo
  • pg_dirtyread : retired due to moving into PGDG repo
  • pointcloud : retired due to moving into PGDG repo
  • pg_top: retired due to too much trouble
  • pg_timeit: retired due incompatible on arm64
  • vacuumlo & oid2name: binary command, actually they are not extensions
  • pgdd: remove due to not actively maintained and legacy pgrx version

6.2 - 缺陷案例

并非所有扩展都在所有操作系统、芯片架构与PG版本上都可用,这里列举了常见的缺陷组合。

典型缺陷


PG17支持

以下扩展插件尚未支持 PostgreSQL:


缺少开源协议

以下扩展插件尚未提供开源协议:


缺少RPM包

以下扩展为 Debian 系统独有,需要移植到 EL 系统中:

  • mobilitydb
  • rdkit
  • hstore_pllua
  • hstore_plluau
  • debversion
  • pg_rrule

缺少DEB包

以下扩展为 EL 系统独有,需要移植到 Debian 系统中:

  • pg_strom
  • faker
  • dbt2
  • pg_top
  • multicorn
  • odbc_fdw
  • jdbc_fdw
  • tds_fdw
  • db2_fdw
  • sqlite_fdw
  • pgbouncer_fdw
  • mongo_fdw
  • hdfs_fdw
  • pg_dbms_metadata
  • pg_dbms_lock
  • pg_dbms_job

6.3 - 变更日志

Pigsty 扩展仓库变更日志

2025-02-22

  • documentdb 0.101-0
  • pgcollection (new) 0.9.1
  • pg_bzip (new) 1.0.0
  • pg_net 0.14.0
  • pg_curl 2.4.2
  • vault 0.3.1 (become C)
  • table_version 1.10.3 -> 1.11.0
  • pg_duration 1.0.2
  • timescaledb 2.18.2
  • pg_analytics 0.3.4
  • pg_search 0.15.2
  • pg_graphql 1.5.11
  • vchord 0.1.1 -> 0.2.1 ((+13))
  • vchord_bm25 0.1.0 -> 0.1.1
  • pg_mooncake 0.1.1 -> 0.1.2
  • pg_duckdb 0.2.0 -> 0.3.1
  • pgddl 0.29
  • pgsql_tweaks 0.11.0

2025-02-10

  • citus 13.0.0 -> 13.0.1
  • pg_mooncake 0.1.0 -> 0.1.1
  • timescaledb 2.17.2 -> 2.18.1
  • supautils 2.5.0 -> 2.6.0
  • VectorChord 0.1.0 -> 0.2.0
  • pg_bulkload 3.1.22 (+pg17)
  • pg_store_plan 1.8 (+pg17)
  • pg_search 0.14 -> 0.15.1
  • pg_analytics 0.3.0 -> 0.3.2
  • pgroonga 3.2.5 -> 4.0.0
  • zhparser 2.2 -> 2.3
  • pg_vectorize 0.20.0 -> 0.21.1

2025-01-10

2025-01-09

  • lower_quantile 1.0.3
  • quantile 1.1.8
  • sequential_uuids 1.0.3
  • pgmq 1.5.0 (subdir)
  • floatvec 1.1.1
  • rename postgresql-$v-timescaledb to postgresql-$v-timescaledb-tsl

New extensions:

2025-01-08

  • pg_anon 2.0.0
  • pg_parquet 0.2.0
  • wrappers 0.4.4
  • pg_later 0.3.0
  • topn fix for deb.arm64
  • add age 17 on debian
  • powa + pg17, 5.0.1
  • h3 + pg17
  • ogr_fdw + pg17
  • age + pg17 1.5 on debian
  • rdkit + pg17 on u24 (TBD)
  • pgtap + pg17 1.3.3
  • repmgr
  • topn + pg17
  • add synchdb for ubuntu (TBD)

2025-01-07

  • pg_partman 5.2.4
  • credcheck 3.0
  • ogr_fdw 1.1.5
  • ddlx 0.29
  • postgis 3.5.1
  • tdigest 1.4.3
  • pg_repack 1.5.2

2024-12-30

  • Build citus on all deb distros (amd/arm)
  • Build pgroonga on all deb distros (amd/arm)
  • Build timescaledb on all deb distros (amd/arm)
  • Add synchdb v1.0 for pg16 on ubuntu distros ()

2024-12-24

  • Build citus for el aarch64 distros

2024-12-23

  • Add pig 0.0.1, the Pigsty CLI tool

2024-12-21

  • Build pg_timescaledb for EL distros
  • Build pgroonga for all distros

7 - 类目:TIME

时间时态扩展:时序数据库 TimescaleDB,时态数据库,版本控制表,定时任务,异步后台任务调度扩展。

TIME 类目共有 11 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
timescaledb timescaledb PIGSTY 2.19.0 TIME Timescale 时序数据库扩展插件
timescaledb_toolkit timescaledb_toolkit PIGSTY 1.19.0 TIME Timescale 超表分析查询,时间序列流式处理,以及其他SQL工具
timeseries pg_timeseries PIGSTY 0.1.6 TIME PostgreSQL Tembo时序数据API封装
periods periods PGDG 1.2.3 TIME PostgreSQL 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能
temporal_tables temporal_tables PIGSTY 1.2.2 TIME BSD 2 时态表功能支持
emaj emaj MIXED 4.6.0 TIME GPLv3 让数据库的子集具有细粒度日志和时间旅行功能
table_version table_version MIXED 1.11.1 TIME BSD 3 PostgreSQL 版本控制表扩展
pg_cron pg_cron PGDG 1.6.5 TIME PostgreSQL 定时任务调度器
pg_task pg_task PGDG 2.1.7 TIME MIT 在特定时间点在后台执行SQL命令
pg_later pg_later PIGSTY 0.3.0 TIME PostgreSQL 执行查询,并在稍后异步获取查询结果
pg_background pg_background MIXED 1.3 TIME GPLv3 在后台运行 SQL 查询

7.1 - timescaledb

时序数据库扩展插件

扩展总览

PIGSTY 第三方扩展: timescaledb : 时序数据库扩展插件

基本信息

元数据

  • 默认版本: 2.20.0
  • PG大版本: 17,16,15
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: timescaledb_information, timescaledb_experimental
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:timescaledb-tsl_$v*
  • RPM版本:2.20.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-timescaledb-tsl
  • DEB版本:2.20.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 timescaledb-tsl_17
PIGSTY 2.20.0
timescaledb-tsl_16
PIGSTY 2.20.0
timescaledb-tsl_15
PIGSTY 2.20.0
timescaledb-tsl_14
PIGSTY 2.19.3
timescaledb-tsl_13
PGDG 2.15.3
el8 aarch64 timescaledb-tsl_17
PIGSTY 2.20.0
timescaledb-tsl_16
PIGSTY 2.20.0
timescaledb-tsl_15
PIGSTY 2.20.0
timescaledb-tsl_14
PIGSTY 2.19.3
el9 x86_64 timescaledb-tsl_17
PIGSTY 2.20.0
timescaledb-tsl_16
PIGSTY 2.20.0
timescaledb-tsl_15
PIGSTY 2.20.0
timescaledb-tsl_14
PIGSTY 2.19.3
timescaledb-tsl_13
PGDG 2.15.3
el9 aarch64 timescaledb-tsl_17
PIGSTY 2.20.0
timescaledb-tsl_16
PIGSTY 2.20.0
timescaledb-tsl_15
PIGSTY 2.20.0
timescaledb-tsl_14
PIGSTY 2.19.3
d12 x86_64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3
d12 aarch64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3
u22 x86_64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3
u22 aarch64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3
u24 x86_64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3
u24 aarch64 postgresql-17-timescaledb-tsl
PIGSTY 2.20.0
postgresql-16-timescaledb-tsl
PIGSTY 2.20.0
postgresql-15-timescaledb-tsl
PIGSTY 2.20.0
postgresql-14-timescaledb-tsl
PIGSTY 2.19.3

扩展安装

使用 pig 命令行工具安装 timescaledb 扩展:

pig ext install timescaledb

使用 Pigsty剧本 安装 timescaledb 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["timescaledb"]}' # -l <集群名>

YUM仓库 手工安装 timescaledb RPM 包:

dnf install timescaledb-tsl_17*;
dnf install timescaledb-tsl_16*;
dnf install timescaledb-tsl_15*;

APT仓库 手工安装 timescaledb DEB 包:

apt install postgresql-17-timescaledb-tsl;
apt install postgresql-16-timescaledb-tsl;
apt install postgresql-15-timescaledb-tsl;

扩展 timescaledb 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'timescaledb'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 timescaledb 扩展:

CREATE EXTENSION timescaledb;

使用方法

Create a table and turn it into hypertable

DROP TABLE IF EXISTS ts_test;
CREATE TABLE ts_test
(
    id BIGINT PRIMARY KEY,
    ts TIMESTAMPTZ NOT NULL,
    v  INTEGER -- payload
);
SELECT create_hypertable('ts_test', by_range('id'));

INSERT INTO ts_test 
    SELECT i, now() + (i || ' seconds')::INTERVAL, i % 100 
    FROM generate_series(1, 1000000) i;


ALTER TABLE ts_test SET (timescaledb.compress_chunk_time_interval = '24 hours');

Continuous Agg Example:


CREATE MATERIALIZED VIEW continuous_aggregate_daily( timec, minl, sumt, sumh )
WITH (timescaledb.continuous) AS
  SELECT count(*) FROM ts_test;


SELECT add_job('SELECT 1','1h', initial_start => '2024-07-09 18:52:00+00'::timestamptz);



7.2 - timescaledb_toolkit

超表分析查询,时间序列流式处理,以及其他SQL工具

扩展总览

PIGSTY 第三方扩展: timescaledb_toolkit : 超表分析查询,时间序列流式处理,以及其他SQL工具

基本信息

元数据

  • 默认版本: 1.21.0
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:timescaledb-toolkit_$v
  • RPM版本:1.21.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-timescaledb-toolkit
  • DEB版本:1.21.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 timescaledb-toolkit_17
PIGSTY 1.21.0
timescaledb-toolkit_16
PIGSTY 1.21.0
timescaledb-toolkit_15
PIGSTY 1.21.0
timescaledb-toolkit_14
PIGSTY 1.19.0
el8 aarch64 timescaledb-toolkit_17
PIGSTY 1.21.0
timescaledb-toolkit_16
PIGSTY 1.21.0
timescaledb-toolkit_15
PIGSTY 1.21.0
timescaledb-toolkit_14
PIGSTY 1.19.0
el9 x86_64 timescaledb-toolkit_17
PIGSTY 1.21.0
timescaledb-toolkit_16
PIGSTY 1.21.0
timescaledb-toolkit_15
PIGSTY 1.21.0
timescaledb-toolkit_14
PIGSTY 1.19.0
el9 aarch64 timescaledb-toolkit_17
PIGSTY 1.21.0
timescaledb-toolkit_16
PIGSTY 1.21.0
timescaledb-toolkit_15
PIGSTY 1.21.0
timescaledb-toolkit_14
PIGSTY 1.19.0
d12 x86_64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0
d12 aarch64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0
u22 x86_64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0
u22 aarch64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0
u24 x86_64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0
u24 aarch64 postgresql-17-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-16-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-15-timescaledb-toolkit
PIGSTY 1.21.0
postgresql-14-timescaledb-toolkit
PIGSTY 1.19.0

扩展安装

使用 pig 命令行工具安装 timescaledb_toolkit 扩展:

pig ext install timescaledb_toolkit

使用 Pigsty剧本 安装 timescaledb_toolkit 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["timescaledb_toolkit"]}' # -l <集群名>

YUM仓库 手工安装 timescaledb_toolkit RPM 包:

dnf install timescaledb-toolkit_17;
dnf install timescaledb-toolkit_16;
dnf install timescaledb-toolkit_15;
dnf install timescaledb-toolkit_14;

APT仓库 手工安装 timescaledb_toolkit DEB 包:

apt install postgresql-17-timescaledb-toolkit;
apt install postgresql-16-timescaledb-toolkit;
apt install postgresql-15-timescaledb-toolkit;
apt install postgresql-14-timescaledb-toolkit;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 timescaledb_toolkit 扩展:

CREATE EXTENSION timescaledb_toolkit;

使用方法

This extension provide experimental features for timescaledb, check the docs for details.

Features

The following links lead to pages for the different features in the TimescaleDB Toolkit repository.

  • ASAP Smoothing experimental - A data smoothing algorithm designed to generate human readable graphs which maintain any erratic data behavior while smoothing away the cyclic noise.

  • Hyperloglog experimental – An approximate COUNT DISTINCT based on hashing that provides reasonable accuracy in constant space. (Methods)

  • LTTB experimental – A downsample method that preserves visual similarity. (Methods)

  • Percentile Approximation - A simple percentile approximation interface [(Methods)], wraps and simplifies the lower level algorithms:

    • T-Digest – A quantile estimate sketch optimized to provide more accurate estimates near the tails (i.e. 0.001 or 0.995) than conventional approaches. (Methods)
    • UddSketch – A quantile estimate sketch which provides a guaranteed maximum relative error. (Methods)



7.3 - timeseries

Tembo时序数据API封装

扩展总览

PIGSTY 第三方扩展: pg_timeseries : Tembo时序数据API封装

基本信息

元数据

  • 默认版本: 0.1.6
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: columnar, pg_cron, pg_ivm, pg_partman

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_timeseries_$v
  • RPM版本:0.1.6
  • RPM依赖:hydra_$v, pg_cron_$v, pg_ivm_$v, pg_partman_$v
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-timeseries
  • DEB版本:0.1.6
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_timeseries_17
PIGSTY 0.1.6
pg_timeseries_16
PIGSTY 0.1.6
pg_timeseries_15
PIGSTY 0.1.6
pg_timeseries_14
PIGSTY 0.1.6
pg_timeseries_13
PIGSTY 0.1.6
el8 aarch64 pg_timeseries_17
PIGSTY 0.1.6
pg_timeseries_16
PIGSTY 0.1.6
pg_timeseries_15
PIGSTY 0.1.6
pg_timeseries_14
PIGSTY 0.1.6
pg_timeseries_13
PIGSTY 0.1.6
el9 x86_64 pg_timeseries_17
PIGSTY 0.1.6
pg_timeseries_16
PIGSTY 0.1.6
pg_timeseries_15
PIGSTY 0.1.6
pg_timeseries_14
PIGSTY 0.1.6
pg_timeseries_13
PIGSTY 0.1.6
el9 aarch64 pg_timeseries_17
PIGSTY 0.1.6
pg_timeseries_16
PIGSTY 0.1.6
pg_timeseries_15
PIGSTY 0.1.6
pg_timeseries_14
PIGSTY 0.1.6
pg_timeseries_13
PIGSTY 0.1.6
d12 x86_64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6
d12 aarch64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6
u22 x86_64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6
u22 aarch64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6
u24 x86_64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6
u24 aarch64 postgresql-17-pg-timeseries
PIGSTY 0.1.6
postgresql-16-pg-timeseries
PIGSTY 0.1.6
postgresql-15-pg-timeseries
PIGSTY 0.1.6
postgresql-14-pg-timeseries
PIGSTY 0.1.6
postgresql-13-pg-timeseries
PIGSTY 0.1.6

扩展安装

使用 pig 命令行工具安装 pg_timeseries 扩展:

pig ext install pg_timeseries; # 扩展名称
pig ext install timeseries; # 标准包名

使用 Pigsty剧本 安装 pg_timeseries 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_timeseries"]}' # -l <集群名>

YUM仓库 手工安装 pg_timeseries RPM 包:

dnf install pg_timeseries_17;
dnf install pg_timeseries_16;
dnf install pg_timeseries_15;
dnf install pg_timeseries_14;
dnf install pg_timeseries_13;

APT仓库 手工安装 pg_timeseries DEB 包:

apt install postgresql-17-pg-timeseries;
apt install postgresql-16-pg-timeseries;
apt install postgresql-15-pg-timeseries;
apt install postgresql-14-pg-timeseries;
apt install postgresql-13-pg-timeseries;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 timeseries 扩展:

CREATE EXTENSION timeseries CASCADE;



7.4 - periods

为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能

扩展总览

PGDG 第一方扩展: periods : 为 PERIODs 和 SYSTEM VERSIONING 提供标准 SQL 功能

基本信息

元数据

  • 默认版本: 1.2.3
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: btree_gist

软件包

  • RPM仓库:PGDG
  • RPM包名:periods_$v*
  • RPM版本:1.2.3
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-periods
  • DEB版本:1.2.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 periods_17
PGDG 1.2.2
periods_16
PGDG 1.2.2
periods_15
PGDG 1.2.2
periods_14
PGDG 1.2.2
periods_13
PGDG 1.2.2
el8 aarch64 periods_17
PGDG 1.2.2
periods_16
PGDG 1.2.2
periods_15
PGDG 1.2.2
periods_14
PGDG 1.2.2
periods_13
PGDG 1.2.2
el9 x86_64 periods_17
PGDG 1.2.2
periods_16
PGDG 1.2.2
periods_15
PGDG 1.2.2
periods_14
PGDG 1.2.2
periods_13
PGDG 1.2.2
el9 aarch64 periods_17
PGDG 1.2.2
periods_16
PGDG 1.2.2
periods_15
PGDG 1.2.2
periods_14
PGDG 1.2.2
periods_13
PGDG 1.2.2
d12 x86_64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3
d12 aarch64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3
u22 x86_64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3
u22 aarch64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3
u24 x86_64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3
u24 aarch64 postgresql-17-periods
PGDG 1.2.3
postgresql-16-periods
PGDG 1.2.3
postgresql-15-periods
PGDG 1.2.3
postgresql-14-periods
PGDG 1.2.3
postgresql-13-periods
PGDG 1.2.3

扩展安装

使用 pig 命令行工具安装 periods 扩展:

pig ext install periods

使用 Pigsty剧本 安装 periods 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["periods"]}' # -l <集群名>

YUM仓库 手工安装 periods RPM 包:

dnf install periods_17*;
dnf install periods_16*;
dnf install periods_15*;
dnf install periods_14*;
dnf install periods_13*;

APT仓库 手工安装 periods DEB 包:

apt install postgresql-17-periods;
apt install postgresql-16-periods;
apt install postgresql-15-periods;
apt install postgresql-14-periods;
apt install postgresql-13-periods;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 periods 扩展:

CREATE EXTENSION periods CASCADE;



7.5 - temporal_tables

时态表功能支持

扩展总览

PIGSTY 第三方扩展: temporal_tables : 时态表功能支持

基本信息

  • 扩展编号: 1040
  • 扩展名称: temporal_tables
  • 标准包名: temporal_tables
  • 扩展类目: TIME
  • 开源协议: BSD 2
  • 官方网站: https://pgxn.org/dist/temporal_tables/
  • 编程语言: C
  • 其他标签: pgdg-flaw
  • 备注信息:

元数据

  • 默认版本: 1.2.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:temporal_tables_$v*
  • RPM版本:1.2.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-temporal-tables
  • DEB版本:1.2.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 temporal_tables_17
PIGSTY 1.2.2
temporal_tables_16
PGDG 1.2.2
temporal_tables_15
PGDG 1.2.2
temporal_tables_14
PGDG 1.2.2
temporal_tables_13
PGDG 1.2.2
el8 aarch64 temporal_tables_17
PIGSTY 1.2.2
temporal_tables_16
PGDG 1.2.2
temporal_tables_15
PGDG 1.2.2
temporal_tables_14
PGDG 1.2.2
temporal_tables_13
PGDG 1.2.2
el9 x86_64 temporal_tables_17
PGDG 1.2.2
temporal_tables_16
PIGSTY 1.2.2
temporal_tables_15
PIGSTY 1.2.2
temporal_tables_14
PIGSTY 1.2.2
temporal_tables_13
PIGSTY 1.2.2
el9 aarch64 temporal_tables_17
PGDG 1.2.2
temporal_tables_16
PIGSTY 1.2.2
temporal_tables_15
PIGSTY 1.2.2
temporal_tables_14
PIGSTY 1.2.2
temporal_tables_13
PIGSTY 1.2.2
d12 x86_64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2
d12 aarch64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2
u22 x86_64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2
u22 aarch64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2
u24 x86_64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2
u24 aarch64 postgresql-17-temporal-tables
PIGSTY 1.2.2
postgresql-16-temporal-tables
PIGSTY 1.2.2
postgresql-15-temporal-tables
PIGSTY 1.2.2
postgresql-14-temporal-tables
PIGSTY 1.2.2
postgresql-13-temporal-tables
PIGSTY 1.2.2

扩展安装

使用 pig 命令行工具安装 temporal_tables 扩展:

pig ext install temporal_tables

使用 Pigsty剧本 安装 temporal_tables 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["temporal_tables"]}' # -l <集群名>

YUM仓库 手工安装 temporal_tables RPM 包:

dnf install temporal_tables_17*;
dnf install temporal_tables_16*;
dnf install temporal_tables_15*;
dnf install temporal_tables_14*;
dnf install temporal_tables_13*;

APT仓库 手工安装 temporal_tables DEB 包:

apt install postgresql-17-temporal-tables;
apt install postgresql-16-temporal-tables;
apt install postgresql-15-temporal-tables;
apt install postgresql-14-temporal-tables;
apt install postgresql-13-temporal-tables;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 temporal_tables 扩展:

CREATE EXTENSION temporal_tables;



7.6 - emaj

让数据库的子集具有细粒度日志和时间旅行功能

扩展总览

MIXED 第三方扩展: emaj : 让数据库的子集具有细粒度日志和时间旅行功能

基本信息

  • 扩展编号: 1050
  • 扩展名称: emaj
  • 标准包名: emaj
  • 扩展类目: TIME
  • 开源协议: GPLv3
  • 官方网站: https://github.com/dalibo/emaj
  • 编程语言: 纯SQL
  • 其他标签: 无
  • 备注信息:

元数据

  • 默认版本: 4.6.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: emaj
  • 所需扩展: dblink, btree_gist

软件包

  • RPM仓库:PGDG
  • RPM包名:e-maj_$v
  • RPM版本:4.6.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-emaj
  • DEB版本:4.4.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 e-maj_17
PGDG 4.6.0
e-maj_16
PGDG 4.6.0
e-maj_15
PGDG 4.6.0
e-maj_14
PGDG 4.6.0
e-maj_13
PGDG 4.6.0
el8 aarch64 e-maj_17
PGDG 4.6.0
e-maj_16
PGDG 4.6.0
e-maj_15
PGDG 4.6.0
e-maj_14
PGDG 4.6.0
e-maj_13
PGDG 4.6.0
el9 x86_64 e-maj_17
PGDG 4.6.0
e-maj_16
PGDG 4.6.0
e-maj_15
PGDG 4.6.0
e-maj_14
PGDG 4.6.0
e-maj_13
PGDG 4.6.0
el9 aarch64 e-maj_17
PGDG 4.6.0
e-maj_16
PGDG 4.6.0
e-maj_15
PGDG 4.6.0
e-maj_14
PGDG 4.6.0
e-maj_13
PGDG 4.6.0
d12 x86_64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0
d12 aarch64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0
u22 x86_64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0
u22 aarch64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0
u24 x86_64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0
u24 aarch64 postgresql-17-emaj
PIGSTY 4.6.0
postgresql-16-emaj
PIGSTY 4.6.0
postgresql-15-emaj
PIGSTY 4.6.0
postgresql-14-emaj
PIGSTY 4.6.0
postgresql-13-emaj
PIGSTY 4.6.0

扩展安装

使用 pig 命令行工具安装 emaj 扩展:

pig ext install emaj

使用 Pigsty剧本 安装 emaj 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["emaj"]}' # -l <集群名>

YUM仓库 手工安装 emaj RPM 包:

dnf install e-maj_17;
dnf install e-maj_16;
dnf install e-maj_15;
dnf install e-maj_14;
dnf install e-maj_13;

APT仓库 手工安装 emaj DEB 包:

apt install postgresql-17-emaj;
apt install postgresql-16-emaj;
apt install postgresql-15-emaj;
apt install postgresql-14-emaj;
apt install postgresql-13-emaj;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 emaj 扩展:

CREATE EXTENSION emaj CASCADE;



7.7 - table_version

PostgreSQL 版本控制表扩展

扩展总览

MIXED 第三方扩展: table_version : PostgreSQL 版本控制表扩展

基本信息

元数据

  • 默认版本: 1.11.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: table_version
  • 所需扩展: plpgsql

软件包

  • RPM仓库:PIGSTY
  • RPM包名:table_version_$v
  • RPM版本:1.11.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-table-version
  • DEB版本:1.11.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 table_version_17
PGDG 1.11.1
table_version_16
PGDG 1.11.1
table_version_15
PGDG 1.11.1
table_version_14
PGDG 1.11.1
table_version_13
PGDG 1.11.1
el8 aarch64 table_version_17
PGDG 1.11.1
table_version_16
PGDG 1.11.1
table_version_15
PGDG 1.11.1
table_version_14
PGDG 1.11.1
table_version_13
PGDG 1.11.1
el9 x86_64 table_version_17
PGDG 1.11.1
table_version_16
PGDG 1.11.1
table_version_15
PGDG 1.11.1
table_version_14
PGDG 1.11.1
table_version_13
PGDG 1.11.1
el9 aarch64 table_version_17
PGDG 1.11.1
table_version_16
PGDG 1.11.1
table_version_15
PGDG 1.11.1
table_version_14
PGDG 1.11.1
table_version_13
PGDG 1.11.1
d12 x86_64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0
d12 aarch64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0
u22 x86_64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0
u22 aarch64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0
u24 x86_64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0
u24 aarch64 postgresql-17-table-version
PIGSTY 1.11.0
postgresql-16-table-version
PIGSTY 1.11.0
postgresql-15-table-version
PIGSTY 1.11.0
postgresql-14-table-version
PIGSTY 1.11.0
postgresql-13-table-version
PIGSTY 1.11.0

扩展安装

使用 pig 命令行工具安装 table_version 扩展:

pig ext install table_version

使用 Pigsty剧本 安装 table_version 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["table_version"]}' # -l <集群名>

YUM仓库 手工安装 table_version RPM 包:

dnf install table_version_17;
dnf install table_version_16;
dnf install table_version_15;
dnf install table_version_14;
dnf install table_version_13;

APT仓库 手工安装 table_version DEB 包:

apt install postgresql-17-table-version;
apt install postgresql-16-table-version;
apt install postgresql-15-table-version;
apt install postgresql-14-table-version;
apt install postgresql-13-table-version;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 table_version 扩展:

CREATE EXTENSION table_version CASCADE;



7.8 - pg_cron

定时任务调度器

扩展总览

PGDG 第一方扩展: pg_cron : 定时任务调度器

基本信息

元数据

  • 默认版本: 1.6.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_cron_$v*
  • RPM版本:1.6
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-cron
  • DEB版本:1.6
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_cron_17
PGDG 1.6.5
pg_cron_16
PGDG 1.6.5
pg_cron_15
PGDG 1.6.5
pg_cron_14
PGDG 1.6.5
pg_cron_13
PGDG 1.6.5
el8 aarch64 pg_cron_17
PGDG 1.6.5
pg_cron_16
PGDG 1.6.5
pg_cron_15
PGDG 1.6.5
pg_cron_14
PGDG 1.6.5
pg_cron_13
PGDG 1.6.5
el9 x86_64 pg_cron_17
PGDG 1.6.5
pg_cron_16
PGDG 1.6.5
pg_cron_15
PGDG 1.6.5
pg_cron_14
PGDG 1.6.5
pg_cron_13
PGDG 1.6.5
el9 aarch64 pg_cron_17
PGDG 1.6.5
pg_cron_16
PGDG 1.6.5
pg_cron_15
PGDG 1.6.5
pg_cron_14
PGDG 1.6.5
pg_cron_13
PGDG 1.6.5
d12 x86_64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5
d12 aarch64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5
u22 x86_64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5
u22 aarch64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5
u24 x86_64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5
u24 aarch64 postgresql-17-cron
PGDG 1.6.5
postgresql-16-cron
PGDG 1.6.5
postgresql-15-cron
PGDG 1.6.5
postgresql-14-cron
PGDG 1.6.5
postgresql-13-cron
PGDG 1.6.5

扩展安装

使用 pig 命令行工具安装 pg_cron 扩展:

pig ext install pg_cron

使用 Pigsty剧本 安装 pg_cron 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_cron"]}' # -l <集群名>

YUM仓库 手工安装 pg_cron RPM 包:

dnf install pg_cron_17*;
dnf install pg_cron_16*;
dnf install pg_cron_15*;
dnf install pg_cron_14*;
dnf install pg_cron_13*;

APT仓库 手工安装 pg_cron DEB 包:

apt install postgresql-17-cron;
apt install postgresql-16-cron;
apt install postgresql-15-cron;
apt install postgresql-14-cron;
apt install postgresql-13-cron;

扩展 pg_cron 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_cron'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_cron 扩展:

CREATE EXTENSION pg_cron;

使用方法

beware that cron.database has to be set before adding to shared_preload_libraries

-- Delete old data on Saturday at 3:30am (GMT)
SELECT cron.schedule('30 3 * * 6', $$DELETE FROM events WHERE event_time < now() - interval '1 week'$$);
 schedule
----------
       42

-- Vacuum every day at 10:00am (GMT)
SELECT cron.schedule('nightly-vacuum', '0 10 * * *', 'VACUUM');
 schedule
----------
       43

-- Change to vacuum at 3:00am (GMT)
SELECT cron.schedule('nightly-vacuum', '0 3 * * *', 'VACUUM');
 schedule
----------
       43

-- Stop scheduling jobs
SELECT cron.unschedule('nightly-vacuum' );
 unschedule 
------------
 t

SELECT cron.unschedule(42);
 unschedule
------------
          t

-- Vacuum every Sunday at 4:00am (GMT) in a database other than the one pg_cron is installed in
SELECT cron.schedule_in_database('weekly-vacuum', '0 4 * * 0', 'VACUUM', 'some_other_database');
 schedule
----------
       44

-- Call a stored procedure every 5 seconds
SELECT cron.schedule('process-updates', '5 seconds', 'CALL process_updates()');

-- Process payroll at 12:00 of the last day of each month
SELECT cron.schedule('process-payroll', '0 12 $ * *', 'CALL process_payroll()');

Crontab format:

 ┌───────────── min (0 - 59)
 │ ┌────────────── hour (0 - 23)
 │ │ ┌─────────────── day of month (1 - 31) or last day of the month ($)
 │ │ │ ┌──────────────── month (1 - 12)
 │ │ │ │ ┌───────────────── day of week (0 - 6) (0 to 6 are Sunday to
 │ │ │ │ │                  Saturday, or use names; 7 is also Sunday)
 │ │ │ │ │
 │ │ │ │ │
 * * * * *



7.9 - pg_task

在特定时间点在后台执行SQL命令

扩展总览

PGDG 第三方扩展: pg_task : 在特定时间点在后台执行SQL命令

基本信息

  • 扩展编号: 1080
  • 扩展名称: pg_task
  • 标准包名: pg_task
  • 扩展类目: TIME
  • 开源协议: MIT
  • 官方网站: https://github.com/RekGRpth/pg_task
  • 编程语言: C
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 1.0.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 无需执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_task_$v*
  • RPM版本:1.0.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-task
  • DEB版本:1.0.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_task_17
PGDG 2.1.7
pg_task_16
PGDG 2.1.7
pg_task_15
PGDG 2.1.7
pg_task_14
PGDG 2.1.7
pg_task_13
PGDG 2.1.7
el8 aarch64 pg_task_17
PGDG 2.1.7
pg_task_16
PGDG 2.1.7
pg_task_15
PGDG 2.1.7
pg_task_14
PGDG 2.1.7
pg_task_13
PGDG 2.1.7
el9 x86_64 pg_task_17
PGDG 2.1.7
pg_task_16
PGDG 2.1.7
pg_task_15
PGDG 2.1.7
pg_task_14
PGDG 2.1.7
pg_task_13
PGDG 2.1.7
el9 aarch64 pg_task_17
PGDG 2.1.7
pg_task_16
PGDG 2.1.7
pg_task_15
PGDG 2.1.7
pg_task_14
PGDG 2.1.7
pg_task_13
PGDG 2.1.7
d12 x86_64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0
d12 aarch64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0
u22 x86_64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0
u22 aarch64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0
u24 x86_64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0
u24 aarch64 postgresql-17-pg-task
PIGSTY 1.0.0
postgresql-16-pg-task
PIGSTY 1.0.0
postgresql-15-pg-task
PIGSTY 1.0.0
postgresql-14-pg-task
PIGSTY 1.0.0
postgresql-13-pg-task
PIGSTY 1.0.0

扩展安装

使用 pig 命令行工具安装 pg_task 扩展:

pig ext install pg_task

使用 Pigsty剧本 安装 pg_task 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_task"]}' # -l <集群名>

YUM仓库 手工安装 pg_task RPM 包:

dnf install pg_task_17*;
dnf install pg_task_16*;
dnf install pg_task_15*;
dnf install pg_task_14*;
dnf install pg_task_13*;

APT仓库 手工安装 pg_task DEB 包:

apt install postgresql-17-pg-task;
apt install postgresql-16-pg-task;
apt install postgresql-15-pg-task;
apt install postgresql-14-pg-task;
apt install postgresql-13-pg-task;

扩展 pg_task 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_task'; # 修改 PG 集群配置

扩展 %s 无需 手工执行 CREATE EXTENSION 命令。




7.10 - pg_later

执行查询,并在稍后异步获取查询结果

扩展总览

PIGSTY 第三方扩展: pg_later : 执行查询,并在稍后异步获取查询结果

基本信息

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pglater
  • 所需扩展: pgmq

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_later_$v
  • RPM版本:0.3.0
  • RPM依赖:pgmq_$v
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-later
  • DEB版本:0.3.0
  • DEB依赖:postgresql-$v-pgmq

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_later_17
PIGSTY 0.3.0
pg_later_16
PIGSTY 0.3.0
pg_later_15
PIGSTY 0.3.0
pg_later_14
PIGSTY 0.3.0
pg_later_13
PIGSTY 0.3.0
el8 aarch64 pg_later_17
PIGSTY 0.3.0
pg_later_16
PIGSTY 0.3.0
pg_later_15
PIGSTY 0.3.0
pg_later_14
PIGSTY 0.3.0
pg_later_13
PIGSTY 0.3.0
el9 x86_64 pg_later_17
PIGSTY 0.3.0
pg_later_16
PIGSTY 0.3.0
pg_later_15
PIGSTY 0.3.0
pg_later_14
PIGSTY 0.3.0
pg_later_13
PIGSTY 0.3.0
el9 aarch64 pg_later_17
PIGSTY 0.3.0
pg_later_16
PIGSTY 0.3.0
pg_later_15
PIGSTY 0.3.0
pg_later_14
PIGSTY 0.3.0
pg_later_13
PIGSTY 0.3.0
d12 x86_64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0
d12 aarch64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0
u22 x86_64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0
u22 aarch64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0
u24 x86_64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0
u24 aarch64 postgresql-17-pg-later
PIGSTY 0.3.0
postgresql-16-pg-later
PIGSTY 0.3.0
postgresql-15-pg-later
PIGSTY 0.3.0
postgresql-14-pg-later
PIGSTY 0.3.0
postgresql-13-pg-later
PIGSTY 0.3.0

扩展安装

使用 pig 命令行工具安装 pg_later 扩展:

pig ext install pg_later

使用 Pigsty剧本 安装 pg_later 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_later"]}' # -l <集群名>

YUM仓库 手工安装 pg_later RPM 包:

dnf install pg_later_17;
dnf install pg_later_16;
dnf install pg_later_15;
dnf install pg_later_14;
dnf install pg_later_13;

APT仓库 手工安装 pg_later DEB 包:

apt install postgresql-17-pg-later;
apt install postgresql-16-pg-later;
apt install postgresql-15-pg-later;
apt install postgresql-14-pg-later;
apt install postgresql-13-pg-later;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_later 扩展:

CREATE EXTENSION pg_later CASCADE;



7.11 - pg_background

在后台运行 SQL 查询

扩展总览

MIXED 第三方扩展: pg_background : 在后台运行 SQL 查询

基本信息

元数据

  • 默认版本: 1.3
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_background_$v*
  • RPM版本:1.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-background
  • DEB版本:1.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_background_17
PGDG 1.3
pg_background_16
PGDG 1.3
pg_background_15
PGDG 1.3
pg_background_14
PGDG 1.3
pg_background_13
PGDG 1.3
el8 aarch64 pg_background_17
PGDG 1.3
pg_background_16
PGDG 1.3
pg_background_15
PGDG 1.3
pg_background_14
PGDG 1.3
pg_background_13
PGDG 1.3
el9 x86_64 pg_background_17
PGDG 1.3
pg_background_16
PGDG 1.3
pg_background_15
PGDG 1.3
pg_background_14
PGDG 1.3
pg_background_13
PGDG 1.3
el9 aarch64 pg_background_17
PGDG 1.3
pg_background_16
PGDG 1.3
pg_background_15
PGDG 1.3
pg_background_14
PGDG 1.3
pg_background_13
PGDG 1.3
d12 x86_64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3
d12 aarch64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3
u22 x86_64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3
u22 aarch64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3
u24 x86_64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3
u24 aarch64 postgresql-17-pg-background
PIGSTY 1.3
postgresql-16-pg-background
PIGSTY 1.3
postgresql-15-pg-background
PIGSTY 1.3
postgresql-14-pg-background
PIGSTY 1.3
postgresql-13-pg-background
PIGSTY 1.3

扩展安装

使用 pig 命令行工具安装 pg_background 扩展:

pig ext install pg_background

使用 Pigsty剧本 安装 pg_background 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_background"]}' # -l <集群名>

YUM仓库 手工安装 pg_background RPM 包:

dnf install pg_background_17*;
dnf install pg_background_16*;
dnf install pg_background_15*;
dnf install pg_background_14*;
dnf install pg_background_13*;

APT仓库 手工安装 pg_background DEB 包:

apt install postgresql-17-pg-background;
apt install postgresql-16-pg-background;
apt install postgresql-15-pg-background;
apt install postgresql-14-pg-background;
apt install postgresql-13-pg-background;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_background 扩展:

CREATE EXTENSION pg_background;



8 - 类目:GIS

地理空间扩展:PostGIS,地理空间数据类型、函数与索引,天空索引 Q3C,OGR FDW, 寻路算法,地理正/逆查询。

GIS 类目共有 19 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
postgis postgis PGDG 3.5.2 GIS GPLv2 PostGIS 几何和地理空间扩展
postgis_topology postgis PGDG 3.5.2 GIS GPLv2 PostGIS 拓扑空间类型和函数
postgis_raster postgis PGDG 3.5.2 GIS GPLv2 PostGIS 光栅类型和函数
postgis_sfcgal postgis PGDG 3.5.2 GIS GPLv2 PostGIS SFCGAL 函数
postgis_tiger_geocoder postgis PGDG 3.5.2 GIS GPLv2 PostGIS tiger 地理编码器和反向地理编码器
address_standardizer postgis PGDG 3.5.2 GIS GPLv2 地址标准化函数。
address_standardizer_data_us postgis PGDG 3.5.2 GIS GPLv2 地址标准化函数:美国数据集示例
pgrouting pgrouting PGDG 3.7.3 GIS GPLv2 提供寻路能力
pointcloud pointcloud MIXED 1.2.5 GIS BSD 3 提供激光雷达点云数据类型支持
pointcloud_postgis pointcloud PGDG 1.2.5 GIS BSD 3 将激光雷达点云与PostGIS几何类型相集成
h3 pg_h3 PGDG 4.2.2 GIS Apache-2.0 H3六边形层级索引支持
h3_postgis pg_h3 PGDG 4.2.2 GIS Apache-2.0 H3与PostGIS集成的扩展插件
q3c q3c MIXED 2.0.1 GIS GPLv2 Q3C天空索引插件
ogr_fdw ogr_fdw PGDG 1.1.6 GIS MIT GIS 数据外部数据源包装器
geoip geoip MIXED 0.3.0 GIS BSD 2 IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)
pg_polyline pg_polyline PIGSTY 0.0.1 GIS MIT Google快速Polyline编码解码扩展
pg_geohash pg_geohash PIGSTY 1.0 GIS MIT 使用GeoHash处理空间坐标的函数包
mobilitydb mobilitydb PGDG 1.2.0 GIS GPLv3 MobilityDB地理空间投影数据管理分析平台
earthdistance earthdistance CONTRIB 1.2 GIS PostgreSQL 计算地球表面上的大圆距离

8.1 - postgis

PostGIS 几何和地理空间扩展

扩展总览

PGDG 第一方扩展: postgis : PostGIS 几何和地理空间扩展

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}'   # postgis35```


[**YUM仓库**](/ext/repo/yum) 手工安装 `postgis` [**RPM**](/ext/list/rpm) 包:

```bash
dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 postgis 扩展:

CREATE EXTENSION postgis;



8.2 - postgis_topology

PostGIS 拓扑空间类型和函数

扩展总览

PGDG 第一方扩展: postgis : PostGIS 拓扑空间类型和函数

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: topology
  • 所需扩展: postgis

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install postgis_topology; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 postgis_topology 扩展:

CREATE EXTENSION postgis_topology CASCADE;



8.3 - postgis_raster

PostGIS 光栅类型和函数

扩展总览

PGDG 第一方扩展: postgis : PostGIS 光栅类型和函数

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: postgis

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install postgis_raster; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 postgis_raster 扩展:

CREATE EXTENSION postgis_raster CASCADE;



8.4 - postgis_sfcgal

PostGIS SFCGAL 函数

扩展总览

PGDG 第一方扩展: postgis : PostGIS SFCGAL 函数

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: postgis

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install postgis_sfcgal; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 postgis_sfcgal 扩展:

CREATE EXTENSION postgis_sfcgal CASCADE;



8.5 - postgis_tiger_geocoder

PostGIS tiger 地理编码器和反向地理编码器

扩展总览

PGDG 第一方扩展: postgis : PostGIS tiger 地理编码器和反向地理编码器

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: tiger
  • 所需扩展: postgis, fuzzystrmatch

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install postgis_tiger_geocoder; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 postgis_tiger_geocoder 扩展:

CREATE EXTENSION postgis_tiger_geocoder CASCADE;



8.6 - address_standardizer

地址标准化函数。

扩展总览

PGDG 第一方扩展: postgis : 地址标准化函数。

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install address_standardizer; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 address_standardizer 扩展:

CREATE EXTENSION address_standardizer;



8.7 - address_standardizer_data_us

地址标准化函数:美国数据集示例

扩展总览

PGDG 第一方扩展: postgis : 地址标准化函数:美国数据集示例

基本信息

元数据

  • 默认版本: 3.5.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:postgis35_$v*
  • RPM版本:3.5.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-postgis-3 postgresql-$v-postgis-3-scripts
  • DEB版本:3.5.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el8 aarch64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 x86_64 postgis35_17
PGDG 3.5.2
postgis35_16
PGDG 3.5.2
postgis35_15
PGDG 3.5.2
postgis35_14
PGDG 3.5.2
postgis35_13
PGDG 3.5.2
el9 aarch64 postgis35_17
PGDG 3.5.3
postgis35_16
PGDG 3.5.3
postgis35_15
PGDG 3.5.3
postgis35_14
PGDG 3.5.3
postgis35_13
PGDG 3.5.2
d12 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
d12 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u22 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 x86_64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg
u24 aarch64 postgresql-17-postgis-3
PGDG 3.5.2+dfsg
postgresql-16-postgis-3
PGDG 3.5.2+dfsg
postgresql-15-postgis-3
PGDG 3.5.2+dfsg
postgresql-14-postgis-3
PGDG 3.5.2+dfsg
postgresql-13-postgis-3
PGDG 3.5.2+dfsg

扩展安装

使用 pig 命令行工具安装 postgis 扩展:

pig ext install postgis; # 扩展名称
pig ext install address_standardizer_data_us; # 标准包名

使用 Pigsty剧本 安装 postgis 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["postgis"]}' # -l <集群名>

YUM仓库 手工安装 postgis RPM 包:

dnf install postgis35_17*;
dnf install postgis35_16*;
dnf install postgis35_15*;
dnf install postgis35_14*;
dnf install postgis35_13*;

APT仓库 手工安装 postgis DEB 包:

apt install postgresql-17-postgis-3 postgresql-17-postgis-3-scripts;
apt install postgresql-16-postgis-3 postgresql-16-postgis-3-scripts;
apt install postgresql-15-postgis-3 postgresql-15-postgis-3-scripts;
apt install postgresql-14-postgis-3 postgresql-14-postgis-3-scripts;
apt install postgresql-13-postgis-3 postgresql-13-postgis-3-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 address_standardizer_data_us 扩展:

CREATE EXTENSION address_standardizer_data_us;



8.8 - pgrouting

提供寻路能力

扩展总览

PGDG 第一方扩展: pgrouting : 提供寻路能力

基本信息

元数据

  • 默认版本: 3.8.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: postgis

软件包

  • RPM仓库:PGDG
  • RPM包名:pgrouting_$v*
  • RPM版本:3.8.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pgrouting postgresql-$v-pgrouting-scripts
  • DEB版本:3.7.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgrouting_17
PGDG 3.8.0
pgrouting_16
PGDG 3.8.0
pgrouting_15
PGDG 3.8.0
pgrouting_14
PGDG 3.8.0
pgrouting_13
PGDG 3.8.0
el8 aarch64 pgrouting_17
PGDG 3.8.0
pgrouting_16
PGDG 3.8.0
pgrouting_15
PGDG 3.8.0
pgrouting_14
PGDG 3.8.0
pgrouting_13
PGDG 3.8.0
el9 x86_64 pgrouting_17
PGDG 3.8.0
pgrouting_16
PGDG 3.8.0
pgrouting_15
PGDG 3.8.0
pgrouting_14
PGDG 3.8.0
pgrouting_13
PGDG 3.8.0
el9 aarch64 pgrouting_17
PGDG 3.8.0
pgrouting_16
PGDG 3.8.0
pgrouting_15
PGDG 3.8.0
pgrouting_14
PGDG 3.8.0
pgrouting_13
PGDG 3.8.0
d12 x86_64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3
d12 aarch64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3
u22 x86_64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3
u22 aarch64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3
u24 x86_64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3
u24 aarch64 postgresql-17-pgrouting
PGDG 3.7.3
postgresql-16-pgrouting
PGDG 3.7.3
postgresql-15-pgrouting
PGDG 3.7.3
postgresql-14-pgrouting
PGDG 3.7.3
postgresql-13-pgrouting
PGDG 3.7.3

扩展安装

使用 pig 命令行工具安装 pgrouting 扩展:

pig ext install pgrouting

使用 Pigsty剧本 安装 pgrouting 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgrouting"]}' # -l <集群名>

YUM仓库 手工安装 pgrouting RPM 包:

dnf install pgrouting_17*;
dnf install pgrouting_16*;
dnf install pgrouting_15*;
dnf install pgrouting_14*;
dnf install pgrouting_13*;

APT仓库 手工安装 pgrouting DEB 包:

apt install postgresql-17-pgrouting postgresql-17-pgrouting-scripts;
apt install postgresql-16-pgrouting postgresql-16-pgrouting-scripts;
apt install postgresql-15-pgrouting postgresql-15-pgrouting-scripts;
apt install postgresql-14-pgrouting postgresql-14-pgrouting-scripts;
apt install postgresql-13-pgrouting postgresql-13-pgrouting-scripts;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgrouting 扩展:

CREATE EXTENSION pgrouting CASCADE;



8.9 - pointcloud

提供激光雷达点云数据类型支持

扩展总览

MIXED 第三方扩展: pointcloud : 提供激光雷达点云数据类型支持

基本信息

元数据

  • 默认版本: 1.2.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pointcloud_$v*
  • RPM版本:1.2.5
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pointcloud
  • DEB版本:1.2.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el8 aarch64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el9 x86_64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el9 aarch64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
d12 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
d12 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u22 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u22 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u24 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u24 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5

扩展安装

使用 pig 命令行工具安装 pointcloud 扩展:

pig ext install pointcloud

使用 Pigsty剧本 安装 pointcloud 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pointcloud"]}' # -l <集群名>

YUM仓库 手工安装 pointcloud RPM 包:

dnf install pointcloud_17*;
dnf install pointcloud_16*;
dnf install pointcloud_15*;
dnf install pointcloud_14*;
dnf install pointcloud_13*;

APT仓库 手工安装 pointcloud DEB 包:

apt install postgresql-17-pointcloud;
apt install postgresql-16-pointcloud;
apt install postgresql-15-pointcloud;
apt install postgresql-14-pointcloud;
apt install postgresql-13-pointcloud;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pointcloud 扩展:

CREATE EXTENSION pointcloud;



8.10 - pointcloud_postgis

将激光雷达点云与PostGIS几何类型相集成

扩展总览

PGDG 第一方扩展: pointcloud : 将激光雷达点云与PostGIS几何类型相集成

基本信息

元数据

  • 默认版本: 1.2.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: postgis, pointcloud

软件包

  • RPM仓库:PGDG
  • RPM包名:pointcloud_$v*
  • RPM版本:1.2.5
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pointcloud
  • DEB版本:1.2.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el8 aarch64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el9 x86_64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
el9 aarch64 pointcloud_17
PGDG 1.2.5
pointcloud_16
PGDG 1.2.5
pointcloud_15
PGDG 1.2.5
pointcloud_14
PGDG 1.2.5
pointcloud_13
PGDG 1.2.5
d12 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
d12 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u22 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u22 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u24 x86_64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5
u24 aarch64 postgresql-17-pointcloud
PGDG 1.2.5
postgresql-16-pointcloud
PGDG 1.2.5
postgresql-15-pointcloud
PGDG 1.2.5
postgresql-14-pointcloud
PGDG 1.2.5
postgresql-13-pointcloud
PGDG 1.2.5

扩展安装

使用 pig 命令行工具安装 pointcloud 扩展:

pig ext install pointcloud; # 扩展名称
pig ext install pointcloud_postgis; # 标准包名

使用 Pigsty剧本 安装 pointcloud 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pointcloud"]}' # -l <集群名>

YUM仓库 手工安装 pointcloud RPM 包:

dnf install pointcloud_17*;
dnf install pointcloud_16*;
dnf install pointcloud_15*;
dnf install pointcloud_14*;
dnf install pointcloud_13*;

APT仓库 手工安装 pointcloud DEB 包:

apt install postgresql-17-pointcloud;
apt install postgresql-16-pointcloud;
apt install postgresql-15-pointcloud;
apt install postgresql-14-pointcloud;
apt install postgresql-13-pointcloud;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pointcloud_postgis 扩展:

CREATE EXTENSION pointcloud_postgis CASCADE;



8.11 - h3

H3六边形层级索引支持

扩展总览

PGDG 第一方扩展: pg_h3 : H3六边形层级索引支持

基本信息

元数据

  • 默认版本: 4.2.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:h3-pg_$v*
  • RPM版本:4.1.3
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-h3
  • DEB版本:4.2.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el8 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 x86_64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
d12 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
d12 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2

扩展安装

使用 pig 命令行工具安装 pg_h3 扩展:

pig ext install pg_h3; # 扩展名称
pig ext install h3; # 标准包名

使用 Pigsty剧本 安装 pg_h3 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_h3"]}' # -l <集群名>

YUM仓库 手工安装 pg_h3 RPM 包:

dnf install h3-pg_17*;
dnf install h3-pg_16*;
dnf install h3-pg_15*;
dnf install h3-pg_14*;
dnf install h3-pg_13*;

APT仓库 手工安装 pg_h3 DEB 包:

apt install postgresql-17-h3;
apt install postgresql-16-h3;
apt install postgresql-15-h3;
apt install postgresql-14-h3;
apt install postgresql-13-h3;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 h3 扩展:

CREATE EXTENSION h3;



8.12 - h3_postgis

H3与PostGIS集成的扩展插件

扩展总览

PGDG 第一方扩展: pg_h3 : H3与PostGIS集成的扩展插件

基本信息

元数据

  • 默认版本: 4.2.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: h3, postgis, postgis_raster

软件包

  • RPM仓库:PGDG
  • RPM包名:h3-pg_$v*
  • RPM版本:4.1.3
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-h3
  • DEB版本:4.2.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el8 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 x86_64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
el9 aarch64 h3-pg_17
PGDG 4.1.3
h3-pg_16
PGDG 4.1.3
h3-pg_15
PGDG 4.1.3
h3-pg_14
PGDG 4.1.3
h3-pg_13
PGDG 4.1.3
d12 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
d12 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u22 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 x86_64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2
u24 aarch64 postgresql-17-h3
PGDG 4.2.2
postgresql-16-h3
PGDG 4.2.2
postgresql-15-h3
PGDG 4.2.2
postgresql-14-h3
PGDG 4.2.2
postgresql-13-h3
PGDG 4.2.2

扩展安装

使用 pig 命令行工具安装 pg_h3 扩展:

pig ext install pg_h3; # 扩展名称
pig ext install h3_postgis; # 标准包名

使用 Pigsty剧本 安装 pg_h3 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_h3"]}' # -l <集群名>

YUM仓库 手工安装 pg_h3 RPM 包:

dnf install h3-pg_17*;
dnf install h3-pg_16*;
dnf install h3-pg_15*;
dnf install h3-pg_14*;
dnf install h3-pg_13*;

APT仓库 手工安装 pg_h3 DEB 包:

apt install postgresql-17-h3;
apt install postgresql-16-h3;
apt install postgresql-15-h3;
apt install postgresql-14-h3;
apt install postgresql-13-h3;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 h3_postgis 扩展:

CREATE EXTENSION h3_postgis CASCADE;



8.13 - q3c

Q3C天空索引插件

扩展总览

MIXED 第三方扩展: q3c : Q3C天空索引插件

基本信息

  • 扩展编号: 1540
  • 扩展名称: q3c
  • 标准包名: q3c
  • 扩展类目: GIS
  • 开源协议: GPLv2
  • 官方网站: https://github.com/segasai/q3c
  • 编程语言: C
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 2.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:q3c_$v*
  • RPM版本:2.0.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-q3c
  • DEB版本:2.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 q3c_17
PIGSTY 2.0.1
q3c_16
PIGSTY 2.0.1
q3c_15
PIGSTY 2.0.1
q3c_14
PIGSTY 2.0.1
q3c_13
PIGSTY 2.0.1
el8 aarch64 q3c_17
PIGSTY 2.0.1
q3c_16
PIGSTY 2.0.1
q3c_15
PIGSTY 2.0.1
q3c_14
PIGSTY 2.0.1
q3c_13
PIGSTY 2.0.1
el9 x86_64 q3c_17
PIGSTY 2.0.1
q3c_16
PIGSTY 2.0.1
q3c_15
PIGSTY 2.0.1
q3c_14
PIGSTY 2.0.1
q3c_13
PIGSTY 2.0.1
el9 aarch64 q3c_17
PIGSTY 2.0.1
q3c_16
PIGSTY 2.0.1
q3c_15
PIGSTY 2.0.1
q3c_14
PIGSTY 2.0.1
q3c_13
PIGSTY 2.0.1
d12 x86_64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1
d12 aarch64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1
u22 x86_64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1
u22 aarch64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1
u24 x86_64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1
u24 aarch64 postgresql-17-q3c
PGDG 2.0.1
postgresql-16-q3c
PGDG 2.0.1
postgresql-15-q3c
PGDG 2.0.1
postgresql-14-q3c
PGDG 2.0.1
postgresql-13-q3c
PGDG 2.0.1

扩展安装

使用 pig 命令行工具安装 q3c 扩展:

pig ext install q3c

使用 Pigsty剧本 安装 q3c 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["q3c"]}' # -l <集群名>

YUM仓库 手工安装 q3c RPM 包:

dnf install q3c_17*;
dnf install q3c_16*;
dnf install q3c_15*;
dnf install q3c_14*;
dnf install q3c_13*;

APT仓库 手工安装 q3c DEB 包:

apt install postgresql-17-q3c;
apt install postgresql-16-q3c;
apt install postgresql-15-q3c;
apt install postgresql-14-q3c;
apt install postgresql-13-q3c;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 q3c 扩展:

CREATE EXTENSION q3c;



8.14 - ogr_fdw

GIS 数据外部数据源包装器

扩展总览

PGDG 第一方扩展: ogr_fdw : GIS 数据外部数据源包装器

基本信息

元数据

  • 默认版本: 1.1.6
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:ogr_fdw_$v*
  • RPM版本:1.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-ogr-fdw
  • DEB版本:1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 ogr_fdw_17
PGDG 1.1.6
ogr_fdw_16
PGDG 1.1.6
ogr_fdw_15
PGDG 1.1.6
ogr_fdw_14
PGDG 1.1.6
ogr_fdw_13
PGDG 1.1.6
el8 aarch64 ogr_fdw_17
PGDG 1.1.6
ogr_fdw_16
PGDG 1.1.6
ogr_fdw_15
PGDG 1.1.6
ogr_fdw_14
PGDG 1.1.6
ogr_fdw_13
PGDG 1.1.6
el9 x86_64 ogr_fdw_17
PGDG 1.1.6
ogr_fdw_16
PGDG 1.1.6
ogr_fdw_15
PGDG 1.1.6
ogr_fdw_14
PGDG 1.1.6
ogr_fdw_13
PGDG 1.1.6
el9 aarch64 ogr_fdw_17
PGDG 1.1.6
ogr_fdw_16
PGDG 1.1.6
ogr_fdw_15
PGDG 1.1.6
ogr_fdw_14
PGDG 1.1.6
ogr_fdw_13
PGDG 1.1.6
d12 x86_64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6
d12 aarch64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6
u22 x86_64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6
u22 aarch64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6
u24 x86_64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6
u24 aarch64 postgresql-17-ogr-fdw
PGDG 1.1.6
postgresql-16-ogr-fdw
PGDG 1.1.6
postgresql-15-ogr-fdw
PGDG 1.1.6
postgresql-14-ogr-fdw
PGDG 1.1.6
postgresql-13-ogr-fdw
PGDG 1.1.6

扩展安装

使用 pig 命令行工具安装 ogr_fdw 扩展:

pig ext install ogr_fdw

使用 Pigsty剧本 安装 ogr_fdw 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["ogr_fdw"]}' # -l <集群名>

YUM仓库 手工安装 ogr_fdw RPM 包:

dnf install ogr_fdw_17*;
dnf install ogr_fdw_16*;
dnf install ogr_fdw_15*;
dnf install ogr_fdw_14*;
dnf install ogr_fdw_13*;

APT仓库 手工安装 ogr_fdw DEB 包:

apt install postgresql-17-ogr-fdw;
apt install postgresql-16-ogr-fdw;
apt install postgresql-15-ogr-fdw;
apt install postgresql-14-ogr-fdw;
apt install postgresql-13-ogr-fdw;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 ogr_fdw 扩展:

CREATE EXTENSION ogr_fdw;



8.15 - geoip

IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)

扩展总览

MIXED 第三方扩展: geoip : IP 地理位置扩展(围绕 MaxMind GeoLite 数据集的包装器)

基本信息

  • 扩展编号: 1560
  • 扩展名称: geoip
  • 标准包名: geoip
  • 扩展类目: GIS
  • 开源协议: BSD 2
  • 官方网站: https://github.com/tvondra/geoip
  • 编程语言: 纯SQL
  • 其他标签: pgdg-flaw
  • 备注信息:

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: geoip
  • 所需扩展: ip4r

软件包

  • RPM仓库:PIGSTY
  • RPM包名:geoip_$v
  • RPM版本:0.3.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-geoip
  • DEB版本:0.3.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 geoip_17
PIGSTY 0.3.0
geoip_16
PIGSTY 0.3.0
geoip_15
PIGSTY 0.3.0
geoip_14
PIGSTY 0.3.0
geoip_13
PIGSTY 0.3.0
el8 aarch64 geoip_17
PIGSTY 0.3.0
geoip_16
PIGSTY 0.3.0
geoip_15
PIGSTY 0.3.0
geoip_14
PIGSTY 0.3.0
geoip_13
PIGSTY 0.3.0
el9 x86_64 geoip_17
PIGSTY 0.3.0
geoip_16
PIGSTY 0.3.0
geoip_15
PIGSTY 0.3.0
geoip_14
PIGSTY 0.3.0
geoip_13
PIGSTY 0.3.0
el9 aarch64 geoip_17
PIGSTY 0.3.0
geoip_16
PIGSTY 0.3.0
geoip_15
PIGSTY 0.3.0
geoip_14
PIGSTY 0.3.0
geoip_13
PIGSTY 0.3.0
d12 x86_64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0
d12 aarch64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0
u22 x86_64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0
u22 aarch64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0
u24 x86_64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0
u24 aarch64 postgresql-17-geoip
PIGSTY 0.3.0
postgresql-16-geoip
PIGSTY 0.3.0
postgresql-15-geoip
PIGSTY 0.3.0
postgresql-14-geoip
PIGSTY 0.3.0
postgresql-13-geoip
PIGSTY 0.3.0

扩展安装

使用 pig 命令行工具安装 geoip 扩展:

pig ext install geoip

使用 Pigsty剧本 安装 geoip 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["geoip"]}' # -l <集群名>

YUM仓库 手工安装 geoip RPM 包:

dnf install geoip_17;
dnf install geoip_16;
dnf install geoip_15;
dnf install geoip_14;
dnf install geoip_13;

APT仓库 手工安装 geoip DEB 包:

apt install postgresql-17-geoip;
apt install postgresql-16-geoip;
apt install postgresql-15-geoip;
apt install postgresql-14-geoip;
apt install postgresql-13-geoip;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 geoip 扩展:

CREATE EXTENSION geoip CASCADE;



8.16 - pg_polyline

Google快速Polyline编码解码扩展

扩展总览

PIGSTY 第三方扩展: pg_polyline : Google快速Polyline编码解码扩展

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_polyline_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-polyline
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_polyline_17
PIGSTY 0.0.1
pg_polyline_16
PIGSTY 0.0.1
pg_polyline_15
PIGSTY 0.0.1
pg_polyline_14
PIGSTY 0.0.1
pg_polyline_13
PIGSTY 0.0.1
el8 aarch64 pg_polyline_17
PIGSTY 0.0.1
pg_polyline_16
PIGSTY 0.0.1
pg_polyline_15
PIGSTY 0.0.1
pg_polyline_14
PIGSTY 0.0.1
pg_polyline_13
PIGSTY 0.0.1
el9 x86_64 pg_polyline_17
PIGSTY 0.0.1
pg_polyline_16
PIGSTY 0.0.1
pg_polyline_15
PIGSTY 0.0.1
pg_polyline_14
PIGSTY 0.0.1
pg_polyline_13
PIGSTY 0.0.1
el9 aarch64 pg_polyline_17
PIGSTY 0.0.1
pg_polyline_16
PIGSTY 0.0.1
pg_polyline_15
PIGSTY 0.0.1
pg_polyline_14
PIGSTY 0.0.1
pg_polyline_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-polyline
PIGSTY 0.0.1
postgresql-16-pg-polyline
PIGSTY 0.0.1
postgresql-15-pg-polyline
PIGSTY 0.0.1
postgresql-14-pg-polyline
PIGSTY 0.0.1
postgresql-13-pg-polyline
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_polyline 扩展:

pig ext install pg_polyline

使用 Pigsty剧本 安装 pg_polyline 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_polyline"]}' # -l <集群名>

YUM仓库 手工安装 pg_polyline RPM 包:

dnf install pg_polyline_17;
dnf install pg_polyline_16;
dnf install pg_polyline_15;
dnf install pg_polyline_14;
dnf install pg_polyline_13;

APT仓库 手工安装 pg_polyline DEB 包:

apt install postgresql-17-pg-polyline;
apt install postgresql-16-pg-polyline;
apt install postgresql-15-pg-polyline;
apt install postgresql-14-pg-polyline;
apt install postgresql-13-pg-polyline;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_polyline 扩展:

CREATE EXTENSION pg_polyline;



8.17 - pg_geohash

使用GeoHash处理空间坐标的函数包

扩展总览

PIGSTY 第三方扩展: pg_geohash : 使用GeoHash处理空间坐标的函数包

基本信息

  • 扩展编号: 1590
  • 扩展名称: pg_geohash
  • 标准包名: pg_geohash
  • 扩展类目: GIS
  • 开源协议: MIT
  • 官方网站: https://github.com/jistok/pg_geohash
  • 编程语言: C
  • 其他标签: nil-lic
  • 备注信息: 无

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_geohash_$v*
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-geohash
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_geohash_17
PIGSTY 1.0
pg_geohash_16
PIGSTY 1.0
pg_geohash_15
PIGSTY 1.0
pg_geohash_14
PIGSTY 1.0
pg_geohash_13
PIGSTY 1.0
el8 aarch64 pg_geohash_17
PIGSTY 1.0
pg_geohash_16
PIGSTY 1.0
pg_geohash_15
PIGSTY 1.0
pg_geohash_14
PIGSTY 1.0
pg_geohash_13
PIGSTY 1.0
el9 x86_64 pg_geohash_17
PIGSTY 1.0
pg_geohash_16
PIGSTY 1.0
pg_geohash_15
PIGSTY 1.0
pg_geohash_14
PIGSTY 1.0
pg_geohash_13
PIGSTY 1.0
el9 aarch64 pg_geohash_17
PIGSTY 1.0
pg_geohash_16
PIGSTY 1.0
pg_geohash_15
PIGSTY 1.0
pg_geohash_14
PIGSTY 1.0
pg_geohash_13
PIGSTY 1.0
d12 x86_64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0
d12 aarch64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0
u22 x86_64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0
u22 aarch64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0
u24 x86_64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0
u24 aarch64 postgresql-17-pg-geohash
PIGSTY 1.0
postgresql-16-pg-geohash
PIGSTY 1.0
postgresql-15-pg-geohash
PIGSTY 1.0
postgresql-14-pg-geohash
PIGSTY 1.0
postgresql-13-pg-geohash
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 pg_geohash 扩展:

pig ext install pg_geohash

使用 Pigsty剧本 安装 pg_geohash 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_geohash"]}' # -l <集群名>

YUM仓库 手工安装 pg_geohash RPM 包:

dnf install pg_geohash_17*;
dnf install pg_geohash_16*;
dnf install pg_geohash_15*;
dnf install pg_geohash_14*;
dnf install pg_geohash_13*;

APT仓库 手工安装 pg_geohash DEB 包:

apt install postgresql-17-pg-geohash;
apt install postgresql-16-pg-geohash;
apt install postgresql-15-pg-geohash;
apt install postgresql-14-pg-geohash;
apt install postgresql-13-pg-geohash;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_geohash 扩展:

CREATE EXTENSION pg_geohash;



8.18 - mobilitydb

MobilityDB地理空间投影数据管理分析平台

扩展总览

PGDG 第一方扩展: mobilitydb : MobilityDB地理空间投影数据管理分析平台

基本信息

元数据

  • 默认版本: 1.2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: postgis

软件包

  • RPM仓库:None
  • RPM包名:无
  • RPM版本:无
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-mobilitydb
  • DEB版本:1.2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0
d12 aarch64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0
u22 x86_64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0
u22 aarch64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0
u24 x86_64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0
u24 aarch64 postgresql-17-mobilitydb
PGDG 1.2.0
postgresql-16-mobilitydb
PGDG 1.2.0
postgresql-15-mobilitydb
PGDG 1.2.0
postgresql-14-mobilitydb
PGDG 1.2.0
postgresql-13-mobilitydb
PGDG 1.2.0

扩展安装

使用 pig 命令行工具安装 mobilitydb 扩展:

pig ext install mobilitydb

使用 Pigsty剧本 安装 mobilitydb 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["mobilitydb"]}' # -l <集群名>

APT仓库 手工安装 mobilitydb DEB 包:

apt install postgresql-17-mobilitydb;
apt install postgresql-16-mobilitydb;
apt install postgresql-15-mobilitydb;
apt install postgresql-14-mobilitydb;
apt install postgresql-13-mobilitydb;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 mobilitydb 扩展:

CREATE EXTENSION mobilitydb CASCADE;



8.19 - tzf

快速根据GPS经纬度坐标查找时区

扩展总览

PIGSTY 第三方扩展: pg_tzf : 快速根据GPS经纬度坐标查找时区

基本信息

  • 扩展编号: 1680
  • 扩展名称: tzf
  • 标准包名: pg_tzf
  • 扩展类目: GIS
  • 开源协议: MIT
  • 官方网站: https://github.com/ringsaturn/pg-tzf
  • 编程语言: Rust
  • 其他标签: pgrx
  • 备注信息:

元数据

  • 默认版本: 0.2.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_tzf_$v
  • RPM版本:0.2.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-tzf
  • DEB版本:0.2.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_tzf_17
PIGSTY 0.2.2
pg_tzf_16
PIGSTY 0.2.2
pg_tzf_15
PIGSTY 0.2.2
pg_tzf_14
PIGSTY 0.2.2
pg_tzf_13
PIGSTY 0.2.2
el8 aarch64 pg_tzf_17
PIGSTY 0.2.2
pg_tzf_16
PIGSTY 0.2.2
pg_tzf_15
PIGSTY 0.2.2
pg_tzf_14
PIGSTY 0.2.2
pg_tzf_13
PIGSTY 0.2.2
el9 x86_64 pg_tzf_17
PIGSTY 0.2.2
pg_tzf_16
PIGSTY 0.2.2
pg_tzf_15
PIGSTY 0.2.2
pg_tzf_14
PIGSTY 0.2.2
pg_tzf_13
PIGSTY 0.2.2
el9 aarch64 pg_tzf_17
PIGSTY 0.2.2
pg_tzf_16
PIGSTY 0.2.2
pg_tzf_15
PIGSTY 0.2.2
pg_tzf_14
PIGSTY 0.2.2
pg_tzf_13
PIGSTY 0.2.2
d12 x86_64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2
d12 aarch64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2
u22 x86_64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2
u22 aarch64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2
u24 x86_64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2
u24 aarch64 postgresql-17-tzf
PIGSTY 0.2.2
postgresql-16-tzf
PIGSTY 0.2.2
postgresql-15-tzf
PIGSTY 0.2.2
postgresql-14-tzf
PIGSTY 0.2.2
postgresql-13-tzf
PIGSTY 0.2.2

扩展安装

使用 pig 命令行工具安装 pg_tzf 扩展:

pig ext install pg_tzf; # 扩展名称
pig ext install tzf; # 标准包名

使用 Pigsty剧本 安装 pg_tzf 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_tzf"]}' # -l <集群名>

YUM仓库 手工安装 pg_tzf RPM 包:

dnf install pg_tzf_17;
dnf install pg_tzf_16;
dnf install pg_tzf_15;
dnf install pg_tzf_14;
dnf install pg_tzf_13;

APT仓库 手工安装 pg_tzf DEB 包:

apt install postgresql-17-tzf;
apt install postgresql-16-tzf;
apt install postgresql-15-tzf;
apt install postgresql-14-tzf;
apt install postgresql-13-tzf;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 tzf 扩展:

CREATE EXTENSION tzf;



8.20 - earthdistance

计算地球表面上的大圆距离

扩展总览

CONTRIB 自带扩展: earthdistance : 计算地球表面上的大圆距离

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: cube

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 earthdistance 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 earthdistance RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 earthdistance DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 earthdistance 扩展:

CREATE EXTENSION earthdistance CASCADE;



9 - 类目:RAG

AI与RAG扩展插件:向量数据库,DiskANN 向量索引,相似度度量函数集,库内机器学习与推理 pgml,等等。

RAG 类目共有 10 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
vector pgvector PGDG 0.8.0 RAG PostgreSQL 向量数据类型和 ivfflat / hnsw 访问方法
vchord vchord PIGSTY 0.2.2 RAG AGPLv3 使用Rust重写的高性能向量扩展
vectorscale pgvectorscale PIGSTY 0.6.0 RAG PostgreSQL 使用DiskANN算法对向量进行高效索引
vectorize pg_vectorize PIGSTY 0.21.1 RAG PostgreSQL 在PostgreSQL中封装RAG向量检索服务
pg_similarity pg_similarity MIXED 1.0 RAG BSD 3 提供17种距离度量函数
smlar smlar PIGSTY 1.0 RAG PostgreSQL 高效的相似度搜索函数
pg_summarize pg_summarize PIGSTY 0.0.1 RAG PostgreSQL 使用LLM对文本字段进行总结
pg_tiktoken pg_tiktoken PIGSTY 0.0.1 RAG Apache-2.0 在PostgreSQL中计算OpenAI使用的Token数
pg4ml pg4ml PIGSTY 2.0 RAG AGPLv3 PG4ML是一个机器学习框架
pgml pgml PIGSTY 2.10.0 RAG MIT PostgresML:用SQL运行机器学习算法并训练模型

9.1 - vector

向量数据类型和 ivfflat / hnsw 访问方法

扩展总览

PGDG 第一方扩展: pgvector : 向量数据类型和 ivfflat / hnsw 访问方法

基本信息

元数据

  • 默认版本: 0.8.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pgvector_$v*
  • RPM版本:0.8.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pgvector
  • DEB版本:0.8.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgvector_17
PGDG 0.8.0
pgvector_16
PGDG 0.8.0
pgvector_15
PGDG 0.8.0
pgvector_14
PGDG 0.8.0
pgvector_13
PGDG 0.8.0
el8 aarch64 pgvector_17
PGDG 0.8.0
pgvector_16
PGDG 0.8.0
pgvector_15
PGDG 0.8.0
pgvector_14
PGDG 0.8.0
pgvector_13
PGDG 0.8.0
el9 x86_64 pgvector_17
PGDG 0.8.0
pgvector_16
PGDG 0.8.0
pgvector_15
PGDG 0.8.0
pgvector_14
PGDG 0.8.0
pgvector_13
PGDG 0.8.0
el9 aarch64 pgvector_17
PGDG 0.8.0
pgvector_16
PGDG 0.8.0
pgvector_15
PGDG 0.8.0
pgvector_14
PGDG 0.8.0
pgvector_13
PGDG 0.8.0
d12 x86_64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0
d12 aarch64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0
u22 x86_64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0
u22 aarch64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0
u24 x86_64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0
u24 aarch64 postgresql-17-pgvector
PGDG 0.8.0
postgresql-16-pgvector
PGDG 0.8.0
postgresql-15-pgvector
PGDG 0.8.0
postgresql-14-pgvector
PGDG 0.8.0
postgresql-13-pgvector
PGDG 0.8.0

扩展安装

使用 pig 命令行工具安装 pgvector 扩展:

pig ext install pgvector; # 扩展名称
pig ext install vector; # 标准包名

使用 Pigsty剧本 安装 pgvector 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgvector"]}' # -l <集群名>

YUM仓库 手工安装 pgvector RPM 包:

dnf install pgvector_17*;
dnf install pgvector_16*;
dnf install pgvector_15*;
dnf install pgvector_14*;
dnf install pgvector_13*;

APT仓库 手工安装 pgvector DEB 包:

apt install postgresql-17-pgvector;
apt install postgresql-16-pgvector;
apt install postgresql-15-pgvector;
apt install postgresql-14-pgvector;
apt install postgresql-13-pgvector;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 vector 扩展:

CREATE EXTENSION vector;



9.2 - vchord

使用Rust重写的高性能向量扩展

扩展总览

PIGSTY 第三方扩展: vchord : 使用Rust重写的高性能向量扩展

基本信息

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: vector

软件包

  • RPM仓库:PIGSTY
  • RPM包名:vchord_$v
  • RPM版本:0.3.0
  • RPM依赖:pgvector_$v
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-vchord
  • DEB版本:0.3.0
  • DEB依赖:postgresql-$v-pgvector

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 vchord_17
PIGSTY 0.3.0
vchord_16
PIGSTY 0.3.0
vchord_15
PIGSTY 0.3.0
vchord_14
PIGSTY 0.3.0
el8 aarch64 vchord_17
PIGSTY 0.3.0
vchord_16
PIGSTY 0.3.0
vchord_15
PIGSTY 0.3.0
vchord_14
PIGSTY 0.3.0
el9 x86_64 vchord_17
PIGSTY 0.3.0
vchord_16
PIGSTY 0.3.0
vchord_15
PIGSTY 0.3.0
vchord_14
PIGSTY 0.3.0
el9 aarch64 vchord_17
PIGSTY 0.3.0
vchord_16
PIGSTY 0.3.0
vchord_15
PIGSTY 0.3.0
vchord_14
PIGSTY 0.3.0
d12 x86_64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0
d12 aarch64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0
u22 x86_64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0
u22 aarch64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0
u24 x86_64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0
u24 aarch64 postgresql-17-vchord
PIGSTY 0.3.0
postgresql-16-vchord
PIGSTY 0.3.0
postgresql-15-vchord
PIGSTY 0.3.0
postgresql-14-vchord
PIGSTY 0.3.0

扩展安装

使用 pig 命令行工具安装 vchord 扩展:

pig ext install vchord

使用 Pigsty剧本 安装 vchord 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["vchord"]}' # -l <集群名>

YUM仓库 手工安装 vchord RPM 包:

dnf install vchord_17;
dnf install vchord_16;
dnf install vchord_15;
dnf install vchord_14;

APT仓库 手工安装 vchord DEB 包:

apt install postgresql-17-vchord;
apt install postgresql-16-vchord;
apt install postgresql-15-vchord;
apt install postgresql-14-vchord;

扩展 vchord 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'vchord'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 vchord 扩展:

CREATE EXTENSION vchord CASCADE;

使用方法

Add this extension to shared_preload_libraries in postgresql.conf

CREATE EXTENSION vchord CASCADE;

Create Index on embedding:

CREATE INDEX ON gist_train USING vchordrq (embedding vector_l2_ops) WITH (options = $$
residual_quantization = true
[build.internal]
lists = [4096]
spherical_centroids = false
$$);

Docs

Query

The query statement is exactly the same as pgvector. VectorChord supports any filter operation and WHERE/JOIN clauses like pgvecto.rs with VBASE.

SELECT * FROM items ORDER BY embedding <-> '[3,1,2]' LIMIT 5;

Supported distance functions are:

  • <-> - L2 distance
  • <#> - (negative) inner product
  • <=> - cosine distance

Query Performance Tuning

You can fine-tune the search performance by adjusting the probes and epsilon parameters:

-- Set probes to control the number of lists scanned. 
-- Recommended range: 3%–10% of the total `lists` value.
SET vchordrq.probes = 100;

-- Set epsilon to control the reranking precision.
-- Larger value means more rerank for higher recall rate.
-- Don't change it unless you only have limited memory.
-- Recommended range: 1.0–1.9. Default value is 1.9.
SET vchordrq.epsilon = 1.9;

-- vchordrq relies on a projection matrix to optimize performance.
-- Add your vector dimensions to the `prewarm_dim` list to reduce latency.
-- If this is not configured, the first query will have higher latency as the matrix is generated on demand.
-- Default value: '64,128,256,384,512,768,1024,1536'
-- Note: This setting requires a database restart to take effect.
ALTER SYSTEM SET vchordrq.prewarm_dim = '64,128,256,384,512,768,1024,1536';

And for postgres’s setting

-- If using SSDs, set `effective_io_concurrency` to 200 for faster disk I/O.
SET effective_io_concurrency = 200;

-- Disable JIT (Just-In-Time Compilation) as it offers minimal benefit (1–2%) 
-- and adds overhead for single-query workloads.
SET jit = off;

-- Allocate at least 25% of total memory to `shared_buffers`. 
-- For disk-heavy workloads, you can increase this to up to 90% of total memory. You may also want to disable swap with network storage to avoid io hang.
-- Note: A restart is required for this setting to take effect.
ALTER SYSTEM SET shared_buffers = '8GB';

Indexing prewarm

To prewarm the index, you can use the following SQL. It will significantly improve performance when using limited memory.

-- vchordrq_prewarm(index_name::regclass) to prewarm the index into the shared buffer
SELECT vchordrq_prewarm('gist_train_embedding_idx'::regclass)"

Index Build Time

Index building can parallelized, and with external centroid precomputation, the total time is primarily limited by disk speed. Optimize parallelism using the following settings:

-- Set this to the number of CPU cores available for parallel operations.
SET max_parallel_maintenance_workers = 8;
SET max_parallel_workers = 8;

-- Adjust the total number of worker processes. 
-- Note: A restart is required for this setting to take effect.
ALTER SYSTEM SET max_worker_processes = 8;

Indexing Progress

You can check the indexing progress by querying the pg_stat_progress_create_index view.

SELECT phase, round(100.0 * blocks_done / nullif(blocks_total, 0), 1) AS "%" FROM pg_stat_progress_create_index;

External Index Precomputation

Unlike pure SQL, an external index precomputation will first do clustering outside and insert centroids to a PostgreSQL table. Although it might be more complicated, external build is definitely much faster on larger dataset (>5M).

To get started, you need to do a clustering of vectors using faiss, scikit-learn or any other clustering library.

The centroids should be preset in a table of any name with 3 columns:

  • id(integer): id of each centroid, should be unique
  • parent(integer, nullable): parent id of each centroid, should be NULL for normal clustering
  • vector(vector): representation of each centroid, pgvector vector type

And example could be like this:

-- Create table of centroids
CREATE TABLE public.centroids (id integer NOT NULL UNIQUE, parent integer, vector vector(768));
-- Insert centroids into it
INSERT INTO public.centroids (id, parent, vector) VALUES (1, NULL, '{0.1, 0.2, 0.3, ..., 0.768}');
INSERT INTO public.centroids (id, parent, vector) VALUES (2, NULL, '{0.4, 0.5, 0.6, ..., 0.768}');
INSERT INTO public.centroids (id, parent, vector) VALUES (3, NULL, '{0.7, 0.8, 0.9, ..., 0.768}');
-- ...

-- Create index using the centroid table
CREATE INDEX ON gist_train USING vchordrq (embedding vector_l2_ops) WITH (options = $$
[build.external]
table = 'public.centroids'
$$);

To simplify the workflow, we provide end-to-end scripts for external index pre-computation, see scripts.


Limitations

  • Data Type Support: Currently, only the f32 data type is supported for vectors.
  • Architecture Compatibility: The fast-scan kernel is optimized for x86_64 architectures. While it runs on aarch64, performance may be lower.
  • KMeans Clustering: The built-in KMeans clustering is not yet fully optimized and may require substantial memory. We strongly recommend using external centroid precomputation for efficient index construction.



9.3 - vectorscale

使用DiskANN算法对向量进行高效索引

扩展总览

PIGSTY 第三方扩展: pgvectorscale : 使用DiskANN算法对向量进行高效索引

基本信息

元数据

  • 默认版本: 0.7.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: vector

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgvectorscale_$v
  • RPM版本:0.7.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgvectorscale
  • DEB版本:0.7.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgvectorscale_17
PIGSTY 0.7.1
pgvectorscale_16
PIGSTY 0.7.1
pgvectorscale_15
PIGSTY 0.7.1
pgvectorscale_14
PIGSTY 0.7.1
pgvectorscale_13
PIGSTY 0.7.1
el8 aarch64 pgvectorscale_17
PIGSTY 0.7.1
pgvectorscale_16
PIGSTY 0.7.1
pgvectorscale_15
PIGSTY 0.7.1
pgvectorscale_14
PIGSTY 0.7.1
pgvectorscale_13
PIGSTY 0.7.1
el9 x86_64 pgvectorscale_17
PIGSTY 0.7.1
pgvectorscale_16
PIGSTY 0.7.1
pgvectorscale_15
PIGSTY 0.7.1
pgvectorscale_14
PIGSTY 0.7.1
pgvectorscale_13
PIGSTY 0.7.1
el9 aarch64 pgvectorscale_17
PIGSTY 0.7.1
pgvectorscale_16
PIGSTY 0.7.1
pgvectorscale_15
PIGSTY 0.7.1
pgvectorscale_14
PIGSTY 0.7.1
pgvectorscale_13
PIGSTY 0.7.1
d12 x86_64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1
d12 aarch64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1
u22 x86_64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1
u22 aarch64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1
u24 x86_64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1
u24 aarch64 postgresql-17-pgvectorscale
PIGSTY 0.7.1
postgresql-16-pgvectorscale
PIGSTY 0.7.1
postgresql-15-pgvectorscale
PIGSTY 0.7.1
postgresql-14-pgvectorscale
PIGSTY 0.7.1
postgresql-13-pgvectorscale
PIGSTY 0.7.1

扩展安装

使用 pig 命令行工具安装 pgvectorscale 扩展:

pig ext install pgvectorscale; # 扩展名称
pig ext install vectorscale; # 标准包名

使用 Pigsty剧本 安装 pgvectorscale 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgvectorscale"]}' # -l <集群名>

YUM仓库 手工安装 pgvectorscale RPM 包:

dnf install pgvectorscale_17;
dnf install pgvectorscale_16;
dnf install pgvectorscale_15;
dnf install pgvectorscale_14;
dnf install pgvectorscale_13;

APT仓库 手工安装 pgvectorscale DEB 包:

apt install postgresql-17-pgvectorscale;
apt install postgresql-16-pgvectorscale;
apt install postgresql-15-pgvectorscale;
apt install postgresql-14-pgvectorscale;
apt install postgresql-13-pgvectorscale;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 vectorscale 扩展:

CREATE EXTENSION vectorscale CASCADE;



9.4 - vectorize

在PostgreSQL中封装RAG向量检索服务

扩展总览

PIGSTY 第三方扩展: pg_vectorize : 在PostgreSQL中封装RAG向量检索服务

基本信息

元数据

  • 默认版本: 0.22.2
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: vectorize
  • 所需扩展: pg_cron, pgmq, vector

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_vectorize_$v
  • RPM版本:0.22.2
  • RPM依赖:pgmq_$v, pg_cron_$v, pgvector_$v
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-vectorize
  • DEB版本:0.22.2
  • DEB依赖:postgresql-$v-pgmq, postgresql-$v-pg-cron, postgresql-$v-pgvector

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_vectorize_17
PIGSTY 0.22.2
pg_vectorize_16
PIGSTY 0.22.2
pg_vectorize_15
PIGSTY 0.22.2
pg_vectorize_14
PIGSTY 0.22.2
el8 aarch64 pg_vectorize_17
PIGSTY 0.22.2
pg_vectorize_16
PIGSTY 0.22.2
pg_vectorize_15
PIGSTY 0.22.2
pg_vectorize_14
PIGSTY 0.22.2
el9 x86_64 pg_vectorize_17
PIGSTY 0.22.2
pg_vectorize_16
PIGSTY 0.22.2
pg_vectorize_15
PIGSTY 0.22.2
pg_vectorize_14
PIGSTY 0.22.2
el9 aarch64 pg_vectorize_17
PIGSTY 0.22.2
pg_vectorize_16
PIGSTY 0.22.2
pg_vectorize_15
PIGSTY 0.22.2
pg_vectorize_14
PIGSTY 0.22.2
d12 x86_64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2
d12 aarch64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2
u22 x86_64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2
u22 aarch64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2
u24 x86_64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2
u24 aarch64 postgresql-17-pg-vectorize
PIGSTY 0.22.2
postgresql-16-pg-vectorize
PIGSTY 0.22.2
postgresql-15-pg-vectorize
PIGSTY 0.22.2
postgresql-14-pg-vectorize
PIGSTY 0.22.2

扩展安装

使用 pig 命令行工具安装 pg_vectorize 扩展:

pig ext install pg_vectorize; # 扩展名称
pig ext install vectorize; # 标准包名

使用 Pigsty剧本 安装 pg_vectorize 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_vectorize"]}' # -l <集群名>

YUM仓库 手工安装 pg_vectorize RPM 包:

dnf install pg_vectorize_17;
dnf install pg_vectorize_16;
dnf install pg_vectorize_15;
dnf install pg_vectorize_14;

APT仓库 手工安装 pg_vectorize DEB 包:

apt install postgresql-17-pg-vectorize;
apt install postgresql-16-pg-vectorize;
apt install postgresql-15-pg-vectorize;
apt install postgresql-14-pg-vectorize;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 vectorize 扩展:

CREATE EXTENSION vectorize CASCADE;



9.5 - pg_similarity

提供17种距离度量函数

扩展总览

MIXED 第三方扩展: pg_similarity : 提供17种距离度量函数

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_similarity_$v*
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-similarity
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_similarity_17
PIGSTY 1.0
pg_similarity_16
PIGSTY 1.0
pg_similarity_15
PIGSTY 1.0
pg_similarity_14
PIGSTY 1.0
pg_similarity_13
PIGSTY 1.0
el8 aarch64 pg_similarity_17
PIGSTY 1.0
pg_similarity_16
PIGSTY 1.0
pg_similarity_15
PIGSTY 1.0
pg_similarity_14
PIGSTY 1.0
pg_similarity_13
PIGSTY 1.0
el9 x86_64 pg_similarity_17
PIGSTY 1.0
pg_similarity_16
PIGSTY 1.0
pg_similarity_15
PIGSTY 1.0
pg_similarity_14
PIGSTY 1.0
pg_similarity_13
PIGSTY 1.0
el9 aarch64 pg_similarity_17
PIGSTY 1.0
pg_similarity_16
PIGSTY 1.0
pg_similarity_15
PIGSTY 1.0
pg_similarity_14
PIGSTY 1.0
pg_similarity_13
PIGSTY 1.0
d12 x86_64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0
d12 aarch64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0
u22 x86_64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0
u22 aarch64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0
u24 x86_64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0
u24 aarch64 postgresql-17-similarity
PGDG 1.0
postgresql-16-similarity
PGDG 1.0
postgresql-15-similarity
PGDG 1.0
postgresql-14-similarity
PGDG 1.0
postgresql-13-similarity
PGDG 1.0

扩展安装

使用 pig 命令行工具安装 pg_similarity 扩展:

pig ext install pg_similarity

使用 Pigsty剧本 安装 pg_similarity 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_similarity"]}' # -l <集群名>

YUM仓库 手工安装 pg_similarity RPM 包:

dnf install pg_similarity_17*;
dnf install pg_similarity_16*;
dnf install pg_similarity_15*;
dnf install pg_similarity_14*;
dnf install pg_similarity_13*;

APT仓库 手工安装 pg_similarity DEB 包:

apt install postgresql-17-similarity;
apt install postgresql-16-similarity;
apt install postgresql-15-similarity;
apt install postgresql-14-similarity;
apt install postgresql-13-similarity;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_similarity 扩展:

CREATE EXTENSION pg_similarity;



9.6 - smlar

高效的相似度搜索函数

扩展总览

PIGSTY 第三方扩展: smlar : 高效的相似度搜索函数

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未知
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:smlar_$v*
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-smlar
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 smlar_17
PIGSTY 1.0
smlar_16
PIGSTY 1.0
smlar_15
PIGSTY 1.0
smlar_14
PIGSTY 1.0
smlar_13
PIGSTY 1.0
el8 aarch64 smlar_17
PIGSTY 1.0
smlar_16
PIGSTY 1.0
smlar_15
PIGSTY 1.0
smlar_14
PIGSTY 1.0
smlar_13
PIGSTY 1.0
el9 x86_64 smlar_17
PIGSTY 1.0
smlar_16
PIGSTY 1.0
smlar_15
PIGSTY 1.0
smlar_14
PIGSTY 1.0
smlar_13
PIGSTY 1.0
el9 aarch64 smlar_17
PIGSTY 1.0
smlar_16
PIGSTY 1.0
smlar_15
PIGSTY 1.0
smlar_14
PIGSTY 1.0
smlar_13
PIGSTY 1.0
d12 x86_64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0
d12 aarch64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0
u22 x86_64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0
u22 aarch64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0
u24 x86_64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0
u24 aarch64 postgresql-17-smlar
PIGSTY 1.0
postgresql-16-smlar
PIGSTY 1.0
postgresql-15-smlar
PIGSTY 1.0
postgresql-14-smlar
PIGSTY 1.0
postgresql-13-smlar
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 smlar 扩展:

pig ext install smlar

使用 Pigsty剧本 安装 smlar 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["smlar"]}' # -l <集群名>

YUM仓库 手工安装 smlar RPM 包:

dnf install smlar_17*;
dnf install smlar_16*;
dnf install smlar_15*;
dnf install smlar_14*;
dnf install smlar_13*;

APT仓库 手工安装 smlar DEB 包:

apt install postgresql-17-smlar;
apt install postgresql-16-smlar;
apt install postgresql-15-smlar;
apt install postgresql-14-smlar;
apt install postgresql-13-smlar;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 smlar 扩展:

CREATE EXTENSION smlar;



9.7 - pg_summarize

使用LLM对文本字段进行总结

扩展总览

PIGSTY 第三方扩展: pg_summarize : 使用LLM对文本字段进行总结

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_summarize_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-summarize
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_summarize_17
PIGSTY 0.0.1
pg_summarize_16
PIGSTY 0.0.1
pg_summarize_15
PIGSTY 0.0.1
pg_summarize_14
PIGSTY 0.0.1
pg_summarize_13
PIGSTY 0.0.1
el8 aarch64 pg_summarize_17
PIGSTY 0.0.1
pg_summarize_16
PIGSTY 0.0.1
pg_summarize_15
PIGSTY 0.0.1
pg_summarize_14
PIGSTY 0.0.1
pg_summarize_13
PIGSTY 0.0.1
el9 x86_64 pg_summarize_17
PIGSTY 0.0.1
pg_summarize_16
PIGSTY 0.0.1
pg_summarize_15
PIGSTY 0.0.1
pg_summarize_14
PIGSTY 0.0.1
pg_summarize_13
PIGSTY 0.0.1
el9 aarch64 pg_summarize_17
PIGSTY 0.0.1
pg_summarize_16
PIGSTY 0.0.1
pg_summarize_15
PIGSTY 0.0.1
pg_summarize_14
PIGSTY 0.0.1
pg_summarize_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-summarize
PIGSTY 0.0.1
postgresql-16-pg-summarize
PIGSTY 0.0.1
postgresql-15-pg-summarize
PIGSTY 0.0.1
postgresql-14-pg-summarize
PIGSTY 0.0.1
postgresql-13-pg-summarize
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_summarize 扩展:

pig ext install pg_summarize

使用 Pigsty剧本 安装 pg_summarize 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_summarize"]}' # -l <集群名>

YUM仓库 手工安装 pg_summarize RPM 包:

dnf install pg_summarize_17;
dnf install pg_summarize_16;
dnf install pg_summarize_15;
dnf install pg_summarize_14;
dnf install pg_summarize_13;

APT仓库 手工安装 pg_summarize DEB 包:

apt install postgresql-17-pg-summarize;
apt install postgresql-16-pg-summarize;
apt install postgresql-15-pg-summarize;
apt install postgresql-14-pg-summarize;
apt install postgresql-13-pg-summarize;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_summarize 扩展:

CREATE EXTENSION pg_summarize;



9.8 - pg_tiktoken

在PostgreSQL中计算OpenAI使用的Token数

扩展总览

PIGSTY 第三方扩展: pg_tiktoken : 在PostgreSQL中计算OpenAI使用的Token数

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_tiktoken_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-tiktoken
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_tiktoken_17
PIGSTY 0.0.1
pg_tiktoken_16
PIGSTY 0.0.1
pg_tiktoken_15
PIGSTY 0.0.1
pg_tiktoken_14
PIGSTY 0.0.1
pg_tiktoken_13
PIGSTY 0.0.1
el8 aarch64 pg_tiktoken_17
PIGSTY 0.0.1
pg_tiktoken_16
PIGSTY 0.0.1
pg_tiktoken_15
PIGSTY 0.0.1
pg_tiktoken_14
PIGSTY 0.0.1
pg_tiktoken_13
PIGSTY 0.0.1
el9 x86_64 pg_tiktoken_17
PIGSTY 0.0.1
pg_tiktoken_16
PIGSTY 0.0.1
pg_tiktoken_15
PIGSTY 0.0.1
pg_tiktoken_14
PIGSTY 0.0.1
pg_tiktoken_13
PIGSTY 0.0.1
el9 aarch64 pg_tiktoken_17
PIGSTY 0.0.1
pg_tiktoken_16
PIGSTY 0.0.1
pg_tiktoken_15
PIGSTY 0.0.1
pg_tiktoken_14
PIGSTY 0.0.1
pg_tiktoken_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-tiktoken
PIGSTY 0.0.1
postgresql-16-pg-tiktoken
PIGSTY 0.0.1
postgresql-15-pg-tiktoken
PIGSTY 0.0.1
postgresql-14-pg-tiktoken
PIGSTY 0.0.1
postgresql-13-pg-tiktoken
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_tiktoken 扩展:

pig ext install pg_tiktoken

使用 Pigsty剧本 安装 pg_tiktoken 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_tiktoken"]}' # -l <集群名>

YUM仓库 手工安装 pg_tiktoken RPM 包:

dnf install pg_tiktoken_17;
dnf install pg_tiktoken_16;
dnf install pg_tiktoken_15;
dnf install pg_tiktoken_14;
dnf install pg_tiktoken_13;

APT仓库 手工安装 pg_tiktoken DEB 包:

apt install postgresql-17-pg-tiktoken;
apt install postgresql-16-pg-tiktoken;
apt install postgresql-15-pg-tiktoken;
apt install postgresql-14-pg-tiktoken;
apt install postgresql-13-pg-tiktoken;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_tiktoken 扩展:

CREATE EXTENSION pg_tiktoken;



9.9 - pg4ml

PG4ML是一个机器学习框架

扩展总览

PIGSTY 第三方扩展: pg4ml : PG4ML是一个机器学习框架

基本信息

元数据

  • 默认版本: 2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: plpgsql, tablefunc, cube, plpython3u

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg4ml_$v
  • RPM版本:2.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg4ml
  • DEB版本:2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el8 aarch64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el9 x86_64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
el9 aarch64 pg4ml_17
PIGSTY 2.0
pg4ml_16
PIGSTY 2.0
pg4ml_15
PIGSTY 2.0
pg4ml_14
PIGSTY 2.0
pg4ml_13
PIGSTY 2.0
d12 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
d12 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u22 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u22 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u24 x86_64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0
u24 aarch64 postgresql-17-pg4ml
PIGSTY 2.0
postgresql-16-pg4ml
PIGSTY 2.0
postgresql-15-pg4ml
PIGSTY 2.0
postgresql-14-pg4ml
PIGSTY 2.0
postgresql-13-pg4ml
PIGSTY 2.0

扩展安装

使用 pig 命令行工具安装 pg4ml 扩展:

pig ext install pg4ml

使用 Pigsty剧本 安装 pg4ml 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg4ml"]}' # -l <集群名>

YUM仓库 手工安装 pg4ml RPM 包:

dnf install pg4ml_17;
dnf install pg4ml_16;
dnf install pg4ml_15;
dnf install pg4ml_14;
dnf install pg4ml_13;

APT仓库 手工安装 pg4ml DEB 包:

apt install postgresql-17-pg4ml;
apt install postgresql-16-pg4ml;
apt install postgresql-15-pg4ml;
apt install postgresql-14-pg4ml;
apt install postgresql-13-pg4ml;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg4ml 扩展:

CREATE EXTENSION pg4ml CASCADE;



9.10 - pgml

PostgresML:用SQL运行机器学习算法并训练模型

扩展总览

PIGSTY 第三方扩展: pgml : PostgresML:用SQL运行机器学习算法并训练模型

基本信息

元数据

  • 默认版本: 2.10.0
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pgml
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgml_$v
  • RPM版本:2.10.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgml
  • DEB版本:2.10.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgml_17
PIGSTY 2.10.0
pgml_16
PIGSTY 2.10.0
pgml_15
PIGSTY 2.10.0
pgml_14
PIGSTY 2.10.0
pgml_13
PIGSTY 2.10.0
el8 aarch64 pgml_17
PIGSTY 2.10.0
pgml_16
PIGSTY 2.10.0
pgml_15
PIGSTY 2.10.0
pgml_14
PIGSTY 2.10.0
pgml_13
PIGSTY 2.10.0
el9 x86_64 pgml_17
PIGSTY 2.10.0
pgml_16
PIGSTY 2.10.0
pgml_15
PIGSTY 2.10.0
pgml_14
PIGSTY 2.10.0
pgml_13
PIGSTY 2.10.0
el9 aarch64 pgml_17
PIGSTY 2.10.0
pgml_16
PIGSTY 2.10.0
pgml_15
PIGSTY 2.10.0
pgml_14
PIGSTY 2.10.0
pgml_13
PIGSTY 2.10.0
d12 x86_64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0
d12 aarch64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0
u22 x86_64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0
u22 aarch64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0
u24 x86_64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0
u24 aarch64 postgresql-17-pgml
PIGSTY 2.10.0
postgresql-16-pgml
PIGSTY 2.10.0
postgresql-15-pgml
PIGSTY 2.10.0
postgresql-14-pgml
PIGSTY 2.10.0
postgresql-13-pgml
PIGSTY 2.10.0

扩展安装

使用 pig 命令行工具安装 pgml 扩展:

pig ext install pgml

使用 Pigsty剧本 安装 pgml 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgml"]}' # -l <集群名>

YUM仓库 手工安装 pgml RPM 包:

dnf install pgml_17;
dnf install pgml_16;
dnf install pgml_15;
dnf install pgml_14;
dnf install pgml_13;

APT仓库 手工安装 pgml DEB 包:

apt install postgresql-17-pgml;
apt install postgresql-16-pgml;
apt install postgresql-15-pgml;
apt install postgresql-14-pgml;

扩展 pgml 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pgml'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgml 扩展:

CREATE EXTENSION pgml;

使用方法

After installing the pgml extension and python dependencies on all cluster nodes, you can enable pgml on the PostgreSQL cluster.

Configure cluster with patronictl command and add pgml to shared_preload_libraries, and specify your venv dir in pgml.venv:

shared_preload_libraries: pgml, timescaledb, pg_stat_statements, auto_explain
pgml.venv: '/data/pgml'

After that, restart database cluster, and create extension with SQL command:

CREATE EXTENSION vector;        -- nice to have pgvector installed too!
CREATE EXTENSION pgml;          -- create PostgresML in current database
SELECT pgml.version();          -- print PostgresML version string

If it works, you should see something like:

# create extension pgml;
INFO:  Python version: 3.11.2 (main, Oct  5 2023, 16:06:03) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)]
INFO:  Scikit-learn 1.3.0, XGBoost 2.0.0, LightGBM 4.1.0, NumPy 1.26.1
CREATE EXTENSION

# SELECT pgml.version(); -- print PostgresML version string
 version
---------
 2.7.8

You are all set! Check PostgresML for more details: https://postgresml.org/docs/guides/use-cases/




10 - 类目:FTS

全文检索扩展:ElasticSearch 替代 pg_search,BM25,中文分词,欧洲语言分词字典 hunspell,模糊检索,2-gram/3-gram 索引。

FTS 类目共有 19 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
pg_search pg_search PIGSTY 0.15.8 FTS AGPLv3 ParadeDB BM25算法全文检索插件,ES全文检索
pgroonga pgroonga PIGSTY 4.0.0 FTS PostgreSQL 使用Groonga,面向所有语言的高速全文检索平台
pgroonga_database pgroonga PIGSTY 4.0.0 FTS PostgreSQL PGGroonga 数据库管理模块
pg_bigm pg_bigm MIXED 1.2 FTS PostgreSQL 基于二字组的多语言全文检索扩展
zhparser zhparser PIGSTY 2.3 FTS PostgreSQL 中文分词,全文搜索解析器
pg_bestmatch pg_bestmatch PIGSTY 0.0.1 FTS Apache-2.0 在数据库内生成BM25稀疏向量
vchord_bm25 vchord_bm25 PIGSTY 0.1.1 FTS AGPLv3 BM25排序算法
hunspell_cs_cz hunspell_cs_cz PIGSTY 1.0 FTS PostgreSQL Hunspell捷克语全文检索词典
hunspell_de_de hunspell_de_de PIGSTY 1.0 FTS PostgreSQL Hunspell德语全文检索词典
hunspell_en_us hunspell_en_us PIGSTY 1.0 FTS PostgreSQL Hunspell英语全文检索词典
hunspell_fr hunspell_fr PIGSTY 1.0 FTS PostgreSQL Hunspell法语全文检索词典
hunspell_ne_np hunspell_ne_np PIGSTY 1.0 FTS PostgreSQL Hunspell尼泊尔语全文检索词典
hunspell_nl_nl hunspell_nl_nl PIGSTY 1.0 FTS PostgreSQL Hunspell荷兰语全文检索词典
hunspell_nn_no hunspell_nn_no PIGSTY 1.0 FTS PostgreSQL Hunspell挪威语全文检索词典
hunspell_pt_pt hunspell_pt_pt PIGSTY 1.0 FTS PostgreSQL Hunspell葡萄牙语全文检索词典
hunspell_ru_ru hunspell_ru_ru PIGSTY 1.0 FTS PostgreSQL Hunspell俄语全文检索词典
hunspell_ru_ru_aot hunspell_ru_ru_aot PIGSTY 1.0 FTS PostgreSQL Hunspell俄语全文检索词典(来自AOT.ru小组)
fuzzystrmatch fuzzystrmatch CONTRIB 1.2 FTS PostgreSQL 确定字符串之间的相似性和距离
pg_trgm pg_trgm CONTRIB 1.6 FTS PostgreSQL 文本相似度测量函数与模糊检索

10.1 - pg_search

ParadeDB BM25算法全文检索插件,ES全文检索

扩展总览

PIGSTY 第三方扩展: pg_search : ParadeDB BM25算法全文检索插件,ES全文检索

基本信息

元数据

  • 默认版本: 0.15.20
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: paradedb
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_search_$v
  • RPM版本:0.15.18
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-search
  • DEB版本:0.15.20
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_search_17
PIGSTY 0.15.18
pg_search_16
PIGSTY 0.15.18
pg_search_15
PIGSTY 0.15.18
pg_search_14
PIGSTY 0.15.18
el8 aarch64 pg_search_17
PIGSTY 0.15.18
pg_search_16
PIGSTY 0.15.18
pg_search_15
PIGSTY 0.15.18
pg_search_14
PIGSTY 0.15.18
el9 x86_64 pg_search_17
PIGSTY 0.15.18
pg_search_16
PIGSTY 0.15.18
pg_search_15
PIGSTY 0.15.18
pg_search_14
PIGSTY 0.15.18
el9 aarch64 pg_search_17
PIGSTY 0.15.18
pg_search_16
PIGSTY 0.15.18
pg_search_15
PIGSTY 0.15.18
pg_search_14
PIGSTY 0.15.18
d12 x86_64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20
d12 aarch64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20
u22 x86_64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20
u22 aarch64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20
u24 x86_64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20
u24 aarch64 postgresql-17-pg-search
PIGSTY 0.15.20
postgresql-16-pg-search
PIGSTY 0.15.20
postgresql-15-pg-search
PIGSTY 0.15.20
postgresql-14-pg-search
PIGSTY 0.15.20

扩展安装

使用 pig 命令行工具安装 pg_search 扩展:

pig ext install pg_search

使用 Pigsty剧本 安装 pg_search 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_search"]}' # -l <集群名>

YUM仓库 手工安装 pg_search RPM 包:

dnf install pg_search_17;
dnf install pg_search_16;
dnf install pg_search_15;
dnf install pg_search_14;

APT仓库 手工安装 pg_search DEB 包:

apt install postgresql-17-pg-search;
apt install postgresql-16-pg-search;
apt install postgresql-15-pg-search;
apt install postgresql-14-pg-search;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_search 扩展:

CREATE EXTENSION pg_search;

使用方法

https://docs.paradedb.com/documentation/getting-started/quickstart

CREATE EXTENSION pg_search;

ALTER SYSTEM SET paradedb.pg_search_telemetry TO 'off';

CALL paradedb.create_bm25_test_table(
  schema_name => 'public',
  table_name => 'mock_items'
);
    
SELECT description, rating, category FROM mock_items LIMIT 3;

CALL paradedb.create_bm25(
        index_name => 'search_idx',
        schema_name => 'public',
        table_name => 'mock_items',
        key_field => 'id',
        text_fields => paradedb.field('description', tokenizer => paradedb.tokenizer('en_stem')) ||
                       paradedb.field('category'),
        numeric_fields => paradedb.field('rating')
     );

SELECT description, rating, category
FROM search_idx.search('(description:keyboard OR category:electronics) AND rating:>2',limit_rows => 5);

CALL paradedb.create_bm25(
        index_name => 'ngrams_idx',
        schema_name => 'public',
        table_name => 'mock_items',
        key_field => 'id',
        text_fields => paradedb.field('description', tokenizer => paradedb.tokenizer('ngram', min_gram => 4, max_gram => 4, prefix_only => false)) ||
                       paradedb.field('category')
     );

SELECT description, rating, category
FROM ngrams_idx.search('description:blue');



10.2 - pgroonga

使用Groonga,面向所有语言的高速全文检索平台

扩展总览

PIGSTY 第三方扩展: pgroonga : 使用Groonga,面向所有语言的高速全文检索平台

基本信息

元数据

  • 默认版本: 4.0.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgroonga_$v*
  • RPM版本:4.0.0
  • RPM依赖:groonga-libs
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgroonga
  • DEB版本:4.0.0
  • DEB依赖:libgroonga0

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el8 aarch64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el9 x86_64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el9 aarch64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
d12 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
d12 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u22 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u22 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u24 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u24 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0

扩展安装

使用 pig 命令行工具安装 pgroonga 扩展:

pig ext install pgroonga

使用 Pigsty剧本 安装 pgroonga 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgroonga"]}' # -l <集群名>

YUM仓库 手工安装 pgroonga RPM 包:

dnf install pgroonga_17*;
dnf install pgroonga_16*;
dnf install pgroonga_15*;
dnf install pgroonga_14*;
dnf install pgroonga_13*;

APT仓库 手工安装 pgroonga DEB 包:

apt install postgresql-17-pgroonga;
apt install postgresql-16-pgroonga;
apt install postgresql-15-pgroonga;
apt install postgresql-14-pgroonga;
apt install postgresql-13-pgroonga;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgroonga 扩展:

CREATE EXTENSION pgroonga;

使用方法

  • https://pgroonga.github.io/
  • News: It lists release information.
  • Overview: It describes about PGroonga.
  • Install: It describes how to install PGroonga.
  • Upgrade: It describes how to upgrade PGroonga.
  • Uninstall: It describes how to uninstall PGroonga.
  • Tutorial: It describes how to use PGroonga step by step.
  • FAQ: Frequently asked questions.
  • How to: It describes about useful information for specific situations.
  • Reference: It describes details for each features such as options, functions and operators.
  • Troubleshooting: It describes how to fix troubles.
  • Community: It introduces about PGroonga community.
  • Users: It lists PGroonga users.
  • Development: It describes how to develop PGroonga.

Here’s a quick tutorial about how to use PGroonga:

CREATE EXTENSION IF NOT EXISTS pgroonga;

CREATE TABLE memos
(
    id      integer,
    content text
);

CREATE INDEX pgroonga_content_index ON memos USING pgroonga (content);

INSERT INTO memos VALUES (1, 'PostgreSQL is a relational database management system.');
INSERT INTO memos VALUES (2, 'Groonga is a fast full text search engine that supports all languages.');
INSERT INTO memos VALUES (3, 'PGroonga is a PostgreSQL extension that uses Groonga as index.');
INSERT INTO memos VALUES (4, 'There is groonga command.');

SET enable_seqscan = off;

-- now let's query pgroonga

SELECT * FROM memos WHERE content &@ 'engine';
--  id |                                content                                 
-- ----+------------------------------------------------------------------------
--   2 | Groonga is a fast full text search engine that supports all languages.
-- (1 row)

SELECT * FROM memos WHERE content &@~ 'PGroonga OR PostgreSQL';
--  id |                            content                             
-- ----+----------------------------------------------------------------
--   3 | PGroonga is a PostgreSQL extension that uses Groonga as index.
--   1 | PostgreSQL is a relational database management system.
-- (2 rows)

SELECT * FROM memos WHERE content LIKE '%engine%';
--  id |                                content                                 
-- ----+------------------------------------------------------------------------
--   2 | Groonga is a fast full text search engine that supports all languages.
-- (1 row)



10.3 - pgroonga_database

PGGroonga 数据库管理模块

扩展总览

PIGSTY 第三方扩展: pgroonga : PGGroonga 数据库管理模块

基本信息

元数据

  • 默认版本: 4.0.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgroonga_$v*
  • RPM版本:4.0.0
  • RPM依赖:groonga-libs
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgroonga
  • DEB版本:4.0.0
  • DEB依赖:libgroonga0

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el8 aarch64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el9 x86_64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
el9 aarch64 pgroonga_17
PIGSTY 4.0.0
pgroonga_16
PIGSTY 4.0.0
pgroonga_15
PIGSTY 4.0.0
pgroonga_14
PIGSTY 4.0.0
pgroonga_13
PIGSTY 4.0.0
d12 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
d12 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u22 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u22 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u24 x86_64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0
u24 aarch64 postgresql-17-pgroonga
PIGSTY 4.0.0
postgresql-16-pgroonga
PIGSTY 4.0.0
postgresql-15-pgroonga
PIGSTY 4.0.0
postgresql-14-pgroonga
PIGSTY 4.0.0
postgresql-13-pgroonga
PIGSTY 4.0.0

扩展安装

使用 pig 命令行工具安装 pgroonga 扩展:

pig ext install pgroonga; # 扩展名称
pig ext install pgroonga_database; # 标准包名

使用 Pigsty剧本 安装 pgroonga 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgroonga"]}' # -l <集群名>

YUM仓库 手工安装 pgroonga RPM 包:

dnf install pgroonga_17*;
dnf install pgroonga_16*;
dnf install pgroonga_15*;
dnf install pgroonga_14*;
dnf install pgroonga_13*;

APT仓库 手工安装 pgroonga DEB 包:

apt install postgresql-17-pgroonga;
apt install postgresql-16-pgroonga;
apt install postgresql-15-pgroonga;
apt install postgresql-14-pgroonga;
apt install postgresql-13-pgroonga;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgroonga_database 扩展:

CREATE EXTENSION pgroonga_database;



10.4 - pg_bigm

基于二字组的多语言全文检索扩展

扩展总览

MIXED 第三方扩展: pg_bigm : 基于二字组的多语言全文检索扩展

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_bigm_$v*
  • RPM版本:1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-bigm
  • DEB版本:1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_bigm_17
PGDG 1.2_20240606
pg_bigm_16
PGDG 1.2
pg_bigm_15
PGDG 1.2
pg_bigm_14
PGDG 1.2
pg_bigm_13
PGDG 1.2
el8 aarch64 pg_bigm_17
PGDG 1.2_20240606
pg_bigm_16
PGDG 1.2
pg_bigm_15
PGDG 1.2
pg_bigm_14
PGDG 1.2
pg_bigm_13
PGDG 1.2
el9 x86_64 pg_bigm_17
PGDG 1.2_20240606
pg_bigm_16
PGDG 1.2
pg_bigm_15
PGDG 1.2
pg_bigm_14
PGDG 1.2
pg_bigm_13
PGDG 1.2
el9 aarch64 pg_bigm_17
PGDG 1.2_20240606
pg_bigm_16
PGDG 1.2
pg_bigm_15
PGDG 1.2
pg_bigm_14
PGDG 1.2
pg_bigm_13
PGDG 1.2
d12 x86_64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2
d12 aarch64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2
u22 x86_64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2
u22 aarch64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2
u24 x86_64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2
u24 aarch64 postgresql-17-pg-bigm
PIGSTY 1.2
postgresql-16-pg-bigm
PIGSTY 1.2
postgresql-15-pg-bigm
PIGSTY 1.2
postgresql-14-pg-bigm
PIGSTY 1.2
postgresql-13-pg-bigm
PIGSTY 1.2

扩展安装

使用 pig 命令行工具安装 pg_bigm 扩展:

pig ext install pg_bigm

使用 Pigsty剧本 安装 pg_bigm 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_bigm"]}' # -l <集群名>

YUM仓库 手工安装 pg_bigm RPM 包:

dnf install pg_bigm_17*;
dnf install pg_bigm_16*;
dnf install pg_bigm_15*;
dnf install pg_bigm_14*;
dnf install pg_bigm_13*;

APT仓库 手工安装 pg_bigm DEB 包:

apt install postgresql-17-pg-bigm;
apt install postgresql-16-pg-bigm;
apt install postgresql-15-pg-bigm;
apt install postgresql-14-pg-bigm;
apt install postgresql-13-pg-bigm;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_bigm 扩展:

CREATE EXTENSION pg_bigm;



10.5 - zhparser

中文分词,全文搜索解析器

扩展总览

PIGSTY 第三方扩展: zhparser : 中文分词,全文搜索解析器

基本信息

元数据

  • 默认版本: 2.3
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:zhparser_$v*
  • RPM版本:2.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-zhparser
  • DEB版本:2.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 zhparser_17
PIGSTY 2.3
zhparser_16
PIGSTY 2.3
zhparser_15
PIGSTY 2.3
zhparser_14
PIGSTY 2.3
zhparser_13
PIGSTY 2.3
el8 aarch64 zhparser_17
PIGSTY 2.3
zhparser_16
PIGSTY 2.3
zhparser_15
PIGSTY 2.3
zhparser_14
PIGSTY 2.3
zhparser_13
PIGSTY 2.3
el9 x86_64 zhparser_17
PIGSTY 2.3
zhparser_16
PIGSTY 2.3
zhparser_15
PIGSTY 2.3
zhparser_14
PIGSTY 2.3
zhparser_13
PIGSTY 2.3
el9 aarch64 zhparser_17
PIGSTY 2.3
zhparser_16
PIGSTY 2.3
zhparser_15
PIGSTY 2.3
zhparser_14
PIGSTY 2.3
zhparser_13
PIGSTY 2.3
d12 x86_64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3
d12 aarch64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3
u22 x86_64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3
u22 aarch64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3
u24 x86_64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3
u24 aarch64 postgresql-17-zhparser
PIGSTY 2.3
postgresql-16-zhparser
PIGSTY 2.3
postgresql-15-zhparser
PIGSTY 2.3
postgresql-14-zhparser
PIGSTY 2.3
postgresql-13-zhparser
PIGSTY 2.3

扩展安装

使用 pig 命令行工具安装 zhparser 扩展:

pig ext install zhparser

使用 Pigsty剧本 安装 zhparser 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["zhparser"]}' # -l <集群名>

YUM仓库 手工安装 zhparser RPM 包:

dnf install zhparser_17*;
dnf install zhparser_16*;
dnf install zhparser_15*;
dnf install zhparser_14*;
dnf install zhparser_13*;

APT仓库 手工安装 zhparser DEB 包:

apt install postgresql-17-zhparser;
apt install postgresql-16-zhparser;
apt install postgresql-15-zhparser;
apt install postgresql-14-zhparser;
apt install postgresql-13-zhparser;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 zhparser 扩展:

CREATE EXTENSION zhparser;



10.6 - pg_bestmatch

在数据库内生成BM25稀疏向量

扩展总览

PIGSTY 第三方扩展: pg_bestmatch : 在数据库内生成BM25稀疏向量

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: bm_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_bestmatch_$v
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-bestmatch
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_bestmatch_17
PIGSTY 0.0.1
pg_bestmatch_16
PIGSTY 0.0.1
pg_bestmatch_15
PIGSTY 0.0.1
pg_bestmatch_14
PIGSTY 0.0.1
pg_bestmatch_13
PIGSTY 0.0.1
el8 aarch64 pg_bestmatch_17
PIGSTY 0.0.1
pg_bestmatch_16
PIGSTY 0.0.1
pg_bestmatch_15
PIGSTY 0.0.1
pg_bestmatch_14
PIGSTY 0.0.1
pg_bestmatch_13
PIGSTY 0.0.1
el9 x86_64 pg_bestmatch_17
PIGSTY 0.0.1
pg_bestmatch_16
PIGSTY 0.0.1
pg_bestmatch_15
PIGSTY 0.0.1
pg_bestmatch_14
PIGSTY 0.0.1
pg_bestmatch_13
PIGSTY 0.0.1
el9 aarch64 pg_bestmatch_17
PIGSTY 0.0.1
pg_bestmatch_16
PIGSTY 0.0.1
pg_bestmatch_15
PIGSTY 0.0.1
pg_bestmatch_14
PIGSTY 0.0.1
pg_bestmatch_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-bestmatch
PIGSTY 0.0.1
postgresql-16-pg-bestmatch
PIGSTY 0.0.1
postgresql-15-pg-bestmatch
PIGSTY 0.0.1
postgresql-14-pg-bestmatch
PIGSTY 0.0.1
postgresql-13-pg-bestmatch
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_bestmatch 扩展:

pig ext install pg_bestmatch

使用 Pigsty剧本 安装 pg_bestmatch 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_bestmatch"]}' # -l <集群名>

YUM仓库 手工安装 pg_bestmatch RPM 包:

dnf install pg_bestmatch_17;
dnf install pg_bestmatch_16;
dnf install pg_bestmatch_15;
dnf install pg_bestmatch_14;
dnf install pg_bestmatch_13;

APT仓库 手工安装 pg_bestmatch DEB 包:

apt install postgresql-17-pg-bestmatch;
apt install postgresql-16-pg-bestmatch;
apt install postgresql-15-pg-bestmatch;
apt install postgresql-14-pg-bestmatch;
apt install postgresql-13-pg-bestmatch;

扩展 pg_bestmatch 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_bestmatch'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_bestmatch 扩展:

CREATE EXTENSION pg_bestmatch;

使用方法

How does it work?

  • Create an BM25 statistics based on your document set by bm25_create(table_name, column_name, statistic_name);. It will create a materilized view to record the stats.
  • Generate document sparse vector by bm25_document_to_svector(statistic_name, passage)
  • For query, generate query sparse vector bm25_query_to_svector(statistic_name, query)
  • Calculate the score by dot product between the query sparse vector and the document sparse vector
  • Currently we use huggingface tokenizer with bert-base-uncased vocabulary set to tokenize words. Might support more configuration on tokenizer in the future.

Install

CREATE EXTENSION pg_bestmatch;
SET search_path TO public, bm_catalog;

Example

Here is an example workflow demonstrating the usage of this extension with the example of Stanford LoCo benchmark.

  1. Load the dataset. Here is a script for you if you want to experience pg_bestmatch with the dataset.
wget https://huggingface.co/api/datasets/hazyresearch/LoCoV1-Documents/parquet/default/test/0.parquet -O documents.parquet
wget https://huggingface.co/api/datasets/hazyresearch/LoCoV1-Queries/parquet/default/test/0.parquet -O queries.parquet
import pandas as pd
from sqlalchemy import create_engine
import numpy as np
from psycopg2.extensions import register_adapter, AsIs

def adapter_numpy_float64(numpy_float64):
    return AsIs(numpy_float64)

def adapter_numpy_int64(numpy_int64):
    return AsIs(numpy_int64)

def adapter_numpy_float32(numpy_float32):
    return AsIs(numpy_float32)

def adapter_numpy_int32(numpy_int32):
    return AsIs(numpy_int32)

def adapter_numpy_array(numpy_array):
    return AsIs(tuple(numpy_array))

register_adapter(np.float64, adapter_numpy_float64)
register_adapter(np.int64, adapter_numpy_int64)
register_adapter(np.float32, adapter_numpy_float32)
register_adapter(np.int32, adapter_numpy_int32)
register_adapter(np.ndarray, adapter_numpy_array)

db_url = "postgresql://localhost:5432/pg_bestmatch_test"
engine = create_engine(db_url)

def load_documents():
    df = pd.read_parquet("documents.parquet")
    df.to_sql("documents", engine, if_exists='replace', index=False)

def load_queries():
    df = pd.read_parquet("queries.parquet")
    df['answer_pids'] = df['answer_pids'].apply(lambda x: str(x[0]))    
    df.to_sql("queries", engine, if_exists='replace', index=False)

load_documents()
load_queries()
  1. Create BM25 statistics for the documents table.
SELECT bm25_create('documents', 'passage', 'documents_passage_bm25', 0.75, 1.2);
  1. Add an embedding column to the documents and queries tables and update the embeddings for documents and queries.
ALTER TABLE documents ADD COLUMN embedding svector; -- for pgvecto.rs users
ALTER TABLE documents ADD COLUMN embedding sparsevec; -- for pgvector users

UPDATE documents SET embedding = bm25_document_to_svector('documents_passage_bm25', passage)::svector; -- for pgvecto.rs users
UPDATE documents SET embedding = bm25_document_to_svector('documents_passage_bm25', passage, 'pgvector')::sparsevec; -- for pgvector users
  1. (Optional) Create a vector index on the sparse vector column.
CREATE INDEX ON documents USING vectors (embedding svector_dot_ops); -- for pgvecto.rs users
CREATE INDEX ON documents USING ivfflat (embedding sparsevec_ip_ops); -- for pgvector users
  1. Perform a vector search to find the most relevant documents for each query.
ALTER TABLE queries ADD COLUMN embedding svector; -- for pgvecto.rs users
ALTER TABLE queries ADD COLUMN embedding sparsevec; -- for pgvector users

UPDATE queries SET embedding = bm25_query_to_svector('documents_passage_bm25', query)::svector; -- for pgvecto.rs users
UPDATE queries SET embedding = bm25_query_to_svector('documents_passage_bm25', query, 'pgvector')::sparsevec; -- for pgvector users

SELECT sum((array[answer_pids] = array(SELECT pid FROM documents WHERE queries.dataset = documents.dataset ORDER BY queries.embedding <#> documents.embedding LIMIT 1))::int) FROM queries;

This workflow showcases how to leverage BM25 text queries and vector search in PostgreSQL using this extension. The Top 1 recall of BM25 on this dataset is 0.77. If you reproduce the result, your operations are correct.


  • pg_bestmatch.rs only provides methods for generating sparse vectors and does not support index-based search (which can be achieved by pgvecto.rs or pgvector).
  • pg_search performs BM25 retrieval via the external tantivy engine, which may have limitations when combined with transactions, filters, or JOIN operations. Since pg_bestmatch.rs is entirely native to Postgres, it offers full compatibility with these operations inside postgres.

Reference

  • tokenize
    • Description: Tokenizes an input string into individual tokens.
    • Example:
      SELECT tokenize('i have an apple'); -- result: {i,have,an,apple}
      
  • bm25_create
    • Description: Creates BM25 statistics for a specified table and column.
    • Usage:
      SELECT bm25_create('documents', 'passage', 'documents_passage_bm25');
      
    • Parameters:
      • table_name: Name of the table.
      • column_name: Name of the column.
      • stat_name: Name of the BM25 statistics.
      • b: BM25 parameter (default 0.75).
      • k: BM25 parameter (default 1.2).
  • bm25_refresh
    • Description: Updates the BM25 statistics to reflect any changes in the underlying data.
    • Usage:
      SELECT bm25_refresh('documents_passage_bm25');
      
    • Parameters:
      • stat_name: Name of the BM25 statistics to update.
  • bm25_drop
    • Description: Deletes the BM25 statistics for a specified table and column.
    • Usage:
      SELECT bm25_drop('documents_passage_bm25');
      
    • Parameters:
      • stat_name: Name of the BM25 statistics to delete.
  • bm25_document_to_svector
    • Description: Converts document text into a sparse vector representation.
    • Usage:
      SELECT bm25_document_to_svector('documents_passage_bm25', 'document_text');
      
    • Parameters:
      • stat_name: Name of the BM25 statistics.
      • document_text: The text of the document.
      • style: Emits pgvecto.rs-style sparse vector or pgvector-style sparse vector.
  • bm25_query_to_svector
    • Description: Converts query text into a sparse vector representation.
    • Usage:
      SELECT bm25_query_to_svector('documents_passage_bm25', 'We begin, as always, with the text.');
      
    • Parameters:
      • stat_name: Name of the BM25 statistics.
      • query_text: The text of the query.
      • style: Emits pgvecto.rs-style sparse vector or pgvector-style sparse vector.



10.7 - vchord_bm25

BM25排序算法

扩展总览

PIGSTY 第三方扩展: vchord_bm25 : BM25排序算法

基本信息

元数据

  • 默认版本: 0.2.1
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: bm25_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:vchord_bm25_$v
  • RPM版本:0.2.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-vchord-bm25
  • DEB版本:0.2.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 vchord_bm25_17
PIGSTY 0.2.1
vchord_bm25_16
PIGSTY 0.2.1
vchord_bm25_15
PIGSTY 0.2.1
vchord_bm25_14
PIGSTY 0.2.1
el8 aarch64 vchord_bm25_17
PIGSTY 0.2.1
vchord_bm25_16
PIGSTY 0.2.1
vchord_bm25_15
PIGSTY 0.2.1
vchord_bm25_14
PIGSTY 0.2.1
el9 x86_64 vchord_bm25_17
PIGSTY 0.2.1
vchord_bm25_16
PIGSTY 0.2.1
vchord_bm25_15
PIGSTY 0.2.1
vchord_bm25_14
PIGSTY 0.2.1
el9 aarch64 vchord_bm25_17
PIGSTY 0.2.1
vchord_bm25_16
PIGSTY 0.2.1
vchord_bm25_15
PIGSTY 0.2.1
vchord_bm25_14
PIGSTY 0.2.1
d12 x86_64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1
d12 aarch64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1
u22 x86_64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1
u22 aarch64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1
u24 x86_64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1
u24 aarch64 postgresql-17-vchord-bm25
PIGSTY 0.2.1
postgresql-16-vchord-bm25
PIGSTY 0.2.1
postgresql-15-vchord-bm25
PIGSTY 0.2.1
postgresql-14-vchord-bm25
PIGSTY 0.2.1

扩展安装

使用 pig 命令行工具安装 vchord_bm25 扩展:

pig ext install vchord_bm25

使用 Pigsty剧本 安装 vchord_bm25 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["vchord_bm25"]}' # -l <集群名>

YUM仓库 手工安装 vchord_bm25 RPM 包:

dnf install vchord_bm25_17;
dnf install vchord_bm25_16;
dnf install vchord_bm25_15;
dnf install vchord_bm25_14;

APT仓库 手工安装 vchord_bm25 DEB 包:

apt install postgresql-17-vchord-bm25;
apt install postgresql-16-vchord-bm25;
apt install postgresql-15-vchord-bm25;
apt install postgresql-14-vchord-bm25;

扩展 vchord_bm25 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'vchord_bm25'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 vchord_bm25 扩展:

CREATE EXTENSION vchord_bm25;



10.8 - pg_tokenizer

用于全文检索的分词器

扩展总览

PIGSTY 第三方扩展: pg_tokenizer : 用于全文检索的分词器

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: tokenizer_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_tokenizer_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-tokenizer
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_tokenizer_17
PIGSTY 0.1.0
pg_tokenizer_16
PIGSTY 0.1.0
pg_tokenizer_15
PIGSTY 0.1.0
pg_tokenizer_14
PIGSTY 0.1.0
el8 aarch64 pg_tokenizer_17
PIGSTY 0.1.0
pg_tokenizer_16
PIGSTY 0.1.0
pg_tokenizer_15
PIGSTY 0.1.0
pg_tokenizer_14
PIGSTY 0.1.0
el9 x86_64 pg_tokenizer_17
PIGSTY 0.1.0
pg_tokenizer_16
PIGSTY 0.1.0
pg_tokenizer_15
PIGSTY 0.1.0
pg_tokenizer_14
PIGSTY 0.1.0
el9 aarch64 pg_tokenizer_17
PIGSTY 0.1.0
pg_tokenizer_16
PIGSTY 0.1.0
pg_tokenizer_15
PIGSTY 0.1.0
pg_tokenizer_14
PIGSTY 0.1.0
d12 x86_64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0
d12 aarch64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0
u22 x86_64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0
u22 aarch64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0
u24 x86_64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0
u24 aarch64 postgresql-17-pg-tokenizer
PIGSTY 0.1.0
postgresql-16-pg-tokenizer
PIGSTY 0.1.0
postgresql-15-pg-tokenizer
PIGSTY 0.1.0
postgresql-14-pg-tokenizer
PIGSTY 0.1.0

扩展安装

使用 pig 命令行工具安装 pg_tokenizer 扩展:

pig ext install pg_tokenizer

使用 Pigsty剧本 安装 pg_tokenizer 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_tokenizer"]}' # -l <集群名>

YUM仓库 手工安装 pg_tokenizer RPM 包:

dnf install pg_tokenizer_17;
dnf install pg_tokenizer_16;
dnf install pg_tokenizer_15;
dnf install pg_tokenizer_14;

APT仓库 手工安装 pg_tokenizer DEB 包:

apt install postgresql-17-pg-tokenizer;
apt install postgresql-16-pg-tokenizer;
apt install postgresql-15-pg-tokenizer;
apt install postgresql-14-pg-tokenizer;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_tokenizer 扩展:

CREATE EXTENSION pg_tokenizer;



10.9 - hunspell_cs_cz

Hunspell捷克语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_cs_cz : Hunspell捷克语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_cs_cz_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-cs-cz
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_cs_cz_17
PIGSTY 1.0
hunspell_cs_cz_16
PIGSTY 1.0
hunspell_cs_cz_15
PIGSTY 1.0
hunspell_cs_cz_14
PIGSTY 1.0
hunspell_cs_cz_13
PIGSTY 1.0
el8 aarch64 hunspell_cs_cz_17
PIGSTY 1.0
hunspell_cs_cz_16
PIGSTY 1.0
hunspell_cs_cz_15
PIGSTY 1.0
hunspell_cs_cz_14
PIGSTY 1.0
hunspell_cs_cz_13
PIGSTY 1.0
el9 x86_64 hunspell_cs_cz_17
PIGSTY 1.0
hunspell_cs_cz_16
PIGSTY 1.0
hunspell_cs_cz_15
PIGSTY 1.0
hunspell_cs_cz_14
PIGSTY 1.0
hunspell_cs_cz_13
PIGSTY 1.0
el9 aarch64 hunspell_cs_cz_17
PIGSTY 1.0
hunspell_cs_cz_16
PIGSTY 1.0
hunspell_cs_cz_15
PIGSTY 1.0
hunspell_cs_cz_14
PIGSTY 1.0
hunspell_cs_cz_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-cs-cz
PIGSTY 1.0
postgresql-16-hunspell-cs-cz
PIGSTY 1.0
postgresql-15-hunspell-cs-cz
PIGSTY 1.0
postgresql-14-hunspell-cs-cz
PIGSTY 1.0
postgresql-13-hunspell-cs-cz
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_cs_cz 扩展:

pig ext install hunspell_cs_cz

使用 Pigsty剧本 安装 hunspell_cs_cz 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_cs_cz"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_cs_cz RPM 包:

dnf install hunspell_cs_cz_17;
dnf install hunspell_cs_cz_16;
dnf install hunspell_cs_cz_15;
dnf install hunspell_cs_cz_14;
dnf install hunspell_cs_cz_13;

APT仓库 手工安装 hunspell_cs_cz DEB 包:

apt install postgresql-17-hunspell-cs-cz;
apt install postgresql-16-hunspell-cs-cz;
apt install postgresql-15-hunspell-cs-cz;
apt install postgresql-14-hunspell-cs-cz;
apt install postgresql-13-hunspell-cs-cz;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_cs_cz 扩展:

CREATE EXTENSION hunspell_cs_cz;



10.10 - hunspell_de_de

Hunspell德语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_de_de : Hunspell德语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_de_de_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-de-de
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_de_de_17
PIGSTY 1.0
hunspell_de_de_16
PIGSTY 1.0
hunspell_de_de_15
PIGSTY 1.0
hunspell_de_de_14
PIGSTY 1.0
hunspell_de_de_13
PIGSTY 1.0
el8 aarch64 hunspell_de_de_17
PIGSTY 1.0
hunspell_de_de_16
PIGSTY 1.0
hunspell_de_de_15
PIGSTY 1.0
hunspell_de_de_14
PIGSTY 1.0
hunspell_de_de_13
PIGSTY 1.0
el9 x86_64 hunspell_de_de_17
PIGSTY 1.0
hunspell_de_de_16
PIGSTY 1.0
hunspell_de_de_15
PIGSTY 1.0
hunspell_de_de_14
PIGSTY 1.0
hunspell_de_de_13
PIGSTY 1.0
el9 aarch64 hunspell_de_de_17
PIGSTY 1.0
hunspell_de_de_16
PIGSTY 1.0
hunspell_de_de_15
PIGSTY 1.0
hunspell_de_de_14
PIGSTY 1.0
hunspell_de_de_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-de-de
PIGSTY 1.0
postgresql-16-hunspell-de-de
PIGSTY 1.0
postgresql-15-hunspell-de-de
PIGSTY 1.0
postgresql-14-hunspell-de-de
PIGSTY 1.0
postgresql-13-hunspell-de-de
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_de_de 扩展:

pig ext install hunspell_de_de

使用 Pigsty剧本 安装 hunspell_de_de 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_de_de"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_de_de RPM 包:

dnf install hunspell_de_de_17;
dnf install hunspell_de_de_16;
dnf install hunspell_de_de_15;
dnf install hunspell_de_de_14;
dnf install hunspell_de_de_13;

APT仓库 手工安装 hunspell_de_de DEB 包:

apt install postgresql-17-hunspell-de-de;
apt install postgresql-16-hunspell-de-de;
apt install postgresql-15-hunspell-de-de;
apt install postgresql-14-hunspell-de-de;
apt install postgresql-13-hunspell-de-de;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_de_de 扩展:

CREATE EXTENSION hunspell_de_de;



10.11 - hunspell_en_us

Hunspell英语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_en_us : Hunspell英语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_en_us_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-en-us
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_en_us_17
PIGSTY 1.0
hunspell_en_us_16
PIGSTY 1.0
hunspell_en_us_15
PIGSTY 1.0
hunspell_en_us_14
PIGSTY 1.0
hunspell_en_us_13
PIGSTY 1.0
el8 aarch64 hunspell_en_us_17
PIGSTY 1.0
hunspell_en_us_16
PIGSTY 1.0
hunspell_en_us_15
PIGSTY 1.0
hunspell_en_us_14
PIGSTY 1.0
hunspell_en_us_13
PIGSTY 1.0
el9 x86_64 hunspell_en_us_17
PIGSTY 1.0
hunspell_en_us_16
PIGSTY 1.0
hunspell_en_us_15
PIGSTY 1.0
hunspell_en_us_14
PIGSTY 1.0
hunspell_en_us_13
PIGSTY 1.0
el9 aarch64 hunspell_en_us_17
PIGSTY 1.0
hunspell_en_us_16
PIGSTY 1.0
hunspell_en_us_15
PIGSTY 1.0
hunspell_en_us_14
PIGSTY 1.0
hunspell_en_us_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-en-us
PIGSTY 1.0
postgresql-16-hunspell-en-us
PIGSTY 1.0
postgresql-15-hunspell-en-us
PIGSTY 1.0
postgresql-14-hunspell-en-us
PIGSTY 1.0
postgresql-13-hunspell-en-us
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_en_us 扩展:

pig ext install hunspell_en_us

使用 Pigsty剧本 安装 hunspell_en_us 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_en_us"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_en_us RPM 包:

dnf install hunspell_en_us_17;
dnf install hunspell_en_us_16;
dnf install hunspell_en_us_15;
dnf install hunspell_en_us_14;
dnf install hunspell_en_us_13;

APT仓库 手工安装 hunspell_en_us DEB 包:

apt install postgresql-17-hunspell-en-us;
apt install postgresql-16-hunspell-en-us;
apt install postgresql-15-hunspell-en-us;
apt install postgresql-14-hunspell-en-us;
apt install postgresql-13-hunspell-en-us;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_en_us 扩展:

CREATE EXTENSION hunspell_en_us;



10.12 - hunspell_fr

Hunspell法语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_fr : Hunspell法语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_fr_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-fr
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_fr_17
PIGSTY 1.0
hunspell_fr_16
PIGSTY 1.0
hunspell_fr_15
PIGSTY 1.0
hunspell_fr_14
PIGSTY 1.0
hunspell_fr_13
PIGSTY 1.0
el8 aarch64 hunspell_fr_17
PIGSTY 1.0
hunspell_fr_16
PIGSTY 1.0
hunspell_fr_15
PIGSTY 1.0
hunspell_fr_14
PIGSTY 1.0
hunspell_fr_13
PIGSTY 1.0
el9 x86_64 hunspell_fr_17
PIGSTY 1.0
hunspell_fr_16
PIGSTY 1.0
hunspell_fr_15
PIGSTY 1.0
hunspell_fr_14
PIGSTY 1.0
hunspell_fr_13
PIGSTY 1.0
el9 aarch64 hunspell_fr_17
PIGSTY 1.0
hunspell_fr_16
PIGSTY 1.0
hunspell_fr_15
PIGSTY 1.0
hunspell_fr_14
PIGSTY 1.0
hunspell_fr_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-fr
PIGSTY 1.0
postgresql-16-hunspell-fr
PIGSTY 1.0
postgresql-15-hunspell-fr
PIGSTY 1.0
postgresql-14-hunspell-fr
PIGSTY 1.0
postgresql-13-hunspell-fr
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_fr 扩展:

pig ext install hunspell_fr

使用 Pigsty剧本 安装 hunspell_fr 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_fr"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_fr RPM 包:

dnf install hunspell_fr_17;
dnf install hunspell_fr_16;
dnf install hunspell_fr_15;
dnf install hunspell_fr_14;
dnf install hunspell_fr_13;

APT仓库 手工安装 hunspell_fr DEB 包:

apt install postgresql-17-hunspell-fr;
apt install postgresql-16-hunspell-fr;
apt install postgresql-15-hunspell-fr;
apt install postgresql-14-hunspell-fr;
apt install postgresql-13-hunspell-fr;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_fr 扩展:

CREATE EXTENSION hunspell_fr;



10.13 - hunspell_ne_np

Hunspell尼泊尔语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_ne_np : Hunspell尼泊尔语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_ne_np_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-ne-np
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_ne_np_17
PIGSTY 1.0
hunspell_ne_np_16
PIGSTY 1.0
hunspell_ne_np_15
PIGSTY 1.0
hunspell_ne_np_14
PIGSTY 1.0
hunspell_ne_np_13
PIGSTY 1.0
el8 aarch64 hunspell_ne_np_17
PIGSTY 1.0
hunspell_ne_np_16
PIGSTY 1.0
hunspell_ne_np_15
PIGSTY 1.0
hunspell_ne_np_14
PIGSTY 1.0
hunspell_ne_np_13
PIGSTY 1.0
el9 x86_64 hunspell_ne_np_17
PIGSTY 1.0
hunspell_ne_np_16
PIGSTY 1.0
hunspell_ne_np_15
PIGSTY 1.0
hunspell_ne_np_14
PIGSTY 1.0
hunspell_ne_np_13
PIGSTY 1.0
el9 aarch64 hunspell_ne_np_17
PIGSTY 1.0
hunspell_ne_np_16
PIGSTY 1.0
hunspell_ne_np_15
PIGSTY 1.0
hunspell_ne_np_14
PIGSTY 1.0
hunspell_ne_np_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-ne-np
PIGSTY 1.0
postgresql-16-hunspell-ne-np
PIGSTY 1.0
postgresql-15-hunspell-ne-np
PIGSTY 1.0
postgresql-14-hunspell-ne-np
PIGSTY 1.0
postgresql-13-hunspell-ne-np
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_ne_np 扩展:

pig ext install hunspell_ne_np

使用 Pigsty剧本 安装 hunspell_ne_np 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_ne_np"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_ne_np RPM 包:

dnf install hunspell_ne_np_17;
dnf install hunspell_ne_np_16;
dnf install hunspell_ne_np_15;
dnf install hunspell_ne_np_14;
dnf install hunspell_ne_np_13;

APT仓库 手工安装 hunspell_ne_np DEB 包:

apt install postgresql-17-hunspell-ne-np;
apt install postgresql-16-hunspell-ne-np;
apt install postgresql-15-hunspell-ne-np;
apt install postgresql-14-hunspell-ne-np;
apt install postgresql-13-hunspell-ne-np;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_ne_np 扩展:

CREATE EXTENSION hunspell_ne_np;



10.14 - hunspell_nl_nl

Hunspell荷兰语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_nl_nl : Hunspell荷兰语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_nl_nl_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-nl-nl
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_nl_nl_17
PIGSTY 1.0
hunspell_nl_nl_16
PIGSTY 1.0
hunspell_nl_nl_15
PIGSTY 1.0
hunspell_nl_nl_14
PIGSTY 1.0
hunspell_nl_nl_13
PIGSTY 1.0
el8 aarch64 hunspell_nl_nl_17
PIGSTY 1.0
hunspell_nl_nl_16
PIGSTY 1.0
hunspell_nl_nl_15
PIGSTY 1.0
hunspell_nl_nl_14
PIGSTY 1.0
hunspell_nl_nl_13
PIGSTY 1.0
el9 x86_64 hunspell_nl_nl_17
PIGSTY 1.0
hunspell_nl_nl_16
PIGSTY 1.0
hunspell_nl_nl_15
PIGSTY 1.0
hunspell_nl_nl_14
PIGSTY 1.0
hunspell_nl_nl_13
PIGSTY 1.0
el9 aarch64 hunspell_nl_nl_17
PIGSTY 1.0
hunspell_nl_nl_16
PIGSTY 1.0
hunspell_nl_nl_15
PIGSTY 1.0
hunspell_nl_nl_14
PIGSTY 1.0
hunspell_nl_nl_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-nl-nl
PIGSTY 1.0
postgresql-16-hunspell-nl-nl
PIGSTY 1.0
postgresql-15-hunspell-nl-nl
PIGSTY 1.0
postgresql-14-hunspell-nl-nl
PIGSTY 1.0
postgresql-13-hunspell-nl-nl
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_nl_nl 扩展:

pig ext install hunspell_nl_nl

使用 Pigsty剧本 安装 hunspell_nl_nl 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_nl_nl"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_nl_nl RPM 包:

dnf install hunspell_nl_nl_17;
dnf install hunspell_nl_nl_16;
dnf install hunspell_nl_nl_15;
dnf install hunspell_nl_nl_14;
dnf install hunspell_nl_nl_13;

APT仓库 手工安装 hunspell_nl_nl DEB 包:

apt install postgresql-17-hunspell-nl-nl;
apt install postgresql-16-hunspell-nl-nl;
apt install postgresql-15-hunspell-nl-nl;
apt install postgresql-14-hunspell-nl-nl;
apt install postgresql-13-hunspell-nl-nl;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_nl_nl 扩展:

CREATE EXTENSION hunspell_nl_nl;



10.15 - hunspell_nn_no

Hunspell挪威语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_nn_no : Hunspell挪威语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_nn_no_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-nn-no
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_nn_no_17
PIGSTY 1.0
hunspell_nn_no_16
PIGSTY 1.0
hunspell_nn_no_15
PIGSTY 1.0
hunspell_nn_no_14
PIGSTY 1.0
hunspell_nn_no_13
PIGSTY 1.0
el8 aarch64 hunspell_nn_no_17
PIGSTY 1.0
hunspell_nn_no_16
PIGSTY 1.0
hunspell_nn_no_15
PIGSTY 1.0
hunspell_nn_no_14
PIGSTY 1.0
hunspell_nn_no_13
PIGSTY 1.0
el9 x86_64 hunspell_nn_no_17
PIGSTY 1.0
hunspell_nn_no_16
PIGSTY 1.0
hunspell_nn_no_15
PIGSTY 1.0
hunspell_nn_no_14
PIGSTY 1.0
hunspell_nn_no_13
PIGSTY 1.0
el9 aarch64 hunspell_nn_no_17
PIGSTY 1.0
hunspell_nn_no_16
PIGSTY 1.0
hunspell_nn_no_15
PIGSTY 1.0
hunspell_nn_no_14
PIGSTY 1.0
hunspell_nn_no_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-nn-no
PIGSTY 1.0
postgresql-16-hunspell-nn-no
PIGSTY 1.0
postgresql-15-hunspell-nn-no
PIGSTY 1.0
postgresql-14-hunspell-nn-no
PIGSTY 1.0
postgresql-13-hunspell-nn-no
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_nn_no 扩展:

pig ext install hunspell_nn_no

使用 Pigsty剧本 安装 hunspell_nn_no 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_nn_no"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_nn_no RPM 包:

dnf install hunspell_nn_no_17;
dnf install hunspell_nn_no_16;
dnf install hunspell_nn_no_15;
dnf install hunspell_nn_no_14;
dnf install hunspell_nn_no_13;

APT仓库 手工安装 hunspell_nn_no DEB 包:

apt install postgresql-17-hunspell-nn-no;
apt install postgresql-16-hunspell-nn-no;
apt install postgresql-15-hunspell-nn-no;
apt install postgresql-14-hunspell-nn-no;
apt install postgresql-13-hunspell-nn-no;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_nn_no 扩展:

CREATE EXTENSION hunspell_nn_no;



10.16 - hunspell_pt_pt

Hunspell葡萄牙语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_pt_pt : Hunspell葡萄牙语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_pt_pt_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-pt-pt
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_pt_pt_17
PIGSTY 1.0
hunspell_pt_pt_16
PIGSTY 1.0
hunspell_pt_pt_15
PIGSTY 1.0
hunspell_pt_pt_14
PIGSTY 1.0
hunspell_pt_pt_13
PIGSTY 1.0
el8 aarch64
el9 x86_64 hunspell_pt_pt_17
PIGSTY 1.0
hunspell_pt_pt_16
PIGSTY 1.0
hunspell_pt_pt_15
PIGSTY 1.0
hunspell_pt_pt_14
PIGSTY 1.0
hunspell_pt_pt_13
PIGSTY 1.0
el9 aarch64
d12 x86_64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-pt-pt
PIGSTY 1.0
postgresql-16-hunspell-pt-pt
PIGSTY 1.0
postgresql-15-hunspell-pt-pt
PIGSTY 1.0
postgresql-14-hunspell-pt-pt
PIGSTY 1.0
postgresql-13-hunspell-pt-pt
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_pt_pt 扩展:

pig ext install hunspell_pt_pt

使用 Pigsty剧本 安装 hunspell_pt_pt 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_pt_pt"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_pt_pt RPM 包:

dnf install hunspell_pt_pt_17;
dnf install hunspell_pt_pt_16;
dnf install hunspell_pt_pt_15;
dnf install hunspell_pt_pt_14;
dnf install hunspell_pt_pt_13;

APT仓库 手工安装 hunspell_pt_pt DEB 包:

apt install postgresql-17-hunspell-pt-pt;
apt install postgresql-16-hunspell-pt-pt;
apt install postgresql-15-hunspell-pt-pt;
apt install postgresql-14-hunspell-pt-pt;
apt install postgresql-13-hunspell-pt-pt;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_pt_pt 扩展:

CREATE EXTENSION hunspell_pt_pt;



10.17 - hunspell_ru_ru

Hunspell俄语全文检索词典

扩展总览

PIGSTY 第三方扩展: hunspell_ru_ru : Hunspell俄语全文检索词典

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_ru_ru_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-ru-ru
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_ru_ru_17
PIGSTY 1.0
hunspell_ru_ru_16
PIGSTY 1.0
hunspell_ru_ru_15
PIGSTY 1.0
hunspell_ru_ru_14
PIGSTY 1.0
hunspell_ru_ru_13
PIGSTY 1.0
el8 aarch64 hunspell_ru_ru_17
PIGSTY 1.0
hunspell_ru_ru_16
PIGSTY 1.0
hunspell_ru_ru_15
PIGSTY 1.0
hunspell_ru_ru_14
PIGSTY 1.0
hunspell_ru_ru_13
PIGSTY 1.0
el9 x86_64 hunspell_ru_ru_17
PIGSTY 1.0
hunspell_ru_ru_16
PIGSTY 1.0
hunspell_ru_ru_15
PIGSTY 1.0
hunspell_ru_ru_14
PIGSTY 1.0
hunspell_ru_ru_13
PIGSTY 1.0
el9 aarch64 hunspell_ru_ru_17
PIGSTY 1.0
hunspell_ru_ru_16
PIGSTY 1.0
hunspell_ru_ru_15
PIGSTY 1.0
hunspell_ru_ru_14
PIGSTY 1.0
hunspell_ru_ru_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-ru-ru
PIGSTY 1.0
postgresql-16-hunspell-ru-ru
PIGSTY 1.0
postgresql-15-hunspell-ru-ru
PIGSTY 1.0
postgresql-14-hunspell-ru-ru
PIGSTY 1.0
postgresql-13-hunspell-ru-ru
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_ru_ru 扩展:

pig ext install hunspell_ru_ru

使用 Pigsty剧本 安装 hunspell_ru_ru 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_ru_ru"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_ru_ru RPM 包:

dnf install hunspell_ru_ru_17;
dnf install hunspell_ru_ru_16;
dnf install hunspell_ru_ru_15;
dnf install hunspell_ru_ru_14;
dnf install hunspell_ru_ru_13;

APT仓库 手工安装 hunspell_ru_ru DEB 包:

apt install postgresql-17-hunspell-ru-ru;
apt install postgresql-16-hunspell-ru-ru;
apt install postgresql-15-hunspell-ru-ru;
apt install postgresql-14-hunspell-ru-ru;
apt install postgresql-13-hunspell-ru-ru;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_ru_ru 扩展:

CREATE EXTENSION hunspell_ru_ru;



10.18 - hunspell_ru_ru_aot

Hunspell俄语全文检索词典(来自AOT.ru小组)

扩展总览

PIGSTY 第三方扩展: hunspell_ru_ru_aot : Hunspell俄语全文检索词典(来自AOT.ru小组)

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hunspell_ru_ru_aot_$v
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hunspell-ru-ru-aot
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hunspell_ru_ru_aot_17
PIGSTY 1.0
hunspell_ru_ru_aot_16
PIGSTY 1.0
hunspell_ru_ru_aot_15
PIGSTY 1.0
hunspell_ru_ru_aot_14
PIGSTY 1.0
hunspell_ru_ru_aot_13
PIGSTY 1.0
el8 aarch64 hunspell_ru_ru_aot_17
PIGSTY 1.0
hunspell_ru_ru_aot_16
PIGSTY 1.0
hunspell_ru_ru_aot_15
PIGSTY 1.0
hunspell_ru_ru_aot_14
PIGSTY 1.0
hunspell_ru_ru_aot_13
PIGSTY 1.0
el9 x86_64 hunspell_ru_ru_aot_17
PIGSTY 1.0
hunspell_ru_ru_aot_16
PIGSTY 1.0
hunspell_ru_ru_aot_15
PIGSTY 1.0
hunspell_ru_ru_aot_14
PIGSTY 1.0
hunspell_ru_ru_aot_13
PIGSTY 1.0
el9 aarch64 hunspell_ru_ru_aot_17
PIGSTY 1.0
hunspell_ru_ru_aot_16
PIGSTY 1.0
hunspell_ru_ru_aot_15
PIGSTY 1.0
hunspell_ru_ru_aot_14
PIGSTY 1.0
hunspell_ru_ru_aot_13
PIGSTY 1.0
d12 x86_64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0
d12 aarch64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0
u22 x86_64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0
u22 aarch64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0
u24 x86_64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0
u24 aarch64 postgresql-17-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-16-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-15-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-14-hunspell-ru-ru-aot
PIGSTY 1.0
postgresql-13-hunspell-ru-ru-aot
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 hunspell_ru_ru_aot 扩展:

pig ext install hunspell_ru_ru_aot

使用 Pigsty剧本 安装 hunspell_ru_ru_aot 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hunspell_ru_ru_aot"]}' # -l <集群名>

YUM仓库 手工安装 hunspell_ru_ru_aot RPM 包:

dnf install hunspell_ru_ru_aot_17;
dnf install hunspell_ru_ru_aot_16;
dnf install hunspell_ru_ru_aot_15;
dnf install hunspell_ru_ru_aot_14;
dnf install hunspell_ru_ru_aot_13;

APT仓库 手工安装 hunspell_ru_ru_aot DEB 包:

apt install postgresql-17-hunspell-ru-ru-aot;
apt install postgresql-16-hunspell-ru-ru-aot;
apt install postgresql-15-hunspell-ru-ru-aot;
apt install postgresql-14-hunspell-ru-ru-aot;
apt install postgresql-13-hunspell-ru-ru-aot;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hunspell_ru_ru_aot 扩展:

CREATE EXTENSION hunspell_ru_ru_aot;



10.19 - fuzzystrmatch

确定字符串之间的相似性和距离

扩展总览

CONTRIB 自带扩展: fuzzystrmatch : 确定字符串之间的相似性和距离

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 fuzzystrmatch 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 fuzzystrmatch RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 fuzzystrmatch DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 fuzzystrmatch 扩展:

CREATE EXTENSION fuzzystrmatch;



10.20 - pg_trgm

文本相似度测量函数与模糊检索

扩展总览

CONTRIB 自带扩展: pg_trgm : 文本相似度测量函数与模糊检索

基本信息

元数据

  • 默认版本: 1.6
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 pg_trgm 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 pg_trgm RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 pg_trgm DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_trgm 扩展:

CREATE EXTENSION pg_trgm;



11 - 类目:OLAP

分析能力扩展:列式存储,DuckDB与外部数据源包装器,Parquet S3,数据冷热分级存储,分布式计算,透明分片,GPU加速

OLAP 类目共有 13 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
citus citus PIGSTY 13.0.2 OLAP AGPLv3 Citus 分布式数据库
citus_columnar citus PIGSTY 13.0.2 OLAP AGPLv3 Citus 列式存储引擎
columnar hydra PIGSTY 1.1.2 OLAP AGPLv3 开源列式存储扩展
pg_analytics pg_analytics PIGSTY 0.3.7 OLAP PostgreSQL 由 DuckDB 驱动的数据分析引擎
pg_duckdb pg_duckdb PIGSTY 0.3.1 OLAP MIT 在PostgreSQL中的嵌入式DuckDB扩展
pg_mooncake pg_mooncake PIGSTY 0.1.2 OLAP MIT PostgreSQL列式存储表
duckdb_fdw duckdb_fdw PIGSTY 1.1.2 OLAP MIT DuckDB 外部数据源包装器
pg_parquet pg_parquet PIGSTY 0.3.1 OLAP PostgreSQL 在PostgreSQL与本地/S3中的Parquet文件复制数据
pg_fkpart pg_fkpart MIXED 1.7.0 OLAP GPLv2 按外键实用程序进行表分区的扩展
pg_partman pg_partman PGDG 5.2.4 OLAP PostgreSQL 用于按时间或 ID 管理分区表的扩展
plproxy plproxy PGDG 2.11.0 OLAP BSD 0 作为过程语言实现的数据库分区
pg_strom pg_strom PGDG 5.2.2 OLAP PostgreSQL 使用GPU与NVMe加速大数据处理
tablefunc tablefunc CONTRIB 1.0 OLAP PostgreSQL 交叉表函数

11.1 - citus

Citus 分布式数据库

扩展总览

PIGSTY 第三方扩展: citus : Citus 分布式数据库

基本信息

元数据

  • 默认版本: 13.0.3
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:citus_$v*
  • RPM版本:13.0.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-citus
  • DEB版本:13.0.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el8 aarch64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el9 x86_64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el9 aarch64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
d12 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
d12 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u22 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u22 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u24 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u24 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0

扩展安装

使用 pig 命令行工具安装 citus 扩展:

pig ext install citus

使用 Pigsty剧本 安装 citus 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["citus"]}' # -l <集群名>

YUM仓库 手工安装 citus RPM 包:

dnf install citus_17*;
dnf install citus_16*;
dnf install citus_15*;
dnf install citus_14*;

APT仓库 手工安装 citus DEB 包:

apt install postgresql-17-citus;
apt install postgresql-16-citus;
apt install postgresql-15-citus;
apt install postgresql-14-citus;

扩展 citus 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'citus'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 citus 扩展:

CREATE EXTENSION citus;



11.2 - citus_columnar

Citus 列式存储引擎

扩展总览

PIGSTY 第三方扩展: citus : Citus 列式存储引擎

基本信息

  • 扩展编号: 2401
  • 扩展名称: citus_columnar
  • 标准包名: citus
  • 扩展类目: OLAP
  • 开源协议: AGPLv3
  • 官方网站: https://github.com/citusdata/citus
  • 编程语言: C
  • 其他标签: 无
  • 备注信息:

元数据

  • 默认版本: 13.0.3
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:citus_$v*
  • RPM版本:13.0.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-citus
  • DEB版本:13.0.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el8 aarch64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el9 x86_64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
el9 aarch64 citus_17
PIGSTY 13.0.3
citus_16
PIGSTY 13.0.3
citus_15
PIGSTY 13.0.3
citus_14
PIGSTY 13.0.0
citus_13
PGDG 11.3.0
d12 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
d12 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u22 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u22 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u24 x86_64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0
u24 aarch64 postgresql-17-citus
PIGSTY 13.0.3
postgresql-16-citus
PIGSTY 13.0.3
postgresql-15-citus
PIGSTY 13.0.3
postgresql-14-citus
PIGSTY 13.0.0

扩展安装

使用 pig 命令行工具安装 citus 扩展:

pig ext install citus; # 扩展名称
pig ext install citus_columnar; # 标准包名

使用 Pigsty剧本 安装 citus 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["citus"]}' # -l <集群名>

YUM仓库 手工安装 citus RPM 包:

dnf install citus_17*;
dnf install citus_16*;
dnf install citus_15*;
dnf install citus_14*;

APT仓库 手工安装 citus DEB 包:

apt install postgresql-17-citus;
apt install postgresql-16-citus;
apt install postgresql-15-citus;
apt install postgresql-14-citus;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 citus_columnar 扩展:

CREATE EXTENSION citus_columnar;



11.3 - columnar

开源列式存储扩展

扩展总览

PIGSTY 第三方扩展: hydra : 开源列式存储扩展

基本信息

元数据

  • 默认版本: 1.1.2
  • PG大版本: 16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:hydra_$v*
  • RPM版本:1.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-hydra
  • DEB版本:1.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hydra_16
PIGSTY 1.1.2
hydra_15
PIGSTY 1.1.2
hydra_14
PIGSTY 1.1.2
hydra_13
PIGSTY 1.1.2
el8 aarch64 hydra_16
PIGSTY 1.1.2
hydra_15
PIGSTY 1.1.2
hydra_14
PIGSTY 1.1.2
hydra_13
PIGSTY 1.1.2
el9 x86_64 hydra_16
PIGSTY 1.1.2
hydra_15
PIGSTY 1.1.2
hydra_14
PIGSTY 1.1.2
hydra_13
PIGSTY 1.1.2
el9 aarch64 hydra_16
PIGSTY 1.1.2
hydra_15
PIGSTY 1.1.2
hydra_14
PIGSTY 1.1.2
hydra_13
PIGSTY 1.1.2
d12 x86_64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2
d12 aarch64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2
u22 x86_64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2
u22 aarch64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2
u24 x86_64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2
u24 aarch64 postgresql-16-hydra
PIGSTY 1.1.2
postgresql-15-hydra
PIGSTY 1.1.2
postgresql-14-hydra
PIGSTY 1.1.2
postgresql-13-hydra
PIGSTY 1.1.2

扩展安装

使用 pig 命令行工具安装 hydra 扩展:

pig ext install hydra; # 扩展名称
pig ext install columnar; # 标准包名

使用 Pigsty剧本 安装 hydra 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hydra"]}' # -l <集群名>

YUM仓库 手工安装 hydra RPM 包:

dnf install hydra_16*;
dnf install hydra_15*;
dnf install hydra_14*;
dnf install hydra_13*;

APT仓库 手工安装 hydra DEB 包:

apt install postgresql-16-hydra;
apt install postgresql-15-hydra;
apt install postgresql-14-hydra;
apt install postgresql-13-hydra;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 columnar 扩展:

CREATE EXTENSION columnar;



11.4 - pg_analytics

由 DuckDB 驱动的数据分析引擎

扩展总览

PIGSTY 第三方扩展: pg_analytics : 由 DuckDB 驱动的数据分析引擎

基本信息

元数据

  • 默认版本: 0.3.7
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: paradedb
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_analytics_$v
  • RPM版本:0.3.7
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-analytics
  • DEB版本:0.3.7
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_analytics_17
PIGSTY 0.3.7
pg_analytics_16
PIGSTY 0.3.7
pg_analytics_15
PIGSTY 0.3.7
pg_analytics_14
PIGSTY 0.3.7
pg_analytics_13
PIGSTY 0.2.1
el8 aarch64 pg_analytics_17
PIGSTY 0.3.7
pg_analytics_16
PIGSTY 0.3.7
pg_analytics_15
PIGSTY 0.3.7
pg_analytics_14
PIGSTY 0.3.7
pg_analytics_13
PIGSTY 0.2.1
el9 x86_64 pg_analytics_17
PIGSTY 0.3.7
pg_analytics_16
PIGSTY 0.3.7
pg_analytics_15
PIGSTY 0.3.7
pg_analytics_14
PIGSTY 0.3.7
pg_analytics_13
PIGSTY 0.2.1
el9 aarch64 pg_analytics_17
PIGSTY 0.3.7
pg_analytics_16
PIGSTY 0.3.7
pg_analytics_15
PIGSTY 0.3.7
pg_analytics_14
PIGSTY 0.3.7
pg_analytics_13
PIGSTY 0.2.1
d12 x86_64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7
d12 aarch64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7
u22 x86_64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7
u22 aarch64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7
u24 x86_64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7
u24 aarch64 postgresql-17-pg-analytics
PIGSTY 0.3.7
postgresql-16-pg-analytics
PIGSTY 0.3.7
postgresql-15-pg-analytics
PIGSTY 0.3.7
postgresql-14-pg-analytics
PIGSTY 0.3.7

扩展安装

使用 pig 命令行工具安装 pg_analytics 扩展:

pig ext install pg_analytics

使用 Pigsty剧本 安装 pg_analytics 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_analytics"]}' # -l <集群名>

YUM仓库 手工安装 pg_analytics RPM 包:

dnf install pg_analytics_17;
dnf install pg_analytics_16;
dnf install pg_analytics_15;
dnf install pg_analytics_14;

APT仓库 手工安装 pg_analytics DEB 包:

apt install postgresql-17-pg-analytics;
apt install postgresql-16-pg-analytics;
apt install postgresql-15-pg-analytics;
apt install postgresql-14-pg-analytics;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_analytics 扩展:

CREATE EXTENSION pg_analytics;

使用方法

https://github.com/paradedb/pg_analytics

Example, read parquet file from S3:

CREATE EXTENSION pg_lakehouse;
CREATE FOREIGN DATA WRAPPER parquet_wrapper HANDLER parquet_fdw_handler VALIDATOR parquet_fdw_validator;

-- Provide S3 credentials
CREATE SERVER parquet_server FOREIGN DATA WRAPPER parquet_wrapper;

-- Create foreign table with auto schema creation
CREATE FOREIGN TABLE trips ()
SERVER parquet_server
OPTIONS (files 's3://paradedb-benchmarks/yellow_tripdata_2024-01.parquet');

-- Success! Now you can query the remote Parquet file like a regular Postgres table
SELECT COUNT(*) FROM trips;
  count
---------
 2964624
(1 row)

This fdw is read-only for now.


Iceberg Support

CREATE EXTENSION pg_lakehouse;

CREATE FOREIGN DATA WRAPPER iceberg_wrapper
    HANDLER iceberg_fdw_handler
    VALIDATOR iceberg_fdw_validator;

CREATE SERVER iceberg_server
    FOREIGN DATA WRAPPER iceberg_wrapper;

-- Replace the dummy schema with the actual schema
CREATE FOREIGN TABLE iceberg_table (x INT)
    SERVER iceberg_server
    OPTIONS (files 's3://bucket/iceberg_folder');

-- Success! You can now query the Iceberg table
SELECT COUNT(*) FROM iceberg_table;



11.5 - pg_duckdb

在PostgreSQL中的嵌入式DuckDB扩展

扩展总览

PIGSTY 第三方扩展: pg_duckdb : 在PostgreSQL中的嵌入式DuckDB扩展

基本信息

  • 扩展编号: 2430
  • 扩展名称: pg_duckdb
  • 标准包名: pg_duckdb
  • 扩展类目: OLAP
  • 开源协议: MIT
  • 官方网站: https://github.com/duckdb/pg_duckdb
  • 编程语言: C++
  • 其他标签: duckdb
  • 备注信息:

元数据

  • 默认版本: 0.3.1
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_duckdb_$v*
  • RPM版本:0.3.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-duckdb
  • DEB版本:0.3.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64 pg_duckdb_17
PIGSTY 0.3.1
pg_duckdb_16
PIGSTY 0.3.1
pg_duckdb_15
PIGSTY 0.3.1
pg_duckdb_14
PIGSTY 0.3.1
el9 aarch64 pg_duckdb_17
PIGSTY 0.3.1
pg_duckdb_16
PIGSTY 0.3.1
pg_duckdb_15
PIGSTY 0.3.1
pg_duckdb_14
PIGSTY 0.3.1
d12 x86_64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1
d12 aarch64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1
u22 x86_64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1
u22 aarch64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1
u24 x86_64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1
u24 aarch64 postgresql-17-pg-duckdb
PIGSTY 0.3.1
postgresql-16-pg-duckdb
PIGSTY 0.3.1
postgresql-15-pg-duckdb
PIGSTY 0.3.1
postgresql-14-pg-duckdb
PIGSTY 0.3.1

扩展安装

使用 pig 命令行工具安装 pg_duckdb 扩展:

pig ext install pg_duckdb

使用 Pigsty剧本 安装 pg_duckdb 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_duckdb"]}' # -l <集群名>

YUM仓库 手工安装 pg_duckdb RPM 包:

dnf install pg_duckdb_17*;
dnf install pg_duckdb_16*;
dnf install pg_duckdb_15*;
dnf install pg_duckdb_14*;

APT仓库 手工安装 pg_duckdb DEB 包:

apt install postgresql-17-pg-duckdb;
apt install postgresql-16-pg-duckdb;
apt install postgresql-15-pg-duckdb;
apt install postgresql-14-pg-duckdb;

扩展 pg_duckdb 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_duckdb'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_duckdb 扩展:

CREATE EXTENSION pg_duckdb;

使用方法

Add pg_duckdb to shared_preload_libraries via patronictl

pg edit-config --force -p shared_preload_libraries='pg_duckdb, pg_stat_statements, auto_explain'
pg restart --force pg-meta

Create Extension

CREATE EXTENSION pg_duckdb;

Generate some data

pgbench -is100
\timing on

SELECT count(*) FROM pgbench_accounts;
-- 3268.023ms

# use the duckdb execution engine
SET duckdb.force_execution = true;


postgres@el8:5432/postgres=# explain SELECT count(*) FROM pgbench_accounts;
                                   QUERY PLAN
---------------------------------------------------------------------------------
Custom Scan (DuckDBScan)  (cost=0.00..0.00 rows=0 width=0)
DuckDB Execution Plan:

┌───────────────────────────┐
│    UNGROUPED_AGGREGATE    │
│    ────────────────────   │
│        Aggregates:        │
│        count_star()└─────────────┬─────────────┘
┌─────────────┴─────────────┐
│     POSTGRES_SEQ_SCAN     │
│    ────────────────────   │
│         Function:         │
│     POSTGRES_SEQ_SCAN     │
│                           │
│       ~10000000 Rows      │
└───────────────────────────┘


JIT:
Functions: 1
Options: Inlining false, Optimization false, Expressions true, Deforming true
(22 rows)


postgres@el8:5432/postgres=# SELECT count(*) FROM pgbench_accounts;
count
----------
10000000
(1 row)

Time: 696.801 ms

According some user feedbacks, the duckdb engine can achieve 100x - 1000x speed up on certain queries.

Check more details @ https://github.com/duckdb/pg_duckdb




11.6 - pg_mooncake

PostgreSQL列式存储表

扩展总览

PIGSTY 第三方扩展: pg_mooncake : PostgreSQL列式存储表

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_mooncake_$v*
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-mooncake
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_mooncake_17
PIGSTY 0.1.2
pg_mooncake_16
PIGSTY 0.1.2
pg_mooncake_15
PIGSTY 0.1.2
pg_mooncake_14
PIGSTY 0.1.2
el8 aarch64 pg_mooncake_17
PIGSTY 0.1.2
pg_mooncake_16
PIGSTY 0.1.2
pg_mooncake_15
PIGSTY 0.1.2
pg_mooncake_14
PIGSTY 0.1.2
el9 x86_64 pg_mooncake_17
PIGSTY 0.1.2
pg_mooncake_16
PIGSTY 0.1.2
pg_mooncake_15
PIGSTY 0.1.2
pg_mooncake_14
PIGSTY 0.1.2
el9 aarch64 pg_mooncake_17
PIGSTY 0.1.2
pg_mooncake_16
PIGSTY 0.1.2
pg_mooncake_15
PIGSTY 0.1.2
pg_mooncake_14
PIGSTY 0.1.2
d12 x86_64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2
d12 aarch64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2
u22 x86_64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2
u22 aarch64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2
u24 x86_64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2
u24 aarch64 postgresql-17-pg-mooncake
PIGSTY 0.1.2
postgresql-16-pg-mooncake
PIGSTY 0.1.2
postgresql-15-pg-mooncake
PIGSTY 0.1.2
postgresql-14-pg-mooncake
PIGSTY 0.1.2

扩展安装

使用 pig 命令行工具安装 pg_mooncake 扩展:

pig ext install pg_mooncake

使用 Pigsty剧本 安装 pg_mooncake 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_mooncake"]}' # -l <集群名>

YUM仓库 手工安装 pg_mooncake RPM 包:

dnf install pg_mooncake_17*;
dnf install pg_mooncake_16*;
dnf install pg_mooncake_15*;
dnf install pg_mooncake_14*;

APT仓库 手工安装 pg_mooncake DEB 包:

apt install postgresql-17-pg-mooncake;
apt install postgresql-16-pg-mooncake;
apt install postgresql-15-pg-mooncake;
apt install postgresql-14-pg-mooncake;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_mooncake 扩展:

CREATE EXTENSION pg_mooncake;

使用方法

THIS EXTENSION IS CONFLICT WITH pg_duckdb & duckdb_fdw, if it is under maintained, we may remove this extension in the future

Beware that this package is conflict with the official pg_duckdb extension due to use the same libduckdb.so under same path.

And this function will block the duckdb_fdw functioning.

-- Create a columnstore table in PostgreSQL
CREATE TABLE user_activity (....) USING columnstore;

-- Insert data into a columnstore table
INSERT INTO user_activity VALUES ....;

-- Query a columnstore table in PostgreSQL
SELECT * FROM user_activity LIMIT 5;

Example

Use mooncake with S3:

SELECT mooncake.create_secret('<name>', 'S3', '<key_id>', '<secret>', '{"REGION": "<s3-region>"}');

SET mooncake.default_bucket = 's3://<bucket>';

SET mooncake.enable_local_cache = false; -- (if you are using Neon)

Use mooncake with local columnstore:

CREATE TABLE user_activity(
  user_id BIGINT,
  activity_type TEXT,
  activity_timestamp TIMESTAMP,
  duration INT
) USING columnstore;

INSERT INTO user_activity VALUES
  (1, 'login', '2024-01-01 08:00:00', 120),
  (2, 'page_view', '2024-01-01 08:05:00', 30),
  (3, 'logout', '2024-01-01 08:30:00', 60),
  (4, 'error', '2024-01-01 08:13:00', 60);

SELECT * FROM user_activity;

Run analytic queries

SELECT
    user_id,
    activity_type,
    SUM(duration) AS total_duration,
    COUNT(*) AS activity_count
FROM
    user_activity
GROUP BY
    user_id, activity_type
ORDER BY
    user_id, activity_type;

The explain result could be:

postgres@u22:5432/postgres=# explain SELECT
    user_id,
    activity_type,
    SUM(duration) AS total_duration,
    COUNT(*) AS activity_count
FROM
    user_activity
GROUP BY
    user_id, activity_type
ORDER BY
    user_id, activity_type;
                         QUERY PLAN
------------------------------------------------------------
 Custom Scan (DuckDBScan)  (cost=0.00..0.00 rows=0 width=0)
   DuckDB Execution Plan:

 ┌───────────────────────────┐
 │         PROJECTION        │
 │    ────────────────────   │
 │__internal_decompress_integ│
 │     ral_bigint(#0, 1)     │
 │             #1            │
 │             #2            │
 │             #3            │
 │                           │
 │          ~2 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │          ORDER_BY         │
 │    ────────────────────   │
 │ user_activity.user_id ASC │
 │       user_activity       │
 │     .activity_type ASC    │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │         PROJECTION        │
 │    ────────────────────   │
 │__internal_compress_integra│
 │     l_utinyint(#0, 1)     │
 │             #1            │
 │             #2            │
 │             #3            │
 │                           │
 │          ~2 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │         PROJECTION        │
 │    ────────────────────   │
 │__internal_decompress_integ│
 │     ral_bigint(#0, 1)     │
 │             #1            │
 │             #2            │
 │             #3            │
 │                           │
 │          ~2 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │       HASH_GROUP_BY       │
 │    ────────────────────   │
 │          Groups:          │
 │             #0            │
 │             #1            │
 │                           │
 │        Aggregates:        │
 │          sum(#2)          │
 │        count_star()       │
 │                           │
 │          ~2 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │         PROJECTION        │
 │    ────────────────────   │
 │          user_id          │
 │       activity_type       │
 │          duration         │
 │                           │
 │          ~4 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │         PROJECTION        │
 │    ────────────────────   │
 │__internal_compress_integra│
 │     l_utinyint(#0, 1)     │
 │             #1            │
 │             #2            │
 │                           │
 │          ~4 Rows          │
 └─────────────┬─────────────┘
 ┌─────────────┴─────────────┐
 │     COLUMNSTORE_SCAN      │
 │    ────────────────────   │
 │         Function:         │
 │      COLUMNSTORE_SCAN     │
 │                           │
 │        Projections:       │
 │          user_id          │
 │       activity_type       │
 │          duration         │
 │                           │
 │          ~4 Rows          │
 └───────────────────────────┘


(90 rows)



11.7 - duckdb_fdw

DuckDB 外部数据源包装器

扩展总览

PIGSTY 第三方扩展: duckdb_fdw : DuckDB 外部数据源包装器

基本信息

  • 扩展编号: 2450
  • 扩展名称: duckdb_fdw
  • 标准包名: duckdb_fdw
  • 扩展类目: OLAP
  • 开源协议: MIT
  • 官方网站: https://github.com/alitrack/duckdb_fdw
  • 编程语言: C
  • 其他标签: duckdb
  • 备注信息:

元数据

  • 默认版本: 1.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:duckdb_fdw_$v*
  • RPM版本:1.0.0
  • RPM依赖:libduckdb
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-duckdb-fdw
  • DEB版本:1.0.0
  • DEB依赖:libduckdb

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 duckdb_fdw_17
PIGSTY 1.1.2
duckdb_fdw_16
PIGSTY 1.1.2
duckdb_fdw_15
PIGSTY 1.1.2
duckdb_fdw_14
PIGSTY 1.1.2
duckdb_fdw_13
PIGSTY 1.1.2
el8 aarch64 duckdb_fdw_17
PIGSTY 1.1.2
duckdb_fdw_16
PIGSTY 1.1.2
duckdb_fdw_15
PIGSTY 1.1.2
duckdb_fdw_14
PIGSTY 1.1.2
duckdb_fdw_13
PIGSTY 1.1.2
el9 x86_64 duckdb_fdw_17
PIGSTY 1.1.2
duckdb_fdw_16
PIGSTY 1.1.2
duckdb_fdw_15
PIGSTY 1.1.2
duckdb_fdw_14
PIGSTY 1.1.2
duckdb_fdw_13
PIGSTY 1.1.2
el9 aarch64 duckdb_fdw_17
PIGSTY 1.1.2
duckdb_fdw_16
PIGSTY 1.1.2
duckdb_fdw_15
PIGSTY 1.1.2
duckdb_fdw_14
PIGSTY 1.1.2
duckdb_fdw_13
PIGSTY 1.1.2
d12 x86_64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2
d12 aarch64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2
u22 x86_64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2
u22 aarch64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2
u24 x86_64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2
u24 aarch64 postgresql-17-duckdb-fdw
PIGSTY 1.1.2
postgresql-16-duckdb-fdw
PIGSTY 1.1.2
postgresql-15-duckdb-fdw
PIGSTY 1.1.2
postgresql-14-duckdb-fdw
PIGSTY 1.1.2
postgresql-13-duckdb-fdw
PIGSTY 1.1.2

扩展安装

使用 pig 命令行工具安装 duckdb_fdw 扩展:

pig ext install duckdb_fdw

使用 Pigsty剧本 安装 duckdb_fdw 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["duckdb_fdw"]}' # -l <集群名>

YUM仓库 手工安装 duckdb_fdw RPM 包:

dnf install duckdb_fdw_17*;
dnf install duckdb_fdw_16*;
dnf install duckdb_fdw_15*;
dnf install duckdb_fdw_14*;
dnf install duckdb_fdw_13*;

APT仓库 手工安装 duckdb_fdw DEB 包:

apt install postgresql-17-duckdb-fdw;
apt install postgresql-16-duckdb-fdw;
apt install postgresql-15-duckdb-fdw;
apt install postgresql-14-duckdb-fdw;
apt install postgresql-13-duckdb-fdw;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 duckdb_fdw 扩展:

CREATE EXTENSION duckdb_fdw;

使用方法

Create Extension

After install the duckdb_fdw yum package, you can create the extension inside PostgreSQL database:

-- create extension
CREATE EXTENSION duckdb_fdw;

-- create duckdb_fdw server
CREATE SERVER duckdb_server FOREIGN DATA WRAPPER duckdb_fdw OPTIONS (database '/tmp/duck.db');

-- create user mapping [OPTIONAL]
-- GRANT USAGE ON FOREIGN SERVER duckdb_server TO PUBLIC;

SELECT duckdb_fdw_version();

-- You can execute duckdb command with `duckdb_execute`, for example, to create a table inside duckdb:
-- create a table in duckdb
SELECT duckdb_execute('duckdb_server', 'CREATE TABLE t1 (a integer,b varchar);');

-- create duckdb foreign table mapping that duckdb table
CREATE FOREIGN TABLE t1 (
    a integer,
    b text
) SERVER duckdb_server OPTIONS (
    table 't1'
);

-- write some data and read it back
INSERT INTO t1 SELECT i AS a,i::text AS b FROM generate_series(1,10) i;
SELECT * FROM t1;

You can also import foreign schema from duckdb server, for example, create a table with duckdb cli:

duckdb /tmp/duck.db

CREATE TABLE t1 (
  a integer,
  b text
);
  
INSERT INTO t1 VALUES (1, 'a'), (2 , 'b'), (3, 'c');
SELECT * FROM t1;

Then import the schema into PostgreSQL:

IMPORT FOREIGN SCHEMA public FROM SERVER duckdb_server INTO public;

Other Resource




11.8 - pg_parquet

在PostgreSQL与本地/S3中的Parquet文件复制数据

扩展总览

PIGSTY 第三方扩展: pg_parquet : 在PostgreSQL与本地/S3中的Parquet文件复制数据

基本信息

元数据

  • 默认版本: 0.4.0
  • PG大版本: 17,16,15,14
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_parquet_$v
  • RPM版本:0.4.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-parquet
  • DEB版本:0.4.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_parquet_17
PIGSTY 0.4.0
pg_parquet_16
PIGSTY 0.4.0
pg_parquet_15
PIGSTY 0.4.0
pg_parquet_14
PIGSTY 0.4.0
el8 aarch64 pg_parquet_17
PIGSTY 0.4.0
pg_parquet_16
PIGSTY 0.4.0
pg_parquet_15
PIGSTY 0.4.0
pg_parquet_14
PIGSTY 0.4.0
el9 x86_64 pg_parquet_17
PIGSTY 0.4.0
pg_parquet_16
PIGSTY 0.4.0
pg_parquet_15
PIGSTY 0.4.0
pg_parquet_14
PIGSTY 0.4.0
el9 aarch64 pg_parquet_17
PIGSTY 0.4.0
pg_parquet_16
PIGSTY 0.4.0
pg_parquet_15
PIGSTY 0.4.0
pg_parquet_14
PIGSTY 0.4.0
d12 x86_64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0
d12 aarch64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0
u22 x86_64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0
u22 aarch64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0
u24 x86_64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0
u24 aarch64 postgresql-17-pg-parquet
PIGSTY 0.4.0
postgresql-16-pg-parquet
PIGSTY 0.4.0
postgresql-15-pg-parquet
PIGSTY 0.4.0
postgresql-14-pg-parquet
PIGSTY 0.4.0

扩展安装

使用 pig 命令行工具安装 pg_parquet 扩展:

pig ext install pg_parquet

使用 Pigsty剧本 安装 pg_parquet 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_parquet"]}' # -l <集群名>

YUM仓库 手工安装 pg_parquet RPM 包:

dnf install pg_parquet_17;
dnf install pg_parquet_16;
dnf install pg_parquet_15;
dnf install pg_parquet_14;

APT仓库 手工安装 pg_parquet DEB 包:

apt install postgresql-17-pg-parquet;
apt install postgresql-16-pg-parquet;
apt install postgresql-15-pg-parquet;
apt install postgresql-14-pg-parquet;

扩展 pg_parquet 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'pg_parquet'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_parquet 扩展:

CREATE EXTENSION pg_parquet;



11.9 - pg_fkpart

按外键实用程序进行表分区的扩展

扩展总览

MIXED 第三方扩展: pg_fkpart : 按外键实用程序进行表分区的扩展

基本信息

  • 扩展编号: 2500
  • 扩展名称: pg_fkpart
  • 标准包名: pg_fkpart
  • 扩展类目: OLAP
  • 开源协议: GPLv2
  • 官方网站: https://github.com/lemoineat/pg_fkpart
  • 编程语言: 纯SQL
  • 其他标签: pgdg-flaw
  • 备注信息:

元数据

  • 默认版本: 1.7.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pgfkpart
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_fkpart_$v
  • RPM版本:1.7.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-fkpart
  • DEB版本:1.7.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_fkpart_17
PGDG 1.7.0
pg_fkpart_16
PGDG 1.7.0
pg_fkpart_15
PGDG 1.7.0
pg_fkpart_14
PGDG 1.7.0
pg_fkpart_13
PIGSTY 1.7.0
el8 aarch64 pg_fkpart_17
PGDG 1.7.0
pg_fkpart_16
PGDG 1.7.0
pg_fkpart_15
PGDG 1.7.0
pg_fkpart_14
PGDG 1.7.0
pg_fkpart_13
PGDG 1.7.0
el9 x86_64 pg_fkpart_17
PGDG 1.7.0
pg_fkpart_16
PGDG 1.7.0
pg_fkpart_15
PGDG 1.7.0
pg_fkpart_14
PGDG 1.7.0
pg_fkpart_13
PGDG 1.7.0
el9 aarch64 pg_fkpart_17
PGDG 1.7.0
pg_fkpart_16
PGDG 1.7.0
pg_fkpart_15
PGDG 1.7.0
pg_fkpart_14
PGDG 1.7.0
pg_fkpart_13
PGDG 1.7.0
d12 x86_64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0
d12 aarch64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0
u22 x86_64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0
u22 aarch64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0
u24 x86_64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0
u24 aarch64 postgresql-17-pg-fkpart
PIGSTY 1.7.0
postgresql-16-pg-fkpart
PIGSTY 1.7.0
postgresql-15-pg-fkpart
PIGSTY 1.7.0
postgresql-14-pg-fkpart
PIGSTY 1.7.0
postgresql-13-pg-fkpart
PIGSTY 1.7.0

扩展安装

使用 pig 命令行工具安装 pg_fkpart 扩展:

pig ext install pg_fkpart

使用 Pigsty剧本 安装 pg_fkpart 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_fkpart"]}' # -l <集群名>

YUM仓库 手工安装 pg_fkpart RPM 包:

dnf install pg_fkpart_17;
dnf install pg_fkpart_16;
dnf install pg_fkpart_15;
dnf install pg_fkpart_14;
dnf install pg_fkpart_13;

APT仓库 手工安装 pg_fkpart DEB 包:

apt install postgresql-17-pg-fkpart;
apt install postgresql-16-pg-fkpart;
apt install postgresql-15-pg-fkpart;
apt install postgresql-14-pg-fkpart;
apt install postgresql-13-pg-fkpart;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_fkpart 扩展:

CREATE EXTENSION pg_fkpart;



11.10 - pg_partman

用于按时间或 ID 管理分区表的扩展

扩展总览

PGDG 第一方扩展: pg_partman : 用于按时间或 ID 管理分区表的扩展

基本信息

元数据

  • 默认版本: 5.2.4
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_partman_$v*
  • RPM版本:5.2.4
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-partman
  • DEB版本:5.2.4
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_partman_17
PGDG 5.2.4
pg_partman_16
PGDG 5.2.4
pg_partman_15
PGDG 5.2.4
pg_partman_14
PGDG 5.2.4
pg_partman_13
PGDG 4.7.4
el8 aarch64 pg_partman_17
PGDG 5.2.4
pg_partman_16
PGDG 5.2.4
pg_partman_15
PGDG 5.2.4
pg_partman_14
PGDG 5.2.4
pg_partman_13
PGDG 4.7.4
el9 x86_64 pg_partman_17
PGDG 5.2.4
pg_partman_16
PGDG 5.2.4
pg_partman_15
PGDG 5.2.4
pg_partman_14
PGDG 5.2.4
pg_partman_13
PGDG 4.7.4
el9 aarch64 pg_partman_17
PGDG 5.2.4
pg_partman_16
PGDG 5.2.4
pg_partman_15
PGDG 5.2.4
pg_partman_14
PGDG 5.2.4
pg_partman_13
PGDG 4.7.4
d12 x86_64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4
postgresql-13-partman
PGDG 4.7.4
d12 aarch64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4
postgresql-13-partman
PGDG 4.7.4
u22 x86_64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4
postgresql-13-partman
PGDG 4.7.4
u22 aarch64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4
postgresql-13-partman
PGDG 4.7.4
u24 x86_64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4
u24 aarch64 postgresql-17-partman
PGDG 5.2.4
postgresql-16-partman
PGDG 5.2.4
postgresql-15-partman
PGDG 5.2.4
postgresql-14-partman
PGDG 5.2.4

扩展安装

使用 pig 命令行工具安装 pg_partman 扩展:

pig ext install pg_partman

使用 Pigsty剧本 安装 pg_partman 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_partman"]}' # -l <集群名>

YUM仓库 手工安装 pg_partman RPM 包:

dnf install pg_partman_17*;
dnf install pg_partman_16*;
dnf install pg_partman_15*;
dnf install pg_partman_14*;
dnf install pg_partman_13*;

APT仓库 手工安装 pg_partman DEB 包:

apt install postgresql-17-partman;
apt install postgresql-16-partman;
apt install postgresql-15-partman;
apt install postgresql-14-partman;
apt install postgresql-13-partman;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_partman 扩展:

CREATE EXTENSION pg_partman;



11.11 - plproxy

作为过程语言实现的数据库分区

扩展总览

PGDG 第三方扩展: plproxy : 作为过程语言实现的数据库分区

基本信息

  • 扩展编号: 2520
  • 扩展名称: plproxy
  • 标准包名: plproxy
  • 扩展类目: OLAP
  • 开源协议: BSD 0
  • 官方网站: https://github.com/plproxy/plproxy
  • 编程语言: C
  • 其他标签: pgdg-flaw
  • 备注信息: 无

元数据

  • 默认版本: 2.11.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:plproxy_$v*
  • RPM版本:2.11.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-plproxy
  • DEB版本:2.11.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 plproxy_17
PGDG 2.11.0
plproxy_16
PIGSTY 2.11.0
plproxy_15
PIGSTY 2.11.0
plproxy_14
PIGSTY 2.11.0
plproxy_13
PIGSTY 2.11.0
el8 aarch64 plproxy_17
PGDG 2.11.0
plproxy_16
PIGSTY 2.11.0
plproxy_15
PIGSTY 2.11.0
plproxy_14
PIGSTY 2.11.0
plproxy_13
PIGSTY 2.11.0
el9 x86_64 plproxy_17
PGDG 2.11.0
plproxy_16
PIGSTY 2.11.0
plproxy_15
PIGSTY 2.11.0
plproxy_14
PIGSTY 2.11.0
plproxy_13
PIGSTY 2.11.0
el9 aarch64 plproxy_17
PGDG 2.11.0
plproxy_16
PIGSTY 2.11.0
plproxy_15
PIGSTY 2.11.0
plproxy_14
PIGSTY 2.11.0
plproxy_13
PIGSTY 2.11.0
d12 x86_64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0
d12 aarch64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0
u22 x86_64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0
u22 aarch64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0
u24 x86_64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0
u24 aarch64 postgresql-17-plproxy
PGDG 2.11.0
postgresql-16-plproxy
PGDG 2.11.0
postgresql-15-plproxy
PGDG 2.11.0
postgresql-14-plproxy
PGDG 2.11.0
postgresql-13-plproxy
PGDG 2.11.0

扩展安装

使用 pig 命令行工具安装 plproxy 扩展:

pig ext install plproxy

使用 Pigsty剧本 安装 plproxy 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["plproxy"]}' # -l <集群名>

YUM仓库 手工安装 plproxy RPM 包:

dnf install plproxy_17*;
dnf install plproxy_16*;
dnf install plproxy_15*;
dnf install plproxy_14*;
dnf install plproxy_13*;

APT仓库 手工安装 plproxy DEB 包:

apt install postgresql-17-plproxy;
apt install postgresql-16-plproxy;
apt install postgresql-15-plproxy;
apt install postgresql-14-plproxy;
apt install postgresql-13-plproxy;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 plproxy 扩展:

CREATE EXTENSION plproxy;



11.12 - pg_strom

使用GPU与NVMe加速大数据处理

扩展总览

PGDG 第一方扩展: pg_strom : 使用GPU与NVMe加速大数据处理

基本信息

元数据

  • 默认版本: 6.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_strom_$v*
  • RPM版本:6.0
  • RPM依赖:无
  • DEB仓库:None
  • DEB包名:无
  • DEB版本:无
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_strom_17
PGDG 6.0
pg_strom_16
PGDG 6.0
pg_strom_15
PGDG 6.0
pg_strom_14
PGDG 3.5
pg_strom_13
PGDG 3.5
el8 aarch64
el9 x86_64 pg_strom_17
PGDG 6.0
pg_strom_16
PGDG 6.0
pg_strom_15
PGDG 6.0
pg_strom_14
PGDG 3.5
pg_strom_13
PGDG 3.5
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

使用 pig 命令行工具安装 pg_strom 扩展:

pig ext install pg_strom

使用 Pigsty剧本 安装 pg_strom 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_strom"]}' # -l <集群名>

YUM仓库 手工安装 pg_strom RPM 包:

dnf install pg_strom_17*;
dnf install pg_strom_16*;
dnf install pg_strom_15*;
dnf install pg_strom_14*;
dnf install pg_strom_13*;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_strom 扩展:

CREATE EXTENSION pg_strom;



11.13 - tablefunc

交叉表函数

扩展总览

CONTRIB 自带扩展: tablefunc : 交叉表函数

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 未知
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: 无
  • 所需扩展: 无

软件包

PostgreSQL 自带 Contrib 扩展模块


最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64
d12 aarch64
u22 x86_64
u22 aarch64
u24 x86_64
u24 aarch64

扩展安装

扩展 tablefunc 属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。

YUM仓库 手工安装 tablefunc RPM 包:

dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;

APT仓库 手工安装 tablefunc DEB 包:

apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 tablefunc 扩展:

CREATE EXTENSION tablefunc;



12 - 类目:FEAT

功能特性扩展:图数据库,Hyperloglog,Rum索引,GraphQL,JsonSchema,Hint,虚拟索引,增量物化视图,消息队列等等

FEAT 类目共有 51 个可用扩展:

扩展名(详情) 标准名(官网) 仓库 版本 类目 许可证 LOAD DDL TRUST RELOC 简介
age age MIXED 1.5.0 FEAT Apache-2.0 Apache AGE,图数据库扩展 (Deb可用)
hll hll PGDG 2.18 FEAT Apache-2.0 hyperloglog 数据类型
rum rum PGDG 1.3.14 FEAT PostgreSQL RUM 索引访问方法
pg_graphql pg_graphql PIGSTY 1.5.11 FEAT Apache-2.0 PG内的 GraphQL 支持 (RUST, supabase)
pg_jsonschema pg_jsonschema PIGSTY 0.3.3 FEAT Apache-2.0 提供JSON Schema校验能力
jsquery jsquery PGDG 1.2 FEAT PostgreSQL 用于内省 JSONB 数据类型的查询类型
pg_hint_plan pg_hint_plan PGDG 1.7.0 FEAT BSD 3 添加强制指定执行计划的能力
hypopg hypopg PGDG 1.4.1 FEAT PostgreSQL 假设索引,用于创建一个虚拟索引检验执行计划
index_advisor index_advisor PIGSTY 0.2.0 FEAT PostgreSQL 查询索引建议器
plan_filter pg_plan_filter PIGSTY 0.0.1 FEAT PostgreSQL 使用执行计划代价过滤阻止特定查询语句
imgsmlr imgsmlr PIGSTY 1.0 FEAT PostgreSQL 使用Haar小波分析计算图片相似度
pg_ivm pg_ivm MIXED 1.10 FEAT PostgreSQL 增量维护的物化视图
pg_incremental pg_incremental PIGSTY 1.2.0 FEAT PostgreSQL 增量处理流式事件
pgmq pgmq PIGSTY 1.5.0 FEAT PostgreSQL 基于Postgres实现类似AWS SQS/RSMQ的消息队列
pgq pgq PGDG 3.5.1 FEAT ISC 通用队列的PG实现
pg_cardano pg_cardano PIGSTY 1.0.3 FEAT MIT Cardano相关工具包:加密函数,地址编解码,区块链处理
rdkit rdkit PGDG 202409.4 FEAT BSD 3 在PostgreSQL化学领域数据管理功能
omni omnigres PIGSTY 0.2.4 FEAT Apache-2.0 PostgreSQL即平台,Omnigres主扩展与加载器
omni_auth omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres 基础会话认证管理模块
omni_aws omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres AWS S3 API封装
omni_containers omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres Docker容器管理模块
omni_credentials omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 应用密钥管理模块
omni_http omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 基本HTTP类型
omni_httpc omnigres PIGSTY 0.1.4 FEAT Apache-2.0 Omnigres HTTP客户端
omni_httpd omnigres PIGSTY 0.2.9 FEAT Apache-2.0 Omnigres HTTP服务器
omni_id omnigres PIGSTY 0.4.0 FEAT Apache-2.0 Omnigres ID身份数据类型
omni_json omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres JSON工具箱
omni_kube omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres Kubernetes集成模块
omni_ledger omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 金融账本模块
omni_manifest omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 包管理清单模块
omni_mimetypes omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres MIME数据类型
omni_os omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 操作系统集成模块
omni_polyfill omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres Postgres多态API
omni_python omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 第一类Python支持模块
omni_regex omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres PCRE兼容正则表达式模块
omni_rest omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres REST API 工具包
omni_schema omnigres PIGSTY 0.2.3 FEAT Apache-2.0 Omnigres 高级模式管理组件
omni_seq omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 分布式整型序列号
omni_service omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 服务管理器
omni_session omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres 会话管理器
omni_sql omnigres PIGSTY 0.5.0 FEAT Apache-2.0 Omnigres SQL编程组件
omni_test omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 测试框架
omni_txn omnigres PIGSTY 0.5.0 FEAT Apache-2.0 Omnigres 事务管理器模块
omni_types omnigres PIGSTY 0.2.1 FEAT Apache-2.0 Omnigres 高级数据类型模块
omni_var omnigres PIGSTY 0.3.0 FEAT Apache-2.0 Omnigres 局部变量模块
omni_vfs omnigres PIGSTY 0.2.0 FEAT Apache-2.0 Omnigres 虚拟文件系统
omni_vfs_types_v1 omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres 虚拟文件系统(v1)
omni_web omnigres PIGSTY 0.1.1 FEAT Apache-2.0 Omnigres Web工具箱
omni_xml omnigres PIGSTY 0.1.2 FEAT Apache-2.0 Omnigres XML工具包
omni_yaml omnigres PIGSTY 0.1.0 FEAT Apache-2.0 Omnigres YAML工具包
bloom bloom CONTRIB 1.0 FEAT PostgreSQL bloom 索引-基于指纹的索引

12.1 - age

Apache AGE,图数据库扩展 (Deb可用)

扩展总览

MIXED 第三方扩展: age : Apache AGE,图数据库扩展 (Deb可用)

基本信息

元数据

  • 默认版本: 1.5.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: ag_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:apache-age_$v*
  • RPM版本:1.5.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-age
  • DEB版本:1.5.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 apache-age_17
PIGSTY 1.5.0
apache-age_16
PIGSTY 1.5.0
apache-age_15
PIGSTY 1.5.0
apache-age_14
PIGSTY 1.5.0
apache-age_13
PIGSTY 1.5.0
el8 aarch64 apache-age_17
PIGSTY 1.5.0
apache-age_16
PIGSTY 1.5.0
apache-age_15
PIGSTY 1.5.0
apache-age_14
PIGSTY 1.5.0
apache-age_13
PIGSTY 1.5.0
el9 x86_64 apache-age_17
PIGSTY 1.5.0
apache-age_16
PIGSTY 1.5.0
apache-age_15
PIGSTY 1.5.0
apache-age_14
PIGSTY 1.5.0
apache-age_13
PIGSTY 1.5.0
el9 aarch64 apache-age_17
PIGSTY 1.5.0
apache-age_16
PIGSTY 1.5.0
apache-age_15
PIGSTY 1.5.0
apache-age_14
PIGSTY 1.5.0
apache-age_13
PIGSTY 1.5.0
d12 x86_64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0
d12 aarch64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0
u22 x86_64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0
u22 aarch64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0
u24 x86_64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0
u24 aarch64 postgresql-17-age
PGDG 1.5.0~rc0
postgresql-16-age
PGDG 1.5.0~rc0
postgresql-15-age
PGDG 1.5.0~rc0
postgresql-14-age
PGDG 1.5.0~rc0
postgresql-13-age
PGDG 1.5.0~rc0

扩展安装

使用 pig 命令行工具安装 age 扩展:

pig ext install age

使用 Pigsty剧本 安装 age 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["age"]}' # -l <集群名>

YUM仓库 手工安装 age RPM 包:

dnf install apache-age_17*;
dnf install apache-age_16*;
dnf install apache-age_15*;
dnf install apache-age_14*;
dnf install apache-age_13*;

APT仓库 手工安装 age DEB 包:

apt install postgresql-17-age;
apt install postgresql-16-age;
apt install postgresql-15-age;
apt install postgresql-14-age;
apt install postgresql-13-age;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 age 扩展:

CREATE EXTENSION age;



12.2 - hll

hyperloglog 数据类型

扩展总览

PGDG 第一方扩展: hll : hyperloglog 数据类型

基本信息

元数据

  • 默认版本: 2.18
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:hll_$v*
  • RPM版本:2.18
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-hll
  • DEB版本:2.18
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hll_17
PGDG 2.18
hll_16
PGDG 2.18
hll_15
PGDG 2.18
hll_14
PGDG 2.18
hll_13
PGDG 2.18
el8 aarch64 hll_17
PGDG 2.18
hll_16
PGDG 2.18
hll_15
PGDG 2.18
hll_14
PGDG 2.18
hll_13
PGDG 2.18
el9 x86_64 hll_17
PGDG 2.18
hll_16
PGDG 2.18
hll_15
PGDG 2.18
hll_14
PGDG 2.18
hll_13
PGDG 2.18
el9 aarch64 hll_17
PGDG 2.18
hll_16
PGDG 2.18
hll_15
PGDG 2.18
hll_14
PGDG 2.18
hll_13
PGDG 2.18
d12 x86_64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18
d12 aarch64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18
u22 x86_64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18
u22 aarch64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18
u24 x86_64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18
u24 aarch64 postgresql-17-hll
PGDG 2.18
postgresql-16-hll
PGDG 2.18
postgresql-15-hll
PGDG 2.18
postgresql-14-hll
PGDG 2.18
postgresql-13-hll
PGDG 2.18

扩展安装

使用 pig 命令行工具安装 hll 扩展:

pig ext install hll

使用 Pigsty剧本 安装 hll 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hll"]}' # -l <集群名>

YUM仓库 手工安装 hll RPM 包:

dnf install hll_17*;
dnf install hll_16*;
dnf install hll_15*;
dnf install hll_14*;
dnf install hll_13*;

APT仓库 手工安装 hll DEB 包:

apt install postgresql-17-hll;
apt install postgresql-16-hll;
apt install postgresql-15-hll;
apt install postgresql-14-hll;
apt install postgresql-13-hll;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hll 扩展:

CREATE EXTENSION hll;



12.3 - rum

RUM 索引访问方法

扩展总览

PGDG 第一方扩展: rum : RUM 索引访问方法

基本信息

元数据

  • 默认版本: 1.3.14
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:rum_$v
  • RPM版本:1.3
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-rum
  • DEB版本:1.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 rum_17
PGDG 1.3.14
rum_16
PGDG 1.3.14
rum_15
PGDG 1.3.14
rum_14
PGDG 1.3.14
rum_13
PGDG 1.3.14
el8 aarch64 rum_17
PGDG 1.3.14
rum_16
PGDG 1.3.14
rum_15
PGDG 1.3.14
rum_14
PGDG 1.3.14
rum_13
PGDG 1.3.14
el9 x86_64 rum_17
PGDG 1.3.14
rum_16
PGDG 1.3.14
rum_15
PGDG 1.3.14
rum_14
PGDG 1.3.14
rum_13
PGDG 1.3.14
el9 aarch64 rum_17
PGDG 1.3.14
rum_16
PGDG 1.3.14
rum_15
PGDG 1.3.14
rum_14
PGDG 1.3.14
rum_13
PGDG 1.3.14
d12 x86_64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14
d12 aarch64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14
u22 x86_64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14
u22 aarch64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14
u24 x86_64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14
u24 aarch64 postgresql-17-rum
PGDG 1.3.14
postgresql-16-rum
PGDG 1.3.14
postgresql-15-rum
PGDG 1.3.14
postgresql-14-rum
PGDG 1.3.14
postgresql-13-rum
PGDG 1.3.14

扩展安装

使用 pig 命令行工具安装 rum 扩展:

pig ext install rum

使用 Pigsty剧本 安装 rum 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["rum"]}' # -l <集群名>

YUM仓库 手工安装 rum RPM 包:

dnf install rum_17;
dnf install rum_16;
dnf install rum_15;
dnf install rum_14;
dnf install rum_13;

APT仓库 手工安装 rum DEB 包:

apt install postgresql-17-rum;
apt install postgresql-16-rum;
apt install postgresql-15-rum;
apt install postgresql-14-rum;
apt install postgresql-13-rum;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 rum 扩展:

CREATE EXTENSION rum;



12.4 - pg_graphql

PG内的 GraphQL 支持 (RUST, supabase)

扩展总览

PIGSTY 第三方扩展: pg_graphql : PG内的 GraphQL 支持 (RUST, supabase)

基本信息

元数据

  • 默认版本: 1.5.11
  • PG大版本: 17,16,15,14
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: graphql
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_graphql_$v
  • RPM版本:1.5.11
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-graphql
  • DEB版本:1.5.11
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_graphql_17
PIGSTY 1.5.11
pg_graphql_16
PIGSTY 1.5.11
pg_graphql_15
PIGSTY 1.5.11
pg_graphql_14
PIGSTY 1.5.11
el8 aarch64 pg_graphql_17
PIGSTY 1.5.11
pg_graphql_16
PIGSTY 1.5.11
pg_graphql_15
PIGSTY 1.5.11
pg_graphql_14
PIGSTY 1.5.11
el9 x86_64 pg_graphql_17
PIGSTY 1.5.11
pg_graphql_16
PIGSTY 1.5.11
pg_graphql_15
PIGSTY 1.5.11
pg_graphql_14
PIGSTY 1.5.11
el9 aarch64 pg_graphql_17
PIGSTY 1.5.11
pg_graphql_16
PIGSTY 1.5.11
pg_graphql_15
PIGSTY 1.5.11
pg_graphql_14
PIGSTY 1.5.11
d12 x86_64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11
d12 aarch64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11
u22 x86_64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11
u22 aarch64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11
u24 x86_64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11
u24 aarch64 postgresql-17-pg-graphql
PIGSTY 1.5.11
postgresql-16-pg-graphql
PIGSTY 1.5.11
postgresql-15-pg-graphql
PIGSTY 1.5.11
postgresql-14-pg-graphql
PIGSTY 1.5.11

扩展安装

使用 pig 命令行工具安装 pg_graphql 扩展:

pig ext install pg_graphql

使用 Pigsty剧本 安装 pg_graphql 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_graphql"]}' # -l <集群名>

YUM仓库 手工安装 pg_graphql RPM 包:

dnf install pg_graphql_17;
dnf install pg_graphql_16;
dnf install pg_graphql_15;
dnf install pg_graphql_14;

APT仓库 手工安装 pg_graphql DEB 包:

apt install postgresql-17-pg-graphql;
apt install postgresql-16-pg-graphql;
apt install postgresql-15-pg-graphql;
apt install postgresql-14-pg-graphql;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_graphql 扩展:

CREATE EXTENSION pg_graphql;



12.5 - pg_jsonschema

提供JSON Schema校验能力

扩展总览

PIGSTY 第三方扩展: pg_jsonschema : 提供JSON Schema校验能力

基本信息

元数据

  • 默认版本: 0.3.3
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_jsonschema_$v
  • RPM版本:0.3.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-jsonschema
  • DEB版本:0.3.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_jsonschema_17
PIGSTY 0.3.3
pg_jsonschema_16
PIGSTY 0.3.3
pg_jsonschema_15
PIGSTY 0.3.3
pg_jsonschema_14
PIGSTY 0.3.3
pg_jsonschema_13
PIGSTY 0.3.3
el8 aarch64 pg_jsonschema_17
PIGSTY 0.3.3
pg_jsonschema_16
PIGSTY 0.3.3
pg_jsonschema_15
PIGSTY 0.3.3
pg_jsonschema_14
PIGSTY 0.3.3
pg_jsonschema_13
PIGSTY 0.3.3
el9 x86_64 pg_jsonschema_17
PIGSTY 0.3.3
pg_jsonschema_16
PIGSTY 0.3.3
pg_jsonschema_15
PIGSTY 0.3.3
pg_jsonschema_14
PIGSTY 0.3.3
pg_jsonschema_13
PIGSTY 0.3.3
el9 aarch64 pg_jsonschema_17
PIGSTY 0.3.3
pg_jsonschema_16
PIGSTY 0.3.3
pg_jsonschema_15
PIGSTY 0.3.3
pg_jsonschema_14
PIGSTY 0.3.3
pg_jsonschema_13
PIGSTY 0.3.3
d12 x86_64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3
d12 aarch64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3
u22 x86_64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3
u22 aarch64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3
u24 x86_64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3
u24 aarch64 postgresql-17-pg-jsonschema
PIGSTY 0.3.3
postgresql-16-pg-jsonschema
PIGSTY 0.3.3
postgresql-15-pg-jsonschema
PIGSTY 0.3.3
postgresql-14-pg-jsonschema
PIGSTY 0.3.3
postgresql-13-pg-jsonschema
PIGSTY 0.3.3

扩展安装

使用 pig 命令行工具安装 pg_jsonschema 扩展:

pig ext install pg_jsonschema

使用 Pigsty剧本 安装 pg_jsonschema 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_jsonschema"]}' # -l <集群名>

YUM仓库 手工安装 pg_jsonschema RPM 包:

dnf install pg_jsonschema_17;
dnf install pg_jsonschema_16;
dnf install pg_jsonschema_15;
dnf install pg_jsonschema_14;
dnf install pg_jsonschema_13;

APT仓库 手工安装 pg_jsonschema DEB 包:

apt install postgresql-17-pg-jsonschema;
apt install postgresql-16-pg-jsonschema;
apt install postgresql-15-pg-jsonschema;
apt install postgresql-14-pg-jsonschema;
apt install postgresql-13-pg-jsonschema;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_jsonschema 扩展:

CREATE EXTENSION pg_jsonschema;



12.6 - jsquery

用于内省 JSONB 数据类型的查询类型

扩展总览

PGDG 第一方扩展: jsquery : 用于内省 JSONB 数据类型的查询类型

基本信息

元数据

  • 默认版本: 1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:jsquery_$v*
  • RPM版本:1.2
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-jsquery
  • DEB版本:1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 jsquery_17
PGDG 1.2
jsquery_16
PGDG 1.2
jsquery_15
PGDG 1.2
jsquery_14
PGDG 1.2
jsquery_13
PGDG 1.1.1
el8 aarch64 jsquery_17
PGDG 1.2
jsquery_16
PGDG 1.2
jsquery_15
PGDG 1.2
jsquery_14
PGDG 1.2
jsquery_13
PGDG 1.1.1
el9 x86_64 jsquery_17
PGDG 1.2
jsquery_16
PGDG 1.2
jsquery_15
PGDG 1.2
jsquery_14
PGDG 1.2
el9 aarch64 jsquery_17
PGDG 1.2
jsquery_16
PGDG 1.2
jsquery_15
PGDG 1.2
jsquery_14
PGDG 1.2
jsquery_13
PGDG 1.1.1
d12 x86_64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2
d12 aarch64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2
u22 x86_64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2
u22 aarch64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2
u24 x86_64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2
u24 aarch64 postgresql-17-jsquery
PGDG 1.2
postgresql-16-jsquery
PGDG 1.2
postgresql-15-jsquery
PGDG 1.2
postgresql-14-jsquery
PGDG 1.2
postgresql-13-jsquery
PGDG 1.2

扩展安装

使用 pig 命令行工具安装 jsquery 扩展:

pig ext install jsquery

使用 Pigsty剧本 安装 jsquery 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["jsquery"]}' # -l <集群名>

YUM仓库 手工安装 jsquery RPM 包:

dnf install jsquery_17*;
dnf install jsquery_16*;
dnf install jsquery_15*;
dnf install jsquery_14*;

APT仓库 手工安装 jsquery DEB 包:

apt install postgresql-17-jsquery;
apt install postgresql-16-jsquery;
apt install postgresql-15-jsquery;
apt install postgresql-14-jsquery;
apt install postgresql-13-jsquery;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 jsquery 扩展:

CREATE EXTENSION jsquery;



12.7 - pg_hint_plan

添加强制指定执行计划的能力

扩展总览

PGDG 第一方扩展: pg_hint_plan : 添加强制指定执行计划的能力

基本信息

元数据

  • 默认版本: 1.7.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: hint_plan
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_hint_plan_$v*
  • RPM版本:1.7.0
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pg-hint-plan
  • DEB版本:1.7.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_hint_plan_17
PGDG 1.7.0
pg_hint_plan_16
PGDG 1.6.1
pg_hint_plan_15
PGDG 1.5.2
pg_hint_plan_14
PGDG 1.4.3
pg_hint_plan_13
PGDG 1.3.10
el8 aarch64 pg_hint_plan_17
PGDG 1.7.0
pg_hint_plan_16
PGDG 1.6.1
pg_hint_plan_15
PGDG 1.5.2
pg_hint_plan_14
PGDG 1.4.3
pg_hint_plan_13
PGDG 1.3.10
el9 x86_64 pg_hint_plan_17
PGDG 1.7.0
pg_hint_plan_16
PGDG 1.6.1
pg_hint_plan_15
PGDG 1.5.2
pg_hint_plan_14
PGDG 1.4.3
pg_hint_plan_13
PGDG 1.3.10
el9 aarch64 pg_hint_plan_17
PGDG 1.7.0
pg_hint_plan_16
PGDG 1.6.1
pg_hint_plan_15
PGDG 1.5.2
pg_hint_plan_14
PGDG 1.4.3
pg_hint_plan_13
PGDG 1.3.10
d12 x86_64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10
d12 aarch64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10
u22 x86_64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10
u22 aarch64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10
u24 x86_64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10
u24 aarch64 postgresql-17-pg-hint-plan
PGDG 1.7.0
postgresql-16-pg-hint-plan
PGDG 1.6.1
postgresql-15-pg-hint-plan
PGDG 1.5.2
postgresql-14-pg-hint-plan
PGDG 1.4.3
postgresql-13-pg-hint-plan
PGDG 1.3.10

扩展安装

使用 pig 命令行工具安装 pg_hint_plan 扩展:

pig ext install pg_hint_plan

使用 Pigsty剧本 安装 pg_hint_plan 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_hint_plan"]}' # -l <集群名>

YUM仓库 手工安装 pg_hint_plan RPM 包:

dnf install pg_hint_plan_17*;
dnf install pg_hint_plan_16*;
dnf install pg_hint_plan_15*;
dnf install pg_hint_plan_14*;
dnf install pg_hint_plan_13*;

APT仓库 手工安装 pg_hint_plan DEB 包:

apt install postgresql-17-pg-hint-plan;
apt install postgresql-16-pg-hint-plan;
apt install postgresql-15-pg-hint-plan;
apt install postgresql-14-pg-hint-plan;
apt install postgresql-13-pg-hint-plan;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_hint_plan 扩展:

CREATE EXTENSION pg_hint_plan;



12.8 - hypopg

假设索引,用于创建一个虚拟索引检验执行计划

扩展总览

PGDG 第一方扩展: hypopg : 假设索引,用于创建一个虚拟索引检验执行计划

基本信息

元数据

  • 默认版本: 1.4.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:hypopg_$v*
  • RPM版本:1.4.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-hypopg
  • DEB版本:1.4.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 hypopg_17
PGDG 1.4.1
hypopg_16
PGDG 1.4.1
hypopg_15
PGDG 1.4.1
hypopg_14
PGDG 1.4.1
hypopg_13
PGDG 1.4.1
el8 aarch64 hypopg_17
PGDG 1.4.1
hypopg_16
PGDG 1.4.1
hypopg_15
PGDG 1.4.1
hypopg_14
PGDG 1.4.1
hypopg_13
PGDG 1.4.1
el9 x86_64 hypopg_17
PGDG 1.4.1
hypopg_16
PGDG 1.4.1
hypopg_15
PGDG 1.4.1
hypopg_14
PGDG 1.4.1
hypopg_13
PGDG 1.4.1
el9 aarch64 hypopg_17
PGDG 1.4.1
hypopg_16
PGDG 1.4.1
hypopg_15
PGDG 1.4.1
hypopg_14
PGDG 1.4.1
hypopg_13
PGDG 1.4.1
d12 x86_64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1
d12 aarch64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1
u22 x86_64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1
u22 aarch64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1
u24 x86_64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1
u24 aarch64 postgresql-17-hypopg
PGDG 1.4.1
postgresql-16-hypopg
PGDG 1.4.1
postgresql-15-hypopg
PGDG 1.4.1
postgresql-14-hypopg
PGDG 1.4.1
postgresql-13-hypopg
PGDG 1.4.1

扩展安装

使用 pig 命令行工具安装 hypopg 扩展:

pig ext install hypopg

使用 Pigsty剧本 安装 hypopg 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["hypopg"]}' # -l <集群名>

YUM仓库 手工安装 hypopg RPM 包:

dnf install hypopg_17*;
dnf install hypopg_16*;
dnf install hypopg_15*;
dnf install hypopg_14*;
dnf install hypopg_13*;

APT仓库 手工安装 hypopg DEB 包:

apt install postgresql-17-hypopg;
apt install postgresql-16-hypopg;
apt install postgresql-15-hypopg;
apt install postgresql-14-hypopg;
apt install postgresql-13-hypopg;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 hypopg 扩展:

CREATE EXTENSION hypopg;



12.9 - index_advisor

查询索引建议器

扩展总览

PIGSTY 第三方扩展: index_advisor : 查询索引建议器

基本信息

元数据

  • 默认版本: 0.2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未知
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:index_advisor_$v
  • RPM版本:0.2.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-index-advisor
  • DEB版本:0.2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 index_advisor_17
PIGSTY 0.2.0
index_advisor_16
PIGSTY 0.2.0
index_advisor_15
PIGSTY 0.2.0
index_advisor_14
PIGSTY 0.2.0
index_advisor_13
PIGSTY 0.2.0
el8 aarch64 index_advisor_17
PIGSTY 0.2.0
index_advisor_16
PIGSTY 0.2.0
index_advisor_15
PIGSTY 0.2.0
index_advisor_14
PIGSTY 0.2.0
index_advisor_13
PIGSTY 0.2.0
el9 x86_64 index_advisor_17
PIGSTY 0.2.0
index_advisor_16
PIGSTY 0.2.0
index_advisor_15
PIGSTY 0.2.0
index_advisor_14
PIGSTY 0.2.0
index_advisor_13
PIGSTY 0.2.0
el9 aarch64 index_advisor_17
PIGSTY 0.2.0
index_advisor_16
PIGSTY 0.2.0
index_advisor_15
PIGSTY 0.2.0
index_advisor_14
PIGSTY 0.2.0
index_advisor_13
PIGSTY 0.2.0
d12 x86_64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0
d12 aarch64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0
u22 x86_64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0
u22 aarch64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0
u24 x86_64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0
u24 aarch64 postgresql-17-index-advisor
PIGSTY 0.2.0
postgresql-16-index-advisor
PIGSTY 0.2.0
postgresql-15-index-advisor
PIGSTY 0.2.0
postgresql-14-index-advisor
PIGSTY 0.2.0
postgresql-13-index-advisor
PIGSTY 0.2.0

扩展安装

使用 pig 命令行工具安装 index_advisor 扩展:

pig ext install index_advisor

使用 Pigsty剧本 安装 index_advisor 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["index_advisor"]}' # -l <集群名>

YUM仓库 手工安装 index_advisor RPM 包:

dnf install index_advisor_17;
dnf install index_advisor_16;
dnf install index_advisor_15;
dnf install index_advisor_14;
dnf install index_advisor_13;

APT仓库 手工安装 index_advisor DEB 包:

apt install postgresql-17-index-advisor;
apt install postgresql-16-index-advisor;
apt install postgresql-15-index-advisor;
apt install postgresql-14-index-advisor;
apt install postgresql-13-index-advisor;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 index_advisor 扩展:

CREATE EXTENSION index_advisor;



12.10 - plan_filter

使用执行计划代价过滤阻止特定查询语句

扩展总览

PIGSTY 第三方扩展: pg_plan_filter : 使用执行计划代价过滤阻止特定查询语句

基本信息

元数据

  • 默认版本: 0.0.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 无需执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_plan_filter_$v*
  • RPM版本:0.0.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-plan-filter
  • DEB版本:0.0.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el8 aarch64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el9 x86_64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
el9 aarch64 pg_plan_filter_17
PIGSTY 0.0.1
pg_plan_filter_16
PIGSTY 0.0.1
pg_plan_filter_15
PIGSTY 0.0.1
pg_plan_filter_14
PIGSTY 0.0.1
pg_plan_filter_13
PIGSTY 0.0.1
d12 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
d12 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u22 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u22 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u24 x86_64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1
u24 aarch64 postgresql-17-pg-plan-filter
PIGSTY 0.0.1
postgresql-16-pg-plan-filter
PIGSTY 0.0.1
postgresql-15-pg-plan-filter
PIGSTY 0.0.1
postgresql-14-pg-plan-filter
PIGSTY 0.0.1
postgresql-13-pg-plan-filter
PIGSTY 0.0.1

扩展安装

使用 pig 命令行工具安装 pg_plan_filter 扩展:

pig ext install pg_plan_filter; # 扩展名称
pig ext install plan_filter; # 标准包名

使用 Pigsty剧本 安装 pg_plan_filter 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_plan_filter"]}' # -l <集群名>

YUM仓库 手工安装 pg_plan_filter RPM 包:

dnf install pg_plan_filter_17*;
dnf install pg_plan_filter_16*;
dnf install pg_plan_filter_15*;
dnf install pg_plan_filter_14*;
dnf install pg_plan_filter_13*;

APT仓库 手工安装 pg_plan_filter DEB 包:

apt install postgresql-17-pg-plan-filter;
apt install postgresql-16-pg-plan-filter;
apt install postgresql-15-pg-plan-filter;
apt install postgresql-14-pg-plan-filter;
apt install postgresql-13-pg-plan-filter;

扩展 plan_filter 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'plan_filter'; # 修改 PG 集群配置

扩展 %s 无需 手工执行 CREATE EXTENSION 命令。




12.11 - imgsmlr

使用Haar小波分析计算图片相似度

扩展总览

PIGSTY 第三方扩展: imgsmlr : 使用Haar小波分析计算图片相似度

基本信息

元数据

  • 默认版本: 1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:imgsmlr_$v*
  • RPM版本:1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-imgsmlr
  • DEB版本:1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 imgsmlr_17
PIGSTY 1.0
imgsmlr_16
PIGSTY 1.0
imgsmlr_15
PIGSTY 1.0
imgsmlr_14
PIGSTY 1.0
imgsmlr_13
PIGSTY 1.0
el8 aarch64 imgsmlr_17
PIGSTY 1.0
imgsmlr_16
PIGSTY 1.0
imgsmlr_15
PIGSTY 1.0
imgsmlr_14
PIGSTY 1.0
imgsmlr_13
PIGSTY 1.0
el9 x86_64 imgsmlr_17
PIGSTY 1.0
imgsmlr_16
PIGSTY 1.0
imgsmlr_15
PIGSTY 1.0
imgsmlr_14
PIGSTY 1.0
imgsmlr_13
PIGSTY 1.0
el9 aarch64 imgsmlr_17
PIGSTY 1.0
imgsmlr_16
PIGSTY 1.0
imgsmlr_15
PIGSTY 1.0
imgsmlr_14
PIGSTY 1.0
imgsmlr_13
PIGSTY 1.0
d12 x86_64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0
d12 aarch64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0
u22 x86_64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0
u22 aarch64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0
u24 x86_64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0
u24 aarch64 postgresql-17-imgsmlr
PIGSTY 1.0
postgresql-16-imgsmlr
PIGSTY 1.0
postgresql-15-imgsmlr
PIGSTY 1.0
postgresql-14-imgsmlr
PIGSTY 1.0
postgresql-13-imgsmlr
PIGSTY 1.0

扩展安装

使用 pig 命令行工具安装 imgsmlr 扩展:

pig ext install imgsmlr

使用 Pigsty剧本 安装 imgsmlr 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["imgsmlr"]}' # -l <集群名>

YUM仓库 手工安装 imgsmlr RPM 包:

dnf install imgsmlr_17*;
dnf install imgsmlr_16*;
dnf install imgsmlr_15*;
dnf install imgsmlr_14*;
dnf install imgsmlr_13*;

APT仓库 手工安装 imgsmlr DEB 包:

apt install postgresql-17-imgsmlr;
apt install postgresql-16-imgsmlr;
apt install postgresql-15-imgsmlr;
apt install postgresql-14-imgsmlr;
apt install postgresql-13-imgsmlr;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 imgsmlr 扩展:

CREATE EXTENSION imgsmlr;



12.12 - pg_ivm

增量维护的物化视图

扩展总览

MIXED 第三方扩展: pg_ivm : 增量维护的物化视图

基本信息

元数据

  • 默认版本: 1.11
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pg_ivm_$v*
  • RPM版本:1.11
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-ivm
  • DEB版本:1.11
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_ivm_17
PGDG 1.11
pg_ivm_16
PGDG 1.11
pg_ivm_15
PGDG 1.11
pg_ivm_14
PGDG 1.11
pg_ivm_13
PGDG 1.11
el8 aarch64 pg_ivm_17
PGDG 1.11
pg_ivm_16
PGDG 1.11
pg_ivm_15
PGDG 1.11
pg_ivm_14
PGDG 1.11
pg_ivm_13
PGDG 1.11
el9 x86_64 pg_ivm_17
PGDG 1.11
pg_ivm_16
PGDG 1.11
pg_ivm_15
PGDG 1.11
pg_ivm_14
PGDG 1.11
pg_ivm_13
PGDG 1.11
el9 aarch64 pg_ivm_17
PGDG 1.11
pg_ivm_16
PGDG 1.11
pg_ivm_15
PGDG 1.11
pg_ivm_14
PGDG 1.11
pg_ivm_13
PGDG 1.11
d12 x86_64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11
d12 aarch64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11
u22 x86_64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11
u22 aarch64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11
u24 x86_64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11
u24 aarch64 postgresql-17-pg-ivm
PIGSTY 1.11
postgresql-16-pg-ivm
PIGSTY 1.11
postgresql-15-pg-ivm
PIGSTY 1.11
postgresql-14-pg-ivm
PIGSTY 1.11
postgresql-13-pg-ivm
PIGSTY 1.11

扩展安装

使用 pig 命令行工具安装 pg_ivm 扩展:

pig ext install pg_ivm

使用 Pigsty剧本 安装 pg_ivm 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_ivm"]}' # -l <集群名>

YUM仓库 手工安装 pg_ivm RPM 包:

dnf install pg_ivm_17*;
dnf install pg_ivm_16*;
dnf install pg_ivm_15*;
dnf install pg_ivm_14*;
dnf install pg_ivm_13*;

APT仓库 手工安装 pg_ivm DEB 包:

apt install postgresql-17-pg-ivm;
apt install postgresql-16-pg-ivm;
apt install postgresql-15-pg-ivm;
apt install postgresql-14-pg-ivm;
apt install postgresql-13-pg-ivm;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_ivm 扩展:

CREATE EXTENSION pg_ivm;



12.13 - pg_incremental

增量处理流式事件

扩展总览

PIGSTY 第三方扩展: pg_incremental : 增量处理流式事件

基本信息

元数据

  • 默认版本: 1.2.0
  • PG大版本: 17,16
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: pg_cron

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_incremental_$v*
  • RPM版本:1.2.0
  • RPM依赖:pg_cron_$v
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-incremental
  • DEB版本:1.2.0
  • DEB依赖:postgresql-$v-cron

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_incremental_17
PIGSTY 1.2.0
pg_incremental_16
PIGSTY 1.2.0
el8 aarch64 pg_incremental_17
PIGSTY 1.2.0
pg_incremental_16
PIGSTY 1.2.0
el9 x86_64 pg_incremental_17
PIGSTY 1.2.0
pg_incremental_16
PIGSTY 1.2.0
el9 aarch64 pg_incremental_17
PIGSTY 1.2.0
pg_incremental_16
PIGSTY 1.2.0
d12 x86_64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0
d12 aarch64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0
u22 x86_64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0
u22 aarch64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0
u24 x86_64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0
u24 aarch64 postgresql-17-pg-incremental
PIGSTY 1.2.0
postgresql-16-pg-incremental
PIGSTY 1.2.0

扩展安装

使用 pig 命令行工具安装 pg_incremental 扩展:

pig ext install pg_incremental

使用 Pigsty剧本 安装 pg_incremental 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_incremental"]}' # -l <集群名>

YUM仓库 手工安装 pg_incremental RPM 包:

dnf install pg_incremental_17*;
dnf install pg_incremental_16*;

APT仓库 手工安装 pg_incremental DEB 包:

apt install postgresql-17-pg-incremental;
apt install postgresql-16-pg-incremental;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_incremental 扩展:

CREATE EXTENSION pg_incremental CASCADE;



12.14 - pgmq

基于Postgres实现类似AWS SQS/RSMQ的消息队列

扩展总览

PIGSTY 第三方扩展: pgmq : 基于Postgres实现类似AWS SQS/RSMQ的消息队列

基本信息

  • 扩展编号: 2900
  • 扩展名称: pgmq
  • 标准包名: pgmq
  • 扩展类目: FEAT
  • 开源协议: PostgreSQL
  • 官方网站: https://github.com/pgmq/pgmq
  • 编程语言: 纯SQL
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 1.5.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: pgmq
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pgmq_$v
  • RPM版本:1.5.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pgmq
  • DEB版本:1.5.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgmq_17
PIGSTY 1.5.1
pgmq_16
PIGSTY 1.5.1
pgmq_15
PIGSTY 1.5.1
pgmq_14
PIGSTY 1.5.1
pgmq_13
PIGSTY 1.5.1
el8 aarch64 pgmq_17
PIGSTY 1.5.1
pgmq_16
PIGSTY 1.5.1
pgmq_15
PIGSTY 1.5.1
pgmq_14
PIGSTY 1.5.1
pgmq_13
PIGSTY 1.5.1
el9 x86_64 pgmq_17
PIGSTY 1.5.1
pgmq_16
PIGSTY 1.5.1
pgmq_15
PIGSTY 1.5.1
pgmq_14
PIGSTY 1.5.1
pgmq_13
PIGSTY 1.5.1
el9 aarch64 pgmq_17
PIGSTY 1.5.1
pgmq_16
PIGSTY 1.5.1
pgmq_15
PIGSTY 1.5.1
pgmq_14
PIGSTY 1.5.1
pgmq_13
PIGSTY 1.5.1
d12 x86_64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1
d12 aarch64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1
u22 x86_64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1
u22 aarch64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1
u24 x86_64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1
u24 aarch64 postgresql-17-pgmq
PIGSTY 1.5.1
postgresql-16-pgmq
PIGSTY 1.5.1
postgresql-15-pgmq
PIGSTY 1.5.1
postgresql-14-pgmq
PIGSTY 1.5.1
postgresql-13-pgmq
PIGSTY 1.5.1

扩展安装

使用 pig 命令行工具安装 pgmq 扩展:

pig ext install pgmq

使用 Pigsty剧本 安装 pgmq 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgmq"]}' # -l <集群名>

YUM仓库 手工安装 pgmq RPM 包:

dnf install pgmq_17;
dnf install pgmq_16;
dnf install pgmq_15;
dnf install pgmq_14;
dnf install pgmq_13;

APT仓库 手工安装 pgmq DEB 包:

apt install postgresql-17-pgmq;
apt install postgresql-16-pgmq;
apt install postgresql-15-pgmq;
apt install postgresql-14-pgmq;
apt install postgresql-13-pgmq;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgmq 扩展:

CREATE EXTENSION pgmq;



12.15 - pgq

通用队列的PG实现

扩展总览

PGDG 第一方扩展: pgq : 通用队列的PG实现

基本信息

  • 扩展编号: 2910
  • 扩展名称: pgq
  • 标准包名: pgq
  • 扩展类目: FEAT
  • 开源协议: ISC
  • 官方网站: https://github.com/pgq/pgq
  • 编程语言: C
  • 其他标签: 无
  • 备注信息: 无

元数据

  • 默认版本: 3.5.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: pg_catalog
  • 所需扩展: 无

软件包

  • RPM仓库:PGDG
  • RPM包名:pgq_$v*
  • RPM版本:3.5.1
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-pgq3
  • DEB版本:3.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pgq_17
PGDG 3.5.1
pgq_16
PGDG 3.5.1
pgq_15
PGDG 3.5.1
pgq_14
PGDG 3.5.1
pgq_13
PGDG 3.5.1
el8 aarch64 pgq_17
PGDG 3.5.1
pgq_16
PGDG 3.5.1
pgq_15
PGDG 3.5.1
pgq_14
PGDG 3.5.1
pgq_13
PGDG 3.5.1
el9 x86_64 pgq_17
PGDG 3.5.1
pgq_16
PGDG 3.5.1
pgq_15
PGDG 3.5.1
pgq_14
PGDG 3.5.1
pgq_13
PGDG 3.5.1
el9 aarch64 pgq_17
PGDG 3.5.1
pgq_16
PGDG 3.5.1
pgq_15
PGDG 3.5.1
pgq_14
PGDG 3.5.1
pgq_13
PGDG 3.5.1
d12 x86_64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1
d12 aarch64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1
u22 x86_64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1
u22 aarch64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1
u24 x86_64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1
u24 aarch64 postgresql-17-pgq3
PGDG 3.5.1
postgresql-16-pgq3
PGDG 3.5.1
postgresql-15-pgq3
PGDG 3.5.1
postgresql-14-pgq3
PGDG 3.5.1
postgresql-13-pgq3
PGDG 3.5.1

扩展安装

使用 pig 命令行工具安装 pgq 扩展:

pig ext install pgq

使用 Pigsty剧本 安装 pgq 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgq"]}' # -l <集群名>

YUM仓库 手工安装 pgq RPM 包:

dnf install pgq_17*;
dnf install pgq_16*;
dnf install pgq_15*;
dnf install pgq_14*;
dnf install pgq_13*;

APT仓库 手工安装 pgq DEB 包:

apt install postgresql-17-pgq3;
apt install postgresql-16-pgq3;
apt install postgresql-15-pgq3;
apt install postgresql-14-pgq3;
apt install postgresql-13-pgq3;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgq 扩展:

CREATE EXTENSION pgq;



12.16 - pg_cardano

Cardano相关工具包:加密函数,地址编解码,区块链处理

扩展总览

PIGSTY 第三方扩展: pg_cardano : Cardano相关工具包:加密函数,地址编解码,区块链处理

基本信息

  • 扩展编号: 2930
  • 扩展名称: pg_cardano
  • 标准包名: pg_cardano
  • 扩展类目: FEAT
  • 开源协议: MIT
  • 官方网站: https://github.com/Fell-x27/pg_cardano
  • 编程语言: Rust
  • 其他标签: pgrx
  • 备注信息:

元数据

  • 默认版本: 1.0.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:pg_cardano_$v
  • RPM版本:1.0.5
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-pg-cardano
  • DEB版本:1.0.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_cardano_17
PIGSTY 1.0.5
pg_cardano_16
PIGSTY 1.0.5
pg_cardano_15
PIGSTY 1.0.5
pg_cardano_14
PIGSTY 1.0.5
pg_cardano_13
PIGSTY 1.0.5
el8 aarch64 pg_cardano_17
PIGSTY 1.0.5
pg_cardano_16
PIGSTY 1.0.5
pg_cardano_15
PIGSTY 1.0.5
pg_cardano_14
PIGSTY 1.0.5
pg_cardano_13
PIGSTY 1.0.5
el9 x86_64 pg_cardano_17
PIGSTY 1.0.5
pg_cardano_16
PIGSTY 1.0.5
pg_cardano_15
PIGSTY 1.0.5
pg_cardano_14
PIGSTY 1.0.5
pg_cardano_13
PIGSTY 1.0.5
el9 aarch64 pg_cardano_17
PIGSTY 1.0.5
pg_cardano_16
PIGSTY 1.0.5
pg_cardano_15
PIGSTY 1.0.5
pg_cardano_14
PIGSTY 1.0.5
pg_cardano_13
PIGSTY 1.0.5
d12 x86_64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5
d12 aarch64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5
u22 x86_64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5
u22 aarch64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5
u24 x86_64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5
u24 aarch64 postgresql-17-pg-cardano
PIGSTY 1.0.5
postgresql-16-pg-cardano
PIGSTY 1.0.5
postgresql-15-pg-cardano
PIGSTY 1.0.5
postgresql-14-pg-cardano
PIGSTY 1.0.5
postgresql-13-pg-cardano
PIGSTY 1.0.5

扩展安装

使用 pig 命令行工具安装 pg_cardano 扩展:

pig ext install pg_cardano

使用 Pigsty剧本 安装 pg_cardano 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_cardano"]}' # -l <集群名>

YUM仓库 手工安装 pg_cardano RPM 包:

dnf install pg_cardano_17;
dnf install pg_cardano_16;
dnf install pg_cardano_15;
dnf install pg_cardano_14;
dnf install pg_cardano_13;

APT仓库 手工安装 pg_cardano DEB 包:

apt install postgresql-17-pg-cardano;
apt install postgresql-16-pg-cardano;
apt install postgresql-15-pg-cardano;
apt install postgresql-14-pg-cardano;
apt install postgresql-13-pg-cardano;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_cardano 扩展:

CREATE EXTENSION pg_cardano;



12.17 - rdkit

在PostgreSQL化学领域数据管理功能

扩展总览

PGDG 第一方扩展: rdkit : 在PostgreSQL化学领域数据管理功能

基本信息

  • 扩展编号: 2940
  • 扩展名称: rdkit
  • 标准包名: rdkit
  • 扩展类目: FEAT
  • 开源协议: BSD 3
  • 官方网站: https://github.com/rdkit/rdkit
  • 编程语言: C++
  • 其他标签: 无
  • 备注信息:

元数据

  • 默认版本: 202409.4
  • PG大版本: 16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:None
  • RPM包名:无
  • RPM版本:无
  • RPM依赖:无
  • DEB仓库:PGDG
  • DEB包名:postgresql-$v-rdkit
  • DEB版本:202409.4
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64
el8 aarch64
el9 x86_64
el9 aarch64
d12 x86_64 postgresql-16-rdkit
PGDG 202303.3
postgresql-15-rdkit
PGDG 202303.3
postgresql-14-rdkit
PGDG 202303.3
postgresql-13-rdkit
PGDG 202303.3
d12 aarch64 postgresql-16-rdkit
PGDG 202303.3
postgresql-15-rdkit
PGDG 202303.3
postgresql-14-rdkit
PGDG 202303.3
postgresql-13-rdkit
PGDG 202303.3
u22 x86_64 postgresql-16-rdkit
PGDG 202303.3
postgresql-15-rdkit
PGDG 202303.3
postgresql-14-rdkit
PGDG 202303.3
postgresql-13-rdkit
PGDG 202303.3
u22 aarch64 postgresql-16-rdkit
PGDG 202303.3
postgresql-15-rdkit
PGDG 202303.3
postgresql-14-rdkit
PGDG 202303.3
postgresql-13-rdkit
PGDG 202303.3
u24 x86_64 postgresql-17-rdkit
PGDG 202503.1
postgresql-16-rdkit
PGDG 202503.1
postgresql-15-rdkit
PGDG 202503.1
postgresql-14-rdkit
PGDG 202503.1
postgresql-13-rdkit
PGDG 202503.1
u24 aarch64 postgresql-17-rdkit
PGDG 202503.1
postgresql-16-rdkit
PGDG 202503.1
postgresql-15-rdkit
PGDG 202503.1
postgresql-14-rdkit
PGDG 202503.1
postgresql-13-rdkit
PGDG 202503.1

扩展安装

使用 pig 命令行工具安装 rdkit 扩展:

pig ext install rdkit

使用 Pigsty剧本 安装 rdkit 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["rdkit"]}' # -l <集群名>

APT仓库 手工安装 rdkit DEB 包:

apt install postgresql-16-rdkit;
apt install postgresql-15-rdkit;
apt install postgresql-14-rdkit;
apt install postgresql-13-rdkit;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 rdkit 扩展:

CREATE EXTENSION rdkit;



12.18 - omni

PostgreSQL即平台,Omnigres主扩展与加载器

扩展总览

PIGSTY 第三方扩展: omnigres : PostgreSQL即平台,Omnigres主扩展与加载器

基本信息

元数据

  • 默认版本: 0.2.9
  • PG大版本: 17,16,15,14,13
  • 动态加载: 需要显式加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.9
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.9
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

扩展 omni 需要通过 shared_preload_libraries 进行 动态加载

shared_preload_libraries = 'omni'; # 修改 PG 集群配置

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni 扩展:

CREATE EXTENSION omni;



12.19 - omni_auth

Omnigres 基础会话认证管理模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 基础会话认证管理模块

基本信息

元数据

  • 默认版本: 0.1.3
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_auth
  • 所需扩展: omni_types, omni_id, pgcrypto, btree_gist, omni_polyfill

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.3
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.3
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_auth; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_auth 扩展:

CREATE EXTENSION omni_auth CASCADE;



12.20 - omni_aws

Omnigres AWS S3 API封装

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres AWS S3 API封装

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: omni_aws
  • 所需扩展: omni_httpc, pgcrypto, omni_xml, omni_web

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_aws; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_aws 扩展:

CREATE EXTENSION omni_aws CASCADE;



12.21 - omni_cloudevents

Omnigres CloudEvents 支持

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres CloudEvents 支持

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: omni_cloudevents
  • 所需扩展: omni_web

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_cloudevents; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_cloudevents 扩展:

CREATE EXTENSION omni_cloudevents CASCADE;



12.22 - omni_containers

Omnigres Docker容器管理模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres Docker容器管理模块

基本信息

元数据

  • 默认版本: 0.2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_containers
  • 所需扩展: omni_httpc, omni_web

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_containers; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_containers 扩展:

CREATE EXTENSION omni_containers CASCADE;



12.23 - omni_credentials

Omnigres 应用密钥管理模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 应用密钥管理模块

基本信息

元数据

  • 默认版本: 0.2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_credentials
  • 所需扩展: pgcrypto, omni_os

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_credentials; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_credentials 扩展:

CREATE EXTENSION omni_credentials CASCADE;



12.24 - omni_email

Omnigres Email 框架

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres Email 框架

基本信息

元数据

  • 默认版本: 0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_email
  • 所需扩展: omni_id, omni_cloudevents, omni_polyfill

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_email; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_email 扩展:

CREATE EXTENSION omni_email CASCADE;



12.25 - omni_http

Omnigres 基本HTTP类型

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 基本HTTP类型

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_http
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_http; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_http 扩展:

CREATE EXTENSION omni_http;



12.26 - omni_httpc

Omnigres HTTP客户端

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres HTTP客户端

基本信息

元数据

  • 默认版本: 0.1.5
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_httpc
  • 所需扩展: omni_http, omni_types

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.5
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.5
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_httpc; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_httpc 扩展:

CREATE EXTENSION omni_httpc CASCADE;



12.27 - omni_httpd

Omnigres HTTP服务器

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres HTTP服务器

基本信息

元数据

  • 默认版本: 0.4.6
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_httpd
  • 所需扩展: omni_types, omni_http

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.4.6
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.4.6
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_httpd; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_httpd 扩展:

CREATE EXTENSION omni_httpd CASCADE;



12.28 - omni_id

Omnigres ID身份数据类型

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres ID身份数据类型

基本信息

元数据

  • 默认版本: 0.4.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.4.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.4.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_id; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_id 扩展:

CREATE EXTENSION omni_id;



12.29 - omni_json

Omnigres JSON工具箱

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres JSON工具箱

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 受信任,无需超级用户,带 CREATE 权限的用户可以直接创建
  • 所需模式: omni_json
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_json; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_json 扩展:

CREATE EXTENSION omni_json;



12.30 - omni_kube

Omnigres Kubernetes集成模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres Kubernetes集成模块

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_kube
  • 所需扩展: omni_httpc, omni_web, omni_var, pgcrypto

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_kube; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_kube 扩展:

CREATE EXTENSION omni_kube CASCADE;



12.31 - omni_ledger

Omnigres 金融账本模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 金融账本模块

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_ledger
  • 所需扩展: omni_id, omni_polyfill

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_ledger; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_ledger 扩展:

CREATE EXTENSION omni_ledger CASCADE;



12.32 - omni_manifest

Omnigres 包管理清单模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 包管理清单模块

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_manifest
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_manifest; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_manifest 扩展:

CREATE EXTENSION omni_manifest;



12.33 - omni_mimetypes

Omnigres MIME数据类型

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres MIME数据类型

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_mimetypes
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_mimetypes; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_mimetypes 扩展:

CREATE EXTENSION omni_mimetypes;



12.34 - omni_os

Omnigres 操作系统集成模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 操作系统集成模块

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_os
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_os; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_os 扩展:

CREATE EXTENSION omni_os;



12.35 - omni_polyfill

Omnigres Postgres多态API

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres Postgres多态API

基本信息

元数据

  • 默认版本: 0.2.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_polyfill
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_polyfill; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_polyfill 扩展:

CREATE EXTENSION omni_polyfill;



12.36 - omni_python

Omnigres 第一类Python支持模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 第一类Python支持模块

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_python
  • 所需扩展: plpython3u

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_python; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_python 扩展:

CREATE EXTENSION omni_python CASCADE;



12.37 - omni_regex

Omnigres PCRE兼容正则表达式模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres PCRE兼容正则表达式模块

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 无法安装至任意模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: 无
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_regex; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_regex 扩展:

CREATE EXTENSION omni_regex;



12.38 - omni_rest

Omnigres REST API 工具包

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres REST API 工具包

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_rest
  • 所需扩展: omni_httpd, omni_sql, omni_web, omni_var, pgcrypto

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_rest; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_rest 扩展:

CREATE EXTENSION omni_rest CASCADE;



12.39 - omni_schema

Omnigres 高级模式管理组件

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 高级模式管理组件

基本信息

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_schema
  • 所需扩展: omni_sql, omni_vfs, dblink

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.3.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.3.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_schema; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_schema 扩展:

CREATE EXTENSION omni_schema CASCADE;



12.40 - omni_seq

Omnigres 分布式整型序列号

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 分布式整型序列号

基本信息

元数据

  • 默认版本: 0.1.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_seq
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_seq; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_seq 扩展:

CREATE EXTENSION omni_seq;



12.41 - omni_service

Omnigres 服务管理器

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 服务管理器

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_service
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_service; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_service 扩展:

CREATE EXTENSION omni_service;



12.42 - omni_session

Omnigres 会话管理器

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 会话管理器

基本信息

元数据

  • 默认版本: 0.2.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_session
  • 所需扩展: omni_var, omni_id, omni_web, omni_httpd, omni_polyfill

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_session; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_session 扩展:

CREATE EXTENSION omni_session CASCADE;



12.43 - omni_sql

Omnigres SQL编程组件

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres SQL编程组件

基本信息

元数据

  • 默认版本: 0.5.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_sql
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.5.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.5.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_sql; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_sql 扩展:

CREATE EXTENSION omni_sql;



12.44 - omni_sqlite

Omnigres 嵌入的SQLite支持

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 嵌入的SQLite支持

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_sqlite
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_sqlite; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_sqlite 扩展:

CREATE EXTENSION omni_sqlite;



12.45 - omni_test

Omnigres 测试框架

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 测试框架

基本信息

元数据

  • 默认版本: 0.4.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_test
  • 所需扩展: dblink

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.4.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.4.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_test; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_test 扩展:

CREATE EXTENSION omni_test CASCADE;



12.46 - omni_txn

Omnigres 事务管理器模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 事务管理器模块

基本信息

元数据

  • 默认版本: 0.5.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_txn
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.5.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.5.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_txn; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_txn 扩展:

CREATE EXTENSION omni_txn;



12.47 - omni_types

Omnigres 高级数据类型模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 高级数据类型模块

基本信息

元数据

  • 默认版本: 0.3.4
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_types
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.3.4
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.3.4
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_types; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_types 扩展:

CREATE EXTENSION omni_types;



12.48 - omni_var

Omnigres 局部变量模块

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 局部变量模块

基本信息

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_var
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.3.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.3.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_var; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_var 扩展:

CREATE EXTENSION omni_var;



12.49 - omni_vfs

Omnigres 虚拟文件系统

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 虚拟文件系统

基本信息

元数据

  • 默认版本: 0.2.1
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_vfs
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.2.1
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.2.1
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_vfs; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_vfs 扩展:

CREATE EXTENSION omni_vfs;



12.50 - omni_vfs_types_v1

Omnigres 虚拟文件系统(v1)

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 虚拟文件系统(v1)

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_vfs_types_v1
  • 所需扩展: omni_vfs_types_v1, dblink

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_vfs_types_v1; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_vfs_types_v1 扩展:

CREATE EXTENSION omni_vfs_types_v1 CASCADE;



12.51 - omni_web

Omnigres Web工具箱

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres Web工具箱

基本信息

元数据

  • 默认版本: 0.3.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_web
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.3.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.3.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_web; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_web 扩展:

CREATE EXTENSION omni_web;



12.52 - omni_worker

Omnigres 通用Worker池

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres 通用Worker池

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_worker
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_worker; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_worker 扩展:

CREATE EXTENSION omni_worker;



12.53 - omni_xml

Omnigres XML工具包

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres XML工具包

基本信息

元数据

  • 默认版本: 0.1.2
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_xml
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.2
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.2
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el8 aarch64 omnigres_17
PIGSTY 20250120
omnigres_16
PIGSTY 20250120
omnigres_15
PIGSTY 20250120
omnigres_14
PIGSTY 20250120
omnigres_13
PIGSTY 20250120
el9 x86_64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
el9 aarch64 omnigres_17
PIGSTY 20250507
omnigres_16
PIGSTY 20250507
omnigres_15
PIGSTY 20250507
omnigres_14
PIGSTY 20250507
omnigres_13
PIGSTY 20250507
d12 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
d12 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 x86_64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u22 aarch64 postgresql-17-omnigres
PIGSTY 20250120
postgresql-16-omnigres
PIGSTY 20250120
postgresql-15-omnigres
PIGSTY 20250120
postgresql-14-omnigres
PIGSTY 20250120
postgresql-13-omnigres
PIGSTY 20250120
u24 x86_64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507
u24 aarch64 postgresql-17-omnigres
PIGSTY 20250507
postgresql-16-omnigres
PIGSTY 20250507
postgresql-15-omnigres
PIGSTY 20250507
postgresql-14-omnigres
PIGSTY 20250507
postgresql-13-omnigres
PIGSTY 20250507

扩展安装

使用 pig 命令行工具安装 omnigres 扩展:

pig ext install omnigres; # 扩展名称
pig ext install omni_xml; # 标准包名

使用 Pigsty剧本 安装 omnigres 扩展:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["omnigres"]}' # -l <集群名>

YUM仓库 手工安装 omnigres RPM 包:

dnf install omnigres_17;
dnf install omnigres_16;
dnf install omnigres_15;
dnf install omnigres_14;
dnf install omnigres_13;

APT仓库 手工安装 omnigres DEB 包:

apt install postgresql-17-omnigres;
apt install postgresql-16-omnigres;
apt install postgresql-15-omnigres;
apt install postgresql-14-omnigres;
apt install postgresql-13-omnigres;

使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 omni_xml 扩展:

CREATE EXTENSION omni_xml;



12.54 - omni_yaml

Omnigres YAML工具包

扩展总览

PIGSTY 第三方扩展: omnigres : Omnigres YAML工具包

基本信息

元数据

  • 默认版本: 0.1.0
  • PG大版本: 17,16,15,14,13
  • 动态加载: 无需动态加载
  • 需要DDL: 需要执行 CREATE EXTENSION DDL
  • 可重定位: 可以重定位安装至其他模式下
  • 信任程度: 未受信任,创建扩展需要超级用户权限
  • 所需模式: omni_yaml
  • 所需扩展: 无

软件包

  • RPM仓库:PIGSTY
  • RPM包名:omnigres_$v
  • RPM版本:0.1.0
  • RPM依赖:无
  • DEB仓库:PIGSTY
  • DEB包名:postgresql-$v-omnigres
  • DEB版本:0.1.0
  • DEB依赖:无

最新版本

系统 架构 PG17 PG16