File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
CN/modules/ROOT/pages/v1.17 Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11
22:sectnums:
33:sectnumlevels: 5
4+ :pgddl-version: 0.20
45
56= pgddl (DDL Extractor)
67
@@ -20,17 +21,17 @@ IvorySQL的安装包里已经集成了pgddl插件,如果使用安装包安装
2021=== 源码安装
2122从https://github.com/lacanoid/pgddl/releases/tag/0.20 下载pgddl-0.20.tar.gz,解压缩。
2223
23- ```
24- cd pgddl-0.20
24+ ----
25+ cd pgddl-{pgddl-version}
2526# 设置PG_CONFIG环境变量值为pg_config路径,eg:/usr/local/ivorysql/ivorysql-1/bin/pg_config
2627make PG_CONFIG=/path/to/pg_config
2728make PG_CONFIG=/path/to/pg_config install
28- ```
29+ ----
2930
3031== 创建Extension并确认ddlx版本
3132
3233psql 连接到数据库,执行如下命令:
33- ```
34+ ----
3435ivorysql=# CREATE extension ddlx;
3536CREATE EXTENSION
3637
@@ -39,7 +40,7 @@ ivorysql=# SELECT * FROM pg_available_extensions WHERE name = 'ddlx';
3940------+-----------------+-------------------+-------------------------
4041 ddlx | 0.20 | 0.20 | DDL eXtractor functions
4142(1 row)
42- ```
43+ ----
4344
4445== 使用
4546关于pgddl的使用,请参阅 https://github.com/lacanoid/pgddl[ddlx官方文档]
You can’t perform that action at this time.
0 commit comments