From 0a4a27363bcf8d528691a13226ddd744fb571ef2 Mon Sep 17 00:00:00 2001 From: liyang0608 <264327807@qq.com> Date: Mon, 10 Aug 2020 11:02:55 +0800 Subject: [PATCH] sync DTS --- content/en/docs/Developerguide/alter-function.md | 2 +- content/en/docs/Developerguide/analyze-analyse.md | 3 ++- content/en/docs/Developerguide/create-function.md | 4 ++-- content/zh/docs/Developerguide/ALTER-FUNCTION.md | 2 +- content/zh/docs/Developerguide/ANALYZE-ANALYSE.md | 3 ++- content/zh/docs/Developerguide/CREATE-FUNCTION.md | 4 ++-- content/zh/docs/Toolreference/gs_om.md | 5 +++-- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/content/en/docs/Developerguide/alter-function.md b/content/en/docs/Developerguide/alter-function.md index b1b841270..b0304493c 100644 --- a/content/en/docs/Developerguide/alter-function.md +++ b/content/en/docs/Developerguide/alter-function.md @@ -67,7 +67,7 @@ Only the owner of the function or a system administrator has the permission to r Specifies whether a parameter is an input or output parameter. - Value range: **IN**, **OUT**, and **IN OUT** + Value range: **IN**, **OUT**, **IN OUT** and **VARIDIC** - **argname** diff --git a/content/en/docs/Developerguide/analyze-analyse.md b/content/en/docs/Developerguide/analyze-analyse.md index ba739827f..88d766798 100644 --- a/content/en/docs/Developerguide/analyze-analyse.md +++ b/content/en/docs/Developerguide/analyze-analyse.md @@ -167,7 +167,8 @@ ENABLE ROW MOVEMENT; -- Run **ANALYZE** to update statistics. ``` -postgres=# ANALYZE customer; +postgres=# ANALYZE customer_info; +postgres=# ANALYZE customer_par; ``` -- Run **ANALYZE VERBOSE** statement to update statistics and display table information. diff --git a/content/en/docs/Developerguide/create-function.md b/content/en/docs/Developerguide/create-function.md index e126628e2..4b9a4599b 100644 --- a/content/en/docs/Developerguide/create-function.md +++ b/content/en/docs/Developerguide/create-function.md @@ -79,13 +79,13 @@ Specifies the name of the function to create \(optionally schema-qualified\). - Value range: a string. It must comply with the naming convention. + Value range: a string. It must comply with the naming convention and up to 63 character strings. If there are more than 63 strings, the database will truncate the strings and reserve the first 63 strings as function_name. - **argname** Specifies the parameter name of the function. - Value range: a string. It must comply with the naming convention. + Value range: a string. It must comply with the naming convention and up to 63 character strings. If there are more than 63 strings, the database will truncate the strings and reserve the first 63 strings as function parameter names. - **argmode** diff --git a/content/zh/docs/Developerguide/ALTER-FUNCTION.md b/content/zh/docs/Developerguide/ALTER-FUNCTION.md index ea41a2c6b..a1a0b986a 100644 --- a/content/zh/docs/Developerguide/ALTER-FUNCTION.md +++ b/content/zh/docs/Developerguide/ALTER-FUNCTION.md @@ -67,7 +67,7 @@ 标识该参数是输入、输出参数。 - 取值范围:IN/OUT/INOUT + 取值范围:IN/OUT/INOUT/VARIADIC - **argname** diff --git a/content/zh/docs/Developerguide/ANALYZE-ANALYSE.md b/content/zh/docs/Developerguide/ANALYZE-ANALYSE.md index 4de78f91a..cd275e5bb 100644 --- a/content/zh/docs/Developerguide/ANALYZE-ANALYSE.md +++ b/content/zh/docs/Developerguide/ANALYZE-ANALYSE.md @@ -167,7 +167,8 @@ ENABLE ROW MOVEMENT; --- 使用ANALYZE语句更新统计信息。 ``` -postgres=# ANALYZE customer; +postgres=# ANALYZE customer_info; +postgres=# ANALYZE customer_par; ``` --- 使用ANALYZE VERBOSE语句更新统计信息,并输出表的相关信息。 diff --git a/content/zh/docs/Developerguide/CREATE-FUNCTION.md b/content/zh/docs/Developerguide/CREATE-FUNCTION.md index 0031bc416..abbbf6d82 100644 --- a/content/zh/docs/Developerguide/CREATE-FUNCTION.md +++ b/content/zh/docs/Developerguide/CREATE-FUNCTION.md @@ -79,13 +79,13 @@ 要创建的函数名称(可以用模式修饰)。 - 取值范围:字符串,要符合标识符的命名规范。 + 取值范围:字符串,要符合标识符的命名规范。且最多为63个字符串。若超过63个字符串,数据库会截断字符串并保留前63个字符串作为函数名称。 - **argname** 函数参数的名称。 - 取值范围:字符串,要符合标识符的命名规范。 + 取值范围:字符串,要符合标识符的命名规范。且最多为63个字符串。若超过63个字符串,数据库会截断字符串并保留前63个字符串作为函数参数名称。 - **argmode** diff --git a/content/zh/docs/Toolreference/gs_om.md b/content/zh/docs/Toolreference/gs_om.md index ebbebd374..32d7ded67 100644 --- a/content/zh/docs/Toolreference/gs_om.md +++ b/content/zh/docs/Toolreference/gs_om.md @@ -131,9 +131,9 @@ gs\_om参数可以分为如下几类: - --security-mode - 指定是否以安全模式启动数据库 + 指定是否以安全模式启动数据库。 - 取值范围:on 已安全模式启动, off 不已安全模式启动 + 取值范围:on表示以安全模式启动, off表示不以安全模式启动。 默认不开启安全模式 @@ -156,6 +156,7 @@ gs\_om参数可以分为如下几类: - fast方式:保证有主备关系的实例数据是一致的。 - immediate方式:不保证有主备关系的实例数据是一致的。 + ​ 默认值:fast方式 - --time-out=SECS -- Gitee