Skip to content

Commit 268d95d

Browse files
committed
docs(v4.4): update Oracle compatibility section and fix typos
- Remove detailed configuration parameters from Oracle compatibility section - Add reference link to GUC Variables page - Fix typo in shared_preload_libraries description - Update both Chinese and English documents
1 parent 8b4052f commit 268d95d

File tree

3 files changed

+5
-27
lines changed

3 files changed

+5
-27
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
| nls_length_semantics | 兼容Oracle的同名参数,控制一个字符所占内存的大小
3434
| nls_timestamp_format | 兼容Oracle的同名参数,控制带时间的日期格式
3535
| nls_timestamp_tz_format | 兼容Oracle的同名参数,控制带时区的日期格式
36-
| shared_preload_libraries | 在初始话数据库时,从ivorysql.conf文件中读取,可以通过show命令查看,在配置文件中修改该值,重启数据库生效。
36+
| shared_preload_libraries | 在初始化数据库时,从ivorysql.conf文件中读取,可以通过show命令查看,在配置文件中修改该值,重启数据库生效。
3737
|====
3838

3939
=== 部分变量使用示例

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

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1959,25 +1959,9 @@ SELECT concat_lower_or_upper('Hello', 'World', uppercase => true);
19591959
19601960
== Oracle兼容功能
19611961
1962-
=== 配置参数
1962+
**详见:**
19631963
1964-
参数设置采用与原生 PostgreSQL 相同的方法。 所有参数名称都不区分大小写。每个参数都采用以下五种类型之一的值:布尔值、字符串、整数、浮点数或枚举 (enum)。
1965-
1966-
==== `ivorysql.compatible_mode (enum)`
1967-
1968-
此参数控制数据库服务器的行为。 如果它设置为`pg`,表示它是原生安装,服务器将作为原生 PG 安装。 如果它设置为“oracle”,那么查询的输出和系统行为整体会发生变化,因为它会更像 Oracle。
1969-
1970-
当设置为 `oracle` 时,此参数会隐式地将同样名字的Schema添加到 `search_path`。 以便可以定位 Oracle 兼容对象。
1971-
1972-
该参数可以通过 `postgresql.conf` 配置文件设置,对整个数据库生效。 或者可以通过客户端使用 `set` 命令在会话上进行设置。
1973-
1974-
==== `nls_length_semantics (enum)`
1975-
1976-
此参数控制如何根据长度语义创建 `CHAR` 和 `VARCHAR2` 列。 默认设置为 `NONE`,这不会产生任何影响。 `BYTE` 可以设置为以字节长度语义存储数据。 `CHAR` 使用字符长度语义。
1977-
1978-
**标识:**
1979-
1980-
- https://www.ivorysql.org/zh-CN/docs/tags/compatibility-parameters[Compatibility Parameters]
1964+
- [GUC变量](https://docs.ivorysql.org/cn/ivorysql-doc/v4.4/v4.4/15)
19811965
19821966
=== 更改表
19831967

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2078,15 +2078,9 @@ Named and mixed call notations currently cannot be used when calling an aggregat
20782078
20792079
== Oracle Compatible Features
20802080
2081-
=== Configuration parameters
2081+
**Refer to:**
20822082
2083-
Parameters are set in the same way as in native IvorySQL. All parameter names are case-insensitive. Each parameter takes a value of one of the following five types: boolean, string, integer, floating point, or enum.
2084-
2085-
==== `ivorysql.compatible_mode (enum)`
2086-
2087-
This parameter controls the behavior of the database server. If it is set to `pg`, which means it is a native installation and the server will be installed as a native PG. If it is set to `oracle`, then the query output and overall system behavior will change, as it will be more Oracle-like.
2088-
2089-
When set to `oracle`, this parameter will implicitly add a Schema with the same name to `search_path`. so that Oracle-compatible objects can be located.
2083+
- [GUC Variables](https://docs.ivorysql.org/en/ivorysql-doc/v4.4/v4.4/15)
20902084
20912085
=== Changing tables
20922086

0 commit comments

Comments
 (0)