Skip to content

Commit ac66cac

Browse files
committed
Use asciidoc syntax and try attribute
1 parent 441b0df commit ac66cac

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

CN/modules/ROOT/pages/v1.17/35.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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
2627
make PG_CONFIG=/path/to/pg_config
2728
make PG_CONFIG=/path/to/pg_config install
28-
```
29+
----
2930

3031
== 创建Extension并确认ddlx版本
3132

3233
psql 连接到数据库,执行如下命令:
33-
```
34+
----
3435
ivorysql=# CREATE extension ddlx;
3536
CREATE 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官方文档]

0 commit comments

Comments
 (0)