这是本节的多页打印视图。
点击此处打印.
返回本页常规视图.
类目:ADMIN
管理工具扩展:膨胀治理,脏读,检视缓冲区,数据目录,校验和,系统目录腐败检查,优先级管理,权限管理,语句准备,限制批量更新等
1 - pg_repack
在线垃圾清理与表膨胀治理
扩展总览
PGDG 第一方扩展: pg_repack
: 在线垃圾清理与表膨胀治理
基本信息
元数据
- 默认版本: 1.5.2
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_repack_$v*
- RPM版本:
1.5.2
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-repack
- DEB版本:
1.5.2
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_repack
扩展:
pig ext install pg_repack
使用 Pigsty剧本 安装 pg_repack 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_repack"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_repack
RPM 包:
dnf install pg_repack_17*;
dnf install pg_repack_16*;
dnf install pg_repack_15*;
dnf install pg_repack_14*;
dnf install pg_repack_13*;
从 APT仓库 手工安装 pg_repack
DEB 包:
apt install postgresql-17-repack;
apt install postgresql-16-repack;
apt install postgresql-15-repack;
apt install postgresql-14-repack;
apt install postgresql-13-repack;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_repack
扩展:
CREATE EXTENSION pg_repack;
2 - pg_squeeze
从关系中删除未使用空间
扩展总览
PGDG 第一方扩展: pg_squeeze
: 从关系中删除未使用空间
基本信息
元数据
- 默认版本: 1.8.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 需要显式加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式:
squeeze
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_squeeze_$v*
- RPM版本:
1.8.0
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-squeeze
- DEB版本:
1.8.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_squeeze
扩展:
pig ext install pg_squeeze
使用 Pigsty剧本 安装 pg_squeeze 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_squeeze"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_squeeze
RPM 包:
dnf install pg_squeeze_17*;
dnf install pg_squeeze_16*;
dnf install pg_squeeze_15*;
dnf install pg_squeeze_14*;
dnf install pg_squeeze_13*;
从 APT仓库 手工安装 pg_squeeze
DEB 包:
apt install postgresql-17-squeeze;
apt install postgresql-16-squeeze;
apt install postgresql-15-squeeze;
apt install postgresql-14-squeeze;
apt install postgresql-13-squeeze;
扩展 pg_squeeze
需要通过 shared_preload_libraries
进行 动态加载:
shared_preload_libraries = 'pg_squeeze'; # 修改 PG 集群配置
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_squeeze
扩展:
CREATE EXTENSION pg_squeeze;
3 - pg_dirtyread
从表中读取尚未垃圾回收的行
扩展总览
MIXED 第三方扩展: pg_dirtyread
: 从表中读取尚未垃圾回收的行
基本信息
元数据
- 默认版本: 2.7
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_dirtyread_$v*
- RPM版本:
2.7
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-dirtyread
- DEB版本:
2.7
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_dirtyread
扩展:
pig ext install pg_dirtyread
使用 Pigsty剧本 安装 pg_dirtyread 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_dirtyread"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_dirtyread
RPM 包:
dnf install pg_dirtyread_17*;
dnf install pg_dirtyread_16*;
dnf install pg_dirtyread_15*;
dnf install pg_dirtyread_14*;
dnf install pg_dirtyread_13*;
从 APT仓库 手工安装 pg_dirtyread
DEB 包:
apt install postgresql-17-dirtyread;
apt install postgresql-16-dirtyread;
apt install postgresql-15-dirtyread;
apt install postgresql-14-dirtyread;
apt install postgresql-13-dirtyread;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_dirtyread
扩展:
CREATE EXTENSION pg_dirtyread;
4 - pgfincore
检查和管理操作系统缓冲区缓存
扩展总览
PGDG 第一方扩展: pgfincore
: 检查和管理操作系统缓冲区缓存
基本信息
元数据
- 默认版本: 1.3.1
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pgfincore_$v*
- RPM版本:
1.3.1
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pgfincore
- DEB版本:
1.3.1
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgfincore
扩展:
pig ext install pgfincore
使用 Pigsty剧本 安装 pgfincore 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgfincore"]}' # -l <集群名>
从 YUM仓库 手工安装 pgfincore
RPM 包:
dnf install pgfincore_17*;
dnf install pgfincore_16*;
dnf install pgfincore_15*;
dnf install pgfincore_14*;
dnf install pgfincore_13*;
从 APT仓库 手工安装 pgfincore
DEB 包:
apt install postgresql-17-pgfincore;
apt install postgresql-16-pgfincore;
apt install postgresql-15-pgfincore;
apt install postgresql-14-pgfincore;
apt install postgresql-13-pgfincore;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgfincore
扩展:
CREATE EXTENSION pgfincore;
5 - pg_cooldown
从缓冲区中移除特定关系的页面
扩展总览
PIGSTY 第三方扩展: pg_cooldown
: 从缓冲区中移除特定关系的页面
基本信息
元数据
- 默认版本: 0.1
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_cooldown_$v*
- RPM版本:
0.1
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-cooldown
- DEB版本:
0.1
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_cooldown
扩展:
pig ext install pg_cooldown
使用 Pigsty剧本 安装 pg_cooldown 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_cooldown"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_cooldown
RPM 包:
dnf install pg_cooldown_17*;
dnf install pg_cooldown_16*;
dnf install pg_cooldown_15*;
dnf install pg_cooldown_14*;
dnf install pg_cooldown_13*;
从 APT仓库 手工安装 pg_cooldown
DEB 包:
apt install postgresql-17-pg-cooldown;
apt install postgresql-16-pg-cooldown;
apt install postgresql-15-pg-cooldown;
apt install postgresql-14-pg-cooldown;
apt install postgresql-13-pg-cooldown;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_cooldown
扩展:
CREATE EXTENSION pg_cooldown;
6 - ddlx
提取数据库对象的DDL
扩展总览
MIXED 第三方扩展: pg_ddlx
: 提取数据库对象的DDL
基本信息
元数据
- 默认版本: 0.29
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
ddlx_$v
- RPM版本:
0.29
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-ddlx
- DEB版本:
0.29
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_ddlx
扩展:
pig ext install pg_ddlx; # 扩展名称
pig ext install ddlx; # 标准包名
使用 Pigsty剧本 安装 pg_ddlx 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_ddlx"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_ddlx
RPM 包:
dnf install ddlx_17;
dnf install ddlx_16;
dnf install ddlx_15;
dnf install ddlx_14;
dnf install ddlx_13;
从 APT仓库 手工安装 pg_ddlx
DEB 包:
apt install postgresql-17-ddlx;
apt install postgresql-16-ddlx;
apt install postgresql-15-ddlx;
apt install postgresql-14-ddlx;
apt install postgresql-13-ddlx;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 ddlx
扩展:
7 - prioritize
获取和设置 PostgreSQL 后端的优先级
扩展总览
PGDG 第一方扩展: pg_prioritize
: 获取和设置 PostgreSQL 后端的优先级
基本信息
元数据
- 默认版本: 1.0.4
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_prioritize_$v*
- RPM版本:
1.0.4
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-prioritize
- DEB版本:
1.0.4
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_prioritize
扩展:
pig ext install pg_prioritize; # 扩展名称
pig ext install prioritize; # 标准包名
使用 Pigsty剧本 安装 pg_prioritize 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_prioritize"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_prioritize
RPM 包:
dnf install pg_prioritize_17*;
dnf install pg_prioritize_16*;
dnf install pg_prioritize_15*;
从 APT仓库 手工安装 pg_prioritize
DEB 包:
apt install postgresql-17-prioritize;
apt install postgresql-16-prioritize;
apt install postgresql-15-prioritize;
apt install postgresql-14-prioritize;
apt install postgresql-13-prioritize;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 prioritize
扩展:
CREATE EXTENSION prioritize;
8 - pg_checksums
在离线模式下激活/启用/禁用数据库集群的校验和功能
扩展总览
PGDG 第一方扩展: pg_checksums
: 在离线模式下激活/启用/禁用数据库集群的校验和功能
基本信息
元数据
- 默认版本: 1.2
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 无需执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_checksums_$v*
- RPM版本:
1.1
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pg-checksums
- DEB版本:
1.2
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_checksums
扩展:
pig ext install pg_checksums
使用 Pigsty剧本 安装 pg_checksums 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_checksums"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_checksums
RPM 包:
dnf install pg_checksums_16*;
dnf install pg_checksums_15*;
dnf install pg_checksums_14*;
dnf install pg_checksums_13*;
从 APT仓库 手工安装 pg_checksums
DEB 包:
apt install postgresql-17-pg-checksums;
apt install postgresql-16-pg-checksums;
apt install postgresql-15-pg-checksums;
apt install postgresql-14-pg-checksums;
apt install postgresql-13-pg-checksums;
扩展 %s
无需 手工执行 CREATE EXTENSION
命令。
9 - pg_readonly
将集群设置为只读
扩展总览
PGDG 第一方扩展: pg_readonly
: 将集群设置为只读
基本信息
元数据
- 默认版本: 1.0.3
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_readonly_$v*
- RPM版本:
1.0.3
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pg-readonly
- DEB版本:
1.0.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_readonly
扩展:
pig ext install pg_readonly
使用 Pigsty剧本 安装 pg_readonly 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_readonly"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_readonly
RPM 包:
dnf install pg_readonly_17*;
dnf install pg_readonly_16*;
dnf install pg_readonly_15*;
dnf install pg_readonly_14*;
dnf install pg_readonly_13*;
从 APT仓库 手工安装 pg_readonly
DEB 包:
apt install postgresql-17-pg-readonly;
apt install postgresql-16-pg-readonly;
apt install postgresql-15-pg-readonly;
apt install postgresql-14-pg-readonly;
apt install postgresql-13-pg-readonly;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_readonly
扩展:
CREATE EXTENSION pg_readonly;
10 - pg_upless
检测表上的无用UPDATE
扩展总览
PIGSTY 第三方扩展: pg_upless
: 检测表上的无用UPDATE
基本信息
元数据
- 默认版本: 0.0.3
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 受信任,无需超级用户,带
CREATE
权限的用户可以直接创建
- 所需模式: 无
- 所需扩展:
plpgsql
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_upless_$v
- RPM版本:
0.0.3
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-upless
- DEB版本:
0.0.3
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_upless
扩展:
pig ext install pg_upless
使用 Pigsty剧本 安装 pg_upless 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_upless"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_upless
RPM 包:
dnf install pg_upless_17;
dnf install pg_upless_16;
dnf install pg_upless_15;
dnf install pg_upless_14;
dnf install pg_upless_13;
从 APT仓库 手工安装 pg_upless
DEB 包:
apt install postgresql-17-pg-upless;
apt install postgresql-16-pg-upless;
apt install postgresql-15-pg-upless;
apt install postgresql-14-pg-upless;
apt install postgresql-13-pg-upless;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_upless
扩展:
CREATE EXTENSION pg_upless CASCADE;
11 - pg_permissions
查看对象权限并将其与期望状态进行比较
扩展总览
MIXED 第三方扩展: pg_permissions
: 查看对象权限并将其与期望状态进行比较
基本信息
元数据
- 默认版本: 1.3
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 受信任,无需超级用户,带
CREATE
权限的用户可以直接创建
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_permissions_$v
- RPM版本:
1.3
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-permissions
- DEB版本:
1.3
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_permissions
扩展:
pig ext install pg_permissions
使用 Pigsty剧本 安装 pg_permissions 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_permissions"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_permissions
RPM 包:
dnf install pg_permissions_17;
dnf install pg_permissions_16;
dnf install pg_permissions_15;
dnf install pg_permissions_14;
dnf install pg_permissions_13;
从 APT仓库 手工安装 pg_permissions
DEB 包:
apt install postgresql-17-pg-permissions;
apt install postgresql-16-pg-permissions;
apt install postgresql-15-pg-permissions;
apt install postgresql-14-pg-permissions;
apt install postgresql-13-pg-permissions;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_permissions
扩展:
CREATE EXTENSION pg_permissions;
12 - pgautofailover
PG 自动故障迁移
扩展总览
PGDG 第一方扩展: pgautofailover
: PG 自动故障迁移
基本信息
元数据
- 默认版本: 2.1
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 需要显式加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展:
btree_gist
软件包
- RPM仓库:PGDG
- RPM包名:
pg_auto_failover_$v*
- RPM版本:
2.1
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-auto-failover
- DEB版本:
2.1
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgautofailover
扩展:
pig ext install pgautofailover
使用 Pigsty剧本 安装 pgautofailover 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgautofailover"]}' # -l <集群名>
从 YUM仓库 手工安装 pgautofailover
RPM 包:
dnf install pg_auto_failover_16*;
dnf install pg_auto_failover_15*;
dnf install pg_auto_failover_14*;
dnf install pg_auto_failover_13*;
从 APT仓库 手工安装 pgautofailover
DEB 包:
apt install postgresql-17-auto-failover;
apt install postgresql-16-auto-failover;
apt install postgresql-15-auto-failover;
apt install postgresql-14-auto-failover;
apt install postgresql-13-auto-failover;
扩展 pgautofailover
需要通过 shared_preload_libraries
进行 动态加载:
shared_preload_libraries = 'pgautofailover'; # 修改 PG 集群配置
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgautofailover
扩展:
CREATE EXTENSION pgautofailover CASCADE;
13 - pg_catcheck
用于诊断系统目录是否损坏的工具
扩展总览
PGDG 第一方扩展: pg_catcheck
: 用于诊断系统目录是否损坏的工具
基本信息
元数据
- 默认版本: 1.6.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pg_catcheck_$v*
- RPM版本:
1.6.0
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pg-catcheck
- DEB版本:
1.4.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_catcheck
扩展:
pig ext install pg_catcheck
使用 Pigsty剧本 安装 pg_catcheck 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_catcheck"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_catcheck
RPM 包:
dnf install pg_catcheck_17*;
dnf install pg_catcheck_16*;
dnf install pg_catcheck_15*;
dnf install pg_catcheck_14*;
dnf install pg_catcheck_13*;
从 APT仓库 手工安装 pg_catcheck
DEB 包:
apt install postgresql-17-pg-catcheck;
apt install postgresql-16-pg-catcheck;
apt install postgresql-15-pg-catcheck;
apt install postgresql-14-pg-catcheck;
apt install postgresql-13-pg-catcheck;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_catcheck
扩展:
CREATE EXTENSION pg_catcheck;
14 - pre_prepare
在服务端预先准备好PreparedStatement备用
扩展总览
MIXED 第三方扩展: preprepare
: 在服务端预先准备好PreparedStatement备用
基本信息
元数据
- 默认版本: 0.9
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
preprepare_$v*
- RPM版本:
0.9
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-preprepare
- DEB版本:
0.9
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 preprepare
扩展:
pig ext install preprepare; # 扩展名称
pig ext install pre_prepare; # 标准包名
使用 Pigsty剧本 安装 preprepare 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["preprepare"]}' # -l <集群名>
从 YUM仓库 手工安装 preprepare
RPM 包:
dnf install preprepare_17*;
dnf install preprepare_16*;
dnf install preprepare_15*;
dnf install preprepare_14*;
dnf install preprepare_13*;
从 APT仓库 手工安装 preprepare
DEB 包:
apt install postgresql-17-preprepare;
apt install postgresql-16-preprepare;
apt install postgresql-15-preprepare;
apt install postgresql-14-preprepare;
apt install postgresql-13-preprepare;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pre_prepare
扩展:
CREATE EXTENSION pre_prepare;
15 - pgcozy
根据先前的pg_buffercache快照预热内存缓冲区
扩展总览
PIGSTY 第三方扩展: pgcozy
: 根据先前的pg_buffercache快照预热内存缓冲区
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未知
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pgcozy_$v
- RPM版本:
1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pgcozy
- DEB版本:
1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgcozy
扩展:
使用 Pigsty剧本 安装 pgcozy 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgcozy"]}' # -l <集群名>
从 YUM仓库 手工安装 pgcozy
RPM 包:
dnf install pgcozy_17;
dnf install pgcozy_16;
dnf install pgcozy_15;
dnf install pgcozy_14;
dnf install pgcozy_13;
从 APT仓库 手工安装 pgcozy
DEB 包:
apt install postgresql-17-pgcozy;
apt install postgresql-16-pgcozy;
apt install postgresql-15-pgcozy;
apt install postgresql-14-pgcozy;
apt install postgresql-13-pgcozy;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgcozy
扩展:
16 - pg_orphaned
处理孤儿文件的扩展插件
扩展总览
PIGSTY 第三方扩展: pg_orphaned
: 处理孤儿文件的扩展插件
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未知
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_orphaned_$v*
- RPM版本:
1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-orphaned
- DEB版本:
1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_orphaned
扩展:
pig ext install pg_orphaned
使用 Pigsty剧本 安装 pg_orphaned 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_orphaned"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_orphaned
RPM 包:
dnf install pg_orphaned_17*;
dnf install pg_orphaned_16*;
dnf install pg_orphaned_15*;
dnf install pg_orphaned_14*;
dnf install pg_orphaned_13*;
从 APT仓库 手工安装 pg_orphaned
DEB 包:
apt install postgresql-17-pg-orphaned;
apt install postgresql-16-pg-orphaned;
apt install postgresql-15-pg-orphaned;
apt install postgresql-14-pg-orphaned;
apt install postgresql-13-pg-orphaned;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_orphaned
扩展:
CREATE EXTENSION pg_orphaned;
17 - pg_crash
向数据库进程随机发送信号模拟故障
扩展总览
PIGSTY 第三方扩展: pg_crash
: 向数据库进程随机发送信号模拟故障
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 需要显式加载
- 需要DDL: 无需执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未知
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_crash_$v*
- RPM版本:
1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-crash
- DEB版本:
1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_crash
扩展:
使用 Pigsty剧本 安装 pg_crash 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_crash"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_crash
RPM 包:
dnf install pg_crash_17*;
dnf install pg_crash_16*;
dnf install pg_crash_15*;
dnf install pg_crash_14*;
dnf install pg_crash_13*;
从 APT仓库 手工安装 pg_crash
DEB 包:
apt install postgresql-17-pg-crash;
apt install postgresql-16-pg-crash;
apt install postgresql-15-pg-crash;
apt install postgresql-14-pg-crash;
apt install postgresql-13-pg-crash;
扩展 pg_crash
需要通过 shared_preload_libraries
进行 动态加载:
shared_preload_libraries = 'pg_crash'; # 修改 PG 集群配置
扩展 %s
无需 手工执行 CREATE EXTENSION
命令。
18 - pg_cheat_funcs
一些超级实用的作弊函数
扩展总览
PIGSTY 第三方扩展: pg_cheat_funcs
: 一些超级实用的作弊函数
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未知
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_cheat_funcs_$v*
- RPM版本:
1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-cheat-funcs
- DEB版本:
1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_cheat_funcs
扩展:
pig ext install pg_cheat_funcs
使用 Pigsty剧本 安装 pg_cheat_funcs 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_cheat_funcs"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_cheat_funcs
RPM 包:
dnf install pg_cheat_funcs_17*;
dnf install pg_cheat_funcs_16*;
dnf install pg_cheat_funcs_15*;
dnf install pg_cheat_funcs_14*;
dnf install pg_cheat_funcs_13*;
从 APT仓库 手工安装 pg_cheat_funcs
DEB 包:
apt install postgresql-17-pg-cheat-funcs;
apt install postgresql-16-pg-cheat-funcs;
apt install postgresql-15-pg-cheat-funcs;
apt install postgresql-14-pg-cheat-funcs;
apt install postgresql-13-pg-cheat-funcs;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_cheat_funcs
扩展:
CREATE EXTENSION pg_cheat_funcs;
19 - fio
PostgreSQL文件IO函数包
扩展总览
PIGSTY 第三方扩展: pg_fio
: PostgreSQL文件IO函数包
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_fio_$v
- RPM版本:
1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-fio
- DEB版本:
1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_fio
扩展:
pig ext install pg_fio; # 扩展名称
pig ext install fio; # 标准包名
使用 Pigsty剧本 安装 pg_fio 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_fio"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_fio
RPM 包:
dnf install pg_fio_17;
dnf install pg_fio_16;
dnf install pg_fio_15;
dnf install pg_fio_14;
dnf install pg_fio_13;
从 APT仓库 手工安装 pg_fio
DEB 包:
apt install postgresql-17-pg-fio;
apt install postgresql-16-pg-fio;
apt install postgresql-15-pg-fio;
apt install postgresql-14-pg-fio;
apt install postgresql-13-pg-fio;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 fio
扩展:
20 - pg_savior
阻止不带条件的全表更新以避免意外事故
扩展总览
PIGSTY 第三方扩展: pg_savior
: 阻止不带条件的全表更新以避免意外事故
基本信息
元数据
- 默认版本: 0.0.1
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 无法安装至任意模式下
- 信任程度: 未知
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
pg_savior_$v*
- RPM版本:
0.0.1
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-savior
- DEB版本:
0.0.1
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_savior
扩展:
pig ext install pg_savior
使用 Pigsty剧本 安装 pg_savior 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_savior"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_savior
RPM 包:
dnf install pg_savior_17*;
dnf install pg_savior_16*;
dnf install pg_savior_15*;
dnf install pg_savior_14*;
dnf install pg_savior_13*;
从 APT仓库 手工安装 pg_savior
DEB 包:
apt install postgresql-17-pg-savior;
apt install postgresql-16-pg-savior;
apt install postgresql-15-pg-savior;
apt install postgresql-14-pg-savior;
apt install postgresql-13-pg-savior;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_savior
扩展:
CREATE EXTENSION pg_savior;
21 - safeupdate
强制在 UPDATE 和 DELETE 时提供 Where 条件
扩展总览
PGDG 第一方扩展: safeupdate
: 强制在 UPDATE 和 DELETE 时提供 Where 条件
基本信息
元数据
- 默认版本: 1.5
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 无需执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
safeupdate_$v*
- RPM版本:
1.5
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pg-safeupdate
- DEB版本:
1.5
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 safeupdate
扩展:
pig ext install safeupdate
使用 Pigsty剧本 安装 safeupdate 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["safeupdate"]}' # -l <集群名>
从 YUM仓库 手工安装 safeupdate
RPM 包:
dnf install safeupdate_17*;
dnf install safeupdate_16*;
dnf install safeupdate_15*;
dnf install safeupdate_14*;
dnf install safeupdate_13*;
从 APT仓库 手工安装 safeupdate
DEB 包:
apt install postgresql-17-pg-safeupdate;
apt install postgresql-16-pg-safeupdate;
apt install postgresql-15-pg-safeupdate;
apt install postgresql-14-pg-safeupdate;
扩展 %s
无需 手工执行 CREATE EXTENSION
命令。
22 - pg_drop_events
记录删表删列删视图的事务号,辅助PITR确定时间点
扩展总览
PGDG 第三方扩展: pg_drop_events
: 记录删表删列删视图的事务号,辅助PITR确定时间点
基本信息
元数据
- 默认版本: 0.1.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式:
public
- 所需扩展:
plpgsql
软件包
- RPM仓库:PGDG
- RPM包名:
pg_drop_events_$v
- RPM版本:
0.1.0
- RPM依赖:无
- DEB仓库:PIGSTY
- DEB包名:
postgresql-$v-pg-drop-events
- DEB版本:
0.1.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pg_drop_events
扩展:
pig ext install pg_drop_events
使用 Pigsty剧本 安装 pg_drop_events 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_drop_events"]}' # -l <集群名>
从 YUM仓库 手工安装 pg_drop_events
RPM 包:
dnf install pg_drop_events_17;
dnf install pg_drop_events_16;
dnf install pg_drop_events_15;
dnf install pg_drop_events_14;
dnf install pg_drop_events_13;
从 APT仓库 手工安装 pg_drop_events
DEB 包:
apt install postgresql-17-pg-drop-events;
apt install postgresql-16-pg-drop-events;
apt install postgresql-15-pg-drop-events;
apt install postgresql-14-pg-drop-events;
apt install postgresql-13-pg-drop-events;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_drop_events
扩展:
CREATE EXTENSION pg_drop_events CASCADE;
23 - table_log
记录某张表的修改日志并做表/行级时间点恢复
扩展总览
MIXED 第三方扩展: table_log
: 记录某张表的修改日志并做表/行级时间点恢复
基本信息
元数据
- 默认版本: 0.6.4
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 可以重定位安装至其他模式下
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PIGSTY
- RPM包名:
table_log_$v
- RPM版本:
0.6.4
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-tablelog
- DEB版本:
0.6.4
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 table_log
扩展:
pig ext install table_log
使用 Pigsty剧本 安装 table_log 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["table_log"]}' # -l <集群名>
从 YUM仓库 手工安装 table_log
RPM 包:
dnf install table_log_17;
dnf install table_log_16;
dnf install table_log_15;
dnf install table_log_14;
dnf install table_log_13;
从 APT仓库 手工安装 table_log
DEB 包:
apt install postgresql-17-tablelog;
apt install postgresql-16-tablelog;
apt install postgresql-15-tablelog;
apt install postgresql-14-tablelog;
apt install postgresql-13-tablelog;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 table_log
扩展:
CREATE EXTENSION table_log;
24 - pgagent
PostgreSQL任务调度工具,与PGADMIN配合使用
扩展总览
PGDG 第一方扩展: pgagent
: PostgreSQL任务调度工具,与PGADMIN配合使用
基本信息
元数据
- 默认版本: 4.2.3
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pgagent_$v*
- RPM版本:
4.2.3
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
pgagent
- DEB版本:
4.2.3
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgagent
扩展:
使用 Pigsty剧本 安装 pgagent 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgagent"]}' # -l <集群名>
从 YUM仓库 手工安装 pgagent
RPM 包:
dnf install pgagent_17*;
dnf install pgagent_16*;
dnf install pgagent_15*;
dnf install pgagent_14*;
dnf install pgagent_13*;
从 APT仓库 手工安装 pgagent
DEB 包:
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgagent
扩展:
CREATE EXTENSION pgagent;
25 - pg_prewarm
预热关系数据
扩展总览
CONTRIB 自带扩展: pg_prewarm
: 预热关系数据
基本信息
元数据
- 默认版本: 1.2
- 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_prewarm
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 pg_prewarm
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;
从 APT仓库 手工安装 pg_prewarm
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;
扩展 pg_prewarm
需要通过 shared_preload_libraries
进行 动态加载:
shared_preload_libraries = 'pg_prewarm'; # 修改 PG 集群配置
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_prewarm
扩展:
CREATE EXTENSION pg_prewarm;
26 - pgpool_adm
PGPool 管理函数
扩展总览
PGDG 第一方扩展: pgpool
: PGPool 管理函数
基本信息
元数据
- 默认版本: 4.6.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pgpool-II-pg$v-extensions
- RPM版本:
4.6.0
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pgpool2
- DEB版本:
4.6.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgpool
扩展:
pig ext install pgpool; # 扩展名称
pig ext install pgpool_adm; # 标准包名
使用 Pigsty剧本 安装 pgpool 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgpool"]}' # -l <集群名>
从 YUM仓库 手工安装 pgpool
RPM 包:
dnf install pgpool-II-pg17-extensions;
dnf install pgpool-II-pg16-extensions;
dnf install pgpool-II-pg15-extensions;
dnf install pgpool-II-pg14-extensions;
dnf install pgpool-II-pg13-extensions;
从 APT仓库 手工安装 pgpool
DEB 包:
apt install postgresql-17-pgpool2;
apt install postgresql-16-pgpool2;
apt install postgresql-15-pgpool2;
apt install postgresql-14-pgpool2;
apt install postgresql-13-pgpool2;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgpool_adm
扩展:
CREATE EXTENSION pgpool_adm;
27 - pgpool_recovery
PGPool辅助扩展,从v4.3提供的恢复函数
扩展总览
PGDG 第一方扩展: pgpool
: PGPool辅助扩展,从v4.3提供的恢复函数
基本信息
元数据
- 默认版本: 4.6.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pgpool-II-pg$v-extensions
- RPM版本:
4.6.0
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pgpool2
- DEB版本:
4.6.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgpool
扩展:
pig ext install pgpool; # 扩展名称
pig ext install pgpool_recovery; # 标准包名
使用 Pigsty剧本 安装 pgpool 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgpool"]}' # -l <集群名>
从 YUM仓库 手工安装 pgpool
RPM 包:
dnf install pgpool-II-pg17-extensions;
dnf install pgpool-II-pg16-extensions;
dnf install pgpool-II-pg15-extensions;
dnf install pgpool-II-pg14-extensions;
dnf install pgpool-II-pg13-extensions;
从 APT仓库 手工安装 pgpool
DEB 包:
apt install postgresql-17-pgpool2;
apt install postgresql-16-pgpool2;
apt install postgresql-15-pgpool2;
apt install postgresql-14-pgpool2;
apt install postgresql-13-pgpool2;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgpool_recovery
扩展:
CREATE EXTENSION pgpool_recovery;
28 - pgpool_regclass
PGPool辅助扩展,RegClass替代
扩展总览
PGDG 第一方扩展: pgpool
: PGPool辅助扩展,RegClass替代
基本信息
元数据
- 默认版本: 4.6.0
- PG大版本:
17
,16
,15
,14
,13
- 动态加载: 无需动态加载
- 需要DDL: 需要执行
CREATE EXTENSION
DDL
- 可重定位: 未知
- 信任程度: 未受信任,创建扩展需要超级用户权限
- 所需模式: 无
- 所需扩展: 无
软件包
- RPM仓库:PGDG
- RPM包名:
pgpool-II-pg$v-extensions
- RPM版本:
4.6.0
- RPM依赖:无
- DEB仓库:PGDG
- DEB包名:
postgresql-$v-pgpool2
- DEB版本:
4.6.0
- DEB依赖:无
最新版本
扩展安装
使用 pig
命令行工具安装 pgpool
扩展:
pig ext install pgpool; # 扩展名称
pig ext install pgpool_regclass; # 标准包名
使用 Pigsty剧本 安装 pgpool 扩展:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgpool"]}' # -l <集群名>
从 YUM仓库 手工安装 pgpool
RPM 包:
dnf install pgpool-II-pg17-extensions;
dnf install pgpool-II-pg16-extensions;
dnf install pgpool-II-pg15-extensions;
dnf install pgpool-II-pg14-extensions;
dnf install pgpool-II-pg13-extensions;
从 APT仓库 手工安装 pgpool
DEB 包:
apt install postgresql-17-pgpool2;
apt install postgresql-16-pgpool2;
apt install postgresql-15-pgpool2;
apt install postgresql-14-pgpool2;
apt install postgresql-13-pgpool2;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pgpool_regclass
扩展:
CREATE EXTENSION pgpool_regclass;
29 - lo
大对象维护
扩展总览
CONTRIB 自带扩展: lo
: 大对象维护
基本信息
元数据
- 默认版本: 1.1
- 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 |
|
|
|
|
|
扩展安装
扩展 lo
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 lo
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;
从 APT仓库 手工安装 lo
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 lo
扩展:
30 - basic_archive
归档模块样例
扩展总览
CONTRIB 自带扩展: basic_archive
: 归档模块样例
基本信息
元数据
- 默认版本: -
- PG大版本:
17
,16
,15
- 动态加载: 无需动态加载
- 需要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 |
|
|
|
|
|
扩展安装
扩展 basic_archive
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 basic_archive
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
从 APT仓库 手工安装 basic_archive
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
扩展 %s
无需 手工执行 CREATE EXTENSION
命令。
31 - basebackup_to_shell
添加一种备份到Shell终端到基础备份方式
扩展总览
CONTRIB 自带扩展: basebackup_to_shell
: 添加一种备份到Shell终端到基础备份方式
基本信息
元数据
- 默认版本: -
- PG大版本:
17
,16
,15
- 动态加载: 无需动态加载
- 需要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 |
|
|
|
|
|
扩展安装
扩展 basebackup_to_shell
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 basebackup_to_shell
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
从 APT仓库 手工安装 basebackup_to_shell
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
扩展 %s
无需 手工执行 CREATE EXTENSION
命令。
32 - old_snapshot
支持 old_snapshot_threshold 的实用程序
扩展总览
CONTRIB 自带扩展: old_snapshot
: 支持 old_snapshot_threshold 的实用程序
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
16
,15
,14
- 动态加载: 无需动态加载
- 需要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 |
|
|
|
|
|
扩展安装
扩展 old_snapshot
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 old_snapshot
RPM 包:
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
从 APT仓库 手工安装 old_snapshot
DEB 包:
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 old_snapshot
扩展:
CREATE EXTENSION old_snapshot;
33 - adminpack
PostgreSQL 管理函数集合
扩展总览
CONTRIB 自带扩展: adminpack
: PostgreSQL 管理函数集合
基本信息
元数据
- 默认版本: 2.1
- PG大版本:
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 |
|
|
|
|
|
扩展安装
扩展 adminpack
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 adminpack
RPM 包:
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;
从 APT仓库 手工安装 adminpack
DEB 包:
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 adminpack
扩展:
CREATE EXTENSION adminpack;
34 - amcheck
校验关系完整性
扩展总览
CONTRIB 自带扩展: amcheck
: 校验关系完整性
基本信息
元数据
- 默认版本: 1.4
- 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 |
|
|
|
|
|
扩展安装
扩展 amcheck
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 amcheck
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
dnf install postgresql13-contrib;
从 APT仓库 手工安装 amcheck
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
apt install postgresql-13;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 amcheck
扩展:
CREATE EXTENSION amcheck;
35 - pg_surgery
对损坏的关系进行手术
扩展总览
CONTRIB 自带扩展: pg_surgery
: 对损坏的关系进行手术
基本信息
元数据
- 默认版本: 1.0
- PG大版本:
17
,16
,15
,14
- 动态加载: 无需动态加载
- 需要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_surgery
属于 PostgreSQL 自带的第一方 Contrib 扩展,无需独立安装。
从 YUM仓库 手工安装 pg_surgery
RPM 包:
dnf install postgresql17-contrib;
dnf install postgresql16-contrib;
dnf install postgresql15-contrib;
dnf install postgresql14-contrib;
从 APT仓库 手工安装 pg_surgery
DEB 包:
apt install postgresql-17;
apt install postgresql-16;
apt install postgresql-15;
apt install postgresql-14;
使用以下 SQL 命令在已经安装此扩展插件的 PG 集群上 启用 pg_surgery
扩展:
CREATE EXTENSION pg_surgery;