Skip to content

Commit 7fd65b3

Browse files
authored
Merge pull request #102 from jiaoshuntian/v4.4
update v4.4 docs
2 parents 8026747 + a0586ff commit 7fd65b3

File tree

10 files changed

+4
-18
lines changed

10 files changed

+4
-18
lines changed

CN/modules/ROOT/pages/v4.4/10.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ DBI,Database Independent Interface,是 Perl 语言连接数据库的接口
9393
设置环境变量; 加载环境变量;因为必须定义ORACLE_HOME环境变量;本例在ivorysql用户下配置环境变量
9494

9595
```
96-
export LD_LIBRARY_PATH=/opt/oracle/product/19c/dbhome_1/lib:$LD_LIBRARY_PATH
9796
export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1
9897
# tar -zxvf DBD-Oracle-1.76.tar.gz # source /home/postgres/.bashrc
9998
# cd DBD-Oracle-1.76

CN/modules/ROOT/pages/v4.4/14.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ image::p18.png[]
1313

1414
=== 双端口设计
1515

16-
- 保持了Ivorysql 5432端口兼容原有postgres情况,因此 Ivorysql采用另一个独立的端口登录,默认为1521。从该端口登录,默认采用Oracle兼容模式。如果需要从5432端口登录且还要进入兼容模式,则需要通过Ivorysql.compatible_mode参数进行设置
16+
- 保持了Ivorysql 5432端口兼容原有postgres情况,因此 Ivorysql采用另一个独立的端口登录,默认为1521。从该端口登录,默认采用Oracle兼容模式。如果需要从5432端口登录且还要进入兼容模式,则需要通过``SET ivorysql.compatible_mode=oracle``进行设置
1717

1818
=== parser模块设计
1919

2020
- 为了将Oracle语法与PostgreSQL语法间的相互干扰降到最低,因此新增parser模块,用于处理Oracle相关的语法。
2121

2222
=== 新增PL/iSQL过程语言
2323

24-
- 同样为了减少Oracle兼容与PostgreSQL语法不同而导致测试用例冲突的情况,因此单独设计了一套Oracle专用的测试用例。该套测试用例由PostgreSQL原有测试框架拷贝修改而来
24+
- 新增PL/iSQL过程语言兼容Oracle的PL/SQL过程语言

CN/modules/ROOT/pages/v4.4/3.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ $ sudo chown -R ivorysql:ivorysql /opt/IvorySQL-4.4
7272
```
7373
PATH=/opt/IvorySQL-4.4/bin:$PATH
7474
export PATH
75-
LD_LIBRARY_PATH=/opt/IvorySQL-4.4/lib
76-
export LD_LIBRARY_PATH
7775
PGDATA=/opt/IvorySQL-4.4/data
7876
export PGDATA
7977
```

CN/modules/ROOT/pages/v4.4/6.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ $ sudo chown -R ivorysql:ivorysql /opt/IvorySQL-4.4/
188188
```
189189
PATH=/opt/IvorySQL-4.4/bin:$PATH
190190
export PATH
191-
LD_LIBRARY_PATH=/opt/IvorySQL-4.4/lib
192-
export LD_LIBRARY_PATH
193191
PGDATA=/opt/IvorySQL-4.4/data
194192
export PGDATA
195193
```

CN/modules/ROOT/pages/v4.4/7.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ $ sudo pg_basebackup -F p -P -X fetch -R -h <primary_ip> -p <primary_port> -U iv
8787
```
8888
PATH=/usr/local/ivorysql/ivorysql-4/bin:$PATH
8989
export PATH
90-
LD_LIBRARY_PATH=/usr/local/ivorysql/ivorysql-4/lib
91-
export LD_LIBRARY_PATH
9290
PGDATA=/usr/local/ivorysql/ivorysql-4/data
9391
export PGDATA
9492
```

EN/modules/ROOT/pages/v4.4/10.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ Download address:https://sourceforge.net/projects/ora2pg/
9393
Set environment variables; Load environment variables; Because ORACLE must be defined_ HOME environment variable; This example configures environment variables under the ivorysql user
9494

9595
```
96-
export LD_LIBRARY_PATH=/usr/lib/oracle/18.3/client64/lib:$LD_LIBRARY_PATH
9796
export ORACLE_HOME=/usr/lib/oracle/18.3/client64
9897
# tar -zxvf DBD-Oracle-1.76.tar.gz # source /home/postgres/.bashrc
9998
# cd DBD-Oracle-1.76

EN/modules/ROOT/pages/v4.4/14.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ image::p18.png[]
1414

1515
=== Dual-port design
1616

17-
- The Ivorysql port 5432 is kept compatible with the original PostgreSQL situation, so Ivorysql uses another separate port to log in, which defaults to 1521. Log in from this port, and the Oracle compatibility mode is used by default. If you need to log in from port 5432 and also enter compatibility mode, you need to set it through the ivorysql.compatible_mode parameters.
17+
- The Ivorysql port 5432 is kept compatible with the original PostgreSQL situation, so Ivorysql uses another separate port to log in, which defaults to 1521. Log in from this port, and the Oracle compatibility mode is used by default. If you need to log in from port 5432 and also enter compatibility mode, you must configure it using ``SET ivorysql.compatible_mode=oracle``.
1818

1919
=== Parser module design
2020

2121
- In order to minimize the interference between Oracle syntax and PostgreSQL syntax, a parser module has been added to handle oracle-related syntax.
2222

2323
=== Added PL/iSQL procedural language
2424

25-
- Similarly, in order to reduce the conflict between Oracle compatibility and PostgreSQL syntax, a separate set of Oracle-specific test cases is designed,This set of test cases is a copy of PostgreSQL' original test framework.
25+
- Added PL/iSQL procedural language compatible with Oracle's PL/SQL procedural language.

EN/modules/ROOT/pages/v4.4/3.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ Add below contents in ~/.bash_profile file and source to make it effective:
6363
```
6464
PATH=/opt/IvorySQL-4.4/bin:$PATH
6565
export PATH
66-
LD_LIBRARY_PATH=/opt/IvorySQL-4.4/lib
67-
export LD_LIBRARY_PATH
6866
PGDATA=/opt/IvorySQL-4.4/data
6967
export PGDATA
7068
```

EN/modules/ROOT/pages/v4.4/6.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ Add below contents in ~/.bash_profile file and source to make it effective:
187187
```
188188
PATH=/opt/IvorySQL-4.4/bin:$PATH
189189
export PATH
190-
LD_LIBRARY_PATH=/opt/IvorySQL-4.4/lib
191-
export LD_LIBRARY_PATH
192190
PGDATA=/opt/IvorySQL-4.4/data
193191
export PGDATA
194192
```

EN/modules/ROOT/pages/v4.4/7.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ Add below contents in ~/.bash_profile file:
8686
```
8787
PATH=/usr/local/ivorysql/ivorysql-4/bin:$PATH
8888
export PATH
89-
LD_LIBRARY_PATH=/usr/local/ivorysql/ivorysql-4/lib
90-
export LD_LIBRARY_PATH
9189
PGDATA=/usr/local/ivorysql/ivorysql-4/data
9290
export PGDATA
9391
```

0 commit comments

Comments
 (0)