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依赖:无

最新版本

系统 架构 PG17 PG16 PG15 PG14 PG13
el8 x86_64 ddlx_17
PIGSTY 0.29
ddlx_16
PIGSTY 0.29
ddlx_15
PIGSTY 0.29
ddlx_14
PIGSTY 0.29
ddlx_13
PIGSTY 0.29
el8 aarch64 ddlx_17
PIGSTY 0.29
ddlx_16
PIGSTY 0.29
ddlx_15
PIGSTY 0.29
ddlx_14
PIGSTY 0.29
ddlx_13
PIGSTY 0.29
el9 x86_64 ddlx_17
PIGSTY 0.29
ddlx_16
PIGSTY 0.29
ddlx_15
PIGSTY 0.29
ddlx_14
PIGSTY 0.29
ddlx_13
PIGSTY 0.29
el9 aarch64 ddlx_17
PIGSTY 0.29
ddlx_16
PIGSTY 0.29
ddlx_15
PIGSTY 0.29
ddlx_14
PIGSTY 0.29
ddlx_13
PIGSTY 0.29
d12 x86_64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29
d12 aarch64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29
u22 x86_64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29
u22 aarch64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29
u24 x86_64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29
u24 aarch64 postgresql-17-ddlx
PIGSTY 0.29
postgresql-16-ddlx
PIGSTY 0.29
postgresql-15-ddlx
PIGSTY 0.29
postgresql-14-ddlx
PIGSTY 0.29
postgresql-13-ddlx
PIGSTY 0.29

扩展安装

使用 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 扩展:

CREATE EXTENSION ddlx;




最后修改 2025-03-07: routine update (2106723)