diff --git a/product/en/docs-mogdb/v2.0/installation-guide/manual-installation.md b/product/en/docs-mogdb/v2.0/installation-guide/manual-installation.md index 5619c3d649acd8acac9a5459dc61127a039d320b..457894c43adb982db59cdfdb46fb1f9309f6da2c 100644 --- a/product/en/docs-mogdb/v2.0/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v2.0/installation-guide/manual-installation.md @@ -63,7 +63,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v2.1/installation-guide/manual-installation.md b/product/en/docs-mogdb/v2.1/installation-guide/manual-installation.md index 240ff550e21641e3df9a9cdccaf3deb5f872aaa2..f8ad26a21bfbb02f9557052207d7744aacd8f159 100644 --- a/product/en/docs-mogdb/v2.1/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v2.1/installation-guide/manual-installation.md @@ -63,7 +63,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v3.0/installation-guide/manual-installation.md b/product/en/docs-mogdb/v3.0/installation-guide/manual-installation.md index e7384655c3ebcdc051434283ca1e0d7379cecfac..5f1c76da1ecad2f9566ac4a8494d4a80216f9baa 100644 --- a/product/en/docs-mogdb/v3.0/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v3.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v3.1/installation-guide/manual-installation.md b/product/en/docs-mogdb/v3.1/installation-guide/manual-installation.md index 2917887f839729bd7fa994dff6a4411c0e115f71..e3a46b81a15221c56b6698224be53706d1e42e28 100644 --- a/product/en/docs-mogdb/v3.1/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v3.1/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v5.0/installation-guide/manual-installation.md b/product/en/docs-mogdb/v5.0/installation-guide/manual-installation.md index d43c87b12df4d617eb1f7781ddb34ef159bfee4c..a644070a20e28ae04d1b57a0e39646da1c7b3f19 100644 --- a/product/en/docs-mogdb/v5.0/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v5.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v5.2/installation-guide/manual-installation.md b/product/en/docs-mogdb/v5.2/installation-guide/manual-installation.md index d43c87b12df4d617eb1f7781ddb34ef159bfee4c..a644070a20e28ae04d1b57a0e39646da1c7b3f19 100644 --- a/product/en/docs-mogdb/v5.2/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v5.2/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/en/docs-mogdb/v6.0/installation-guide/manual-installation.md b/product/en/docs-mogdb/v6.0/installation-guide/manual-installation.md index d43c87b12df4d617eb1f7781ddb34ef159bfee4c..a644070a20e28ae04d1b57a0e39646da1c7b3f19 100644 --- a/product/en/docs-mogdb/v6.0/installation-guide/manual-installation.md +++ b/product/en/docs-mogdb/v6.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ source /home/omm/.bashrc b. Initialize the database. ```bash -gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 +gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` c. Modify initialized parameters. diff --git a/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/13-load-management.md b/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/13-load-management.md index 1c2c95516e6d0dd0ed39af4cb75bf97d79e9c14f..3b864b990a5e6e332f70097620d91004af1ee79b 100644 --- a/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/13-load-management.md +++ b/product/zh/docs-mogdb/v1.1/reference-guide/guc-parameters/13-load-management.md @@ -205,7 +205,7 @@ date: 2021-04-20 **取值范围**: 整型,-1 ~ INT_MAX - 值为-1时,不进行资源监控。 -- 值大于或等于0时,值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 +- 值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 - 值大于或等于10时,对执行代价超过该参数值的语句进行资源监控。 **默认值**: 100000 diff --git a/product/zh/docs-mogdb/v2.0/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v2.0/installation-guide/manual-installation.md index 09426650e329eacced363bd71f07469092bdde19..1dc33cff06c83e8c0f7899463f06623bc728e3b5 100644 --- a/product/zh/docs-mogdb/v2.0/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v2.0/installation-guide/manual-installation.md @@ -63,7 +63,7 @@ date: 2021-10-14 2. init数据库 ```shell - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/13-load-management.md b/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/13-load-management.md index 1c2c95516e6d0dd0ed39af4cb75bf97d79e9c14f..3b864b990a5e6e332f70097620d91004af1ee79b 100644 --- a/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/13-load-management.md +++ b/product/zh/docs-mogdb/v2.0/reference-guide/guc-parameters/13-load-management.md @@ -205,7 +205,7 @@ date: 2021-04-20 **取值范围**: 整型,-1 ~ INT_MAX - 值为-1时,不进行资源监控。 -- 值大于或等于0时,值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 +- 值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 - 值大于或等于10时,对执行代价超过该参数值的语句进行资源监控。 **默认值**: 100000 diff --git a/product/zh/docs-mogdb/v2.1/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v2.1/installation-guide/manual-installation.md index e2782966e2a6ef992bba9c429a5fcc52472f4a59..4bd8c4bf230f247b75a0bcf3800a6e336756da99 100644 --- a/product/zh/docs-mogdb/v2.1/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v2.1/installation-guide/manual-installation.md @@ -63,7 +63,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v2.1/reference-guide/guc-parameters/13-load-management.md b/product/zh/docs-mogdb/v2.1/reference-guide/guc-parameters/13-load-management.md index 5e3e874bf94b48b714d9203a61159a6c73594d1c..7022fb57e29106f393bedaf9c71020a2c7b8ae48 100644 --- a/product/zh/docs-mogdb/v2.1/reference-guide/guc-parameters/13-load-management.md +++ b/product/zh/docs-mogdb/v2.1/reference-guide/guc-parameters/13-load-management.md @@ -206,7 +206,7 @@ date: 2021-04-20 **取值范围**: 整型,-1~INT_MAX - 值为-1时,不进行资源监控。 -- 值大于或等于0时,值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 +- 值大于或等于0且小于等于9时,对执行代价大于等于10的语句进行资源监控。 - 值大于或等于10时,对执行代价超过该参数值的语句进行资源监控。 **默认值**: 100000 diff --git a/product/zh/docs-mogdb/v3.0/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v3.0/installation-guide/manual-installation.md index 19e54a2086a35c3a826e711aa9d49603d51ccb2d..5521f16da3073e4272340da853174712225b84c4 100644 --- a/product/zh/docs-mogdb/v3.0/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v3.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v3.1/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v3.1/installation-guide/manual-installation.md index 7df1cb30a9248108b9866107f24ae0281ae50ef7..339a11e5b1f97f0557bc3ea20d2cdbdad32bbd54 100644 --- a/product/zh/docs-mogdb/v3.1/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v3.1/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v5.0/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v5.0/installation-guide/manual-installation.md index f696366c87f9af6f31243ce3d269a9c00a947657..3ed09265795c26d59035174d744f1e640975ab49 100644 --- a/product/zh/docs-mogdb/v5.0/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v5.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md index cca883387966cd9cbda7841b6c46374adf42e441..8a66b921a23f3efc8aee90bcbc250545d7be03e4 100644 --- a/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md +++ b/product/zh/docs-mogdb/v5.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md @@ -340,7 +340,23 @@ date: 2021-04-20 - proc_outparam_override - 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。 + 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。设置此选项后,包含了out参数的函数或者存储过程,必须显式调用out参数。打开参数后,不支持使用perform调用存储过程或函数。 + + 函数或者存储过程是否包含out参数,可以通过`\df 函数名`查看,例如: + + ```sql + MogDB=# \df DBE_PERF.get_global_bgwriter_stat + List of functions + -[ RECORD 1 ]-------+---------------------------------------------------------------------- + Schema | dbe_perf + Name | get_global_bgwriter_stat + Result data type | SETOF record + Argument data types | OUT node_name name, OUT checkpoints_timed bigint, OUT checkpoints_req bigint, OUT checkpoint_write_time double precision, OUT checkpoint_sync_time double precision, OUT buffers_checkpoint bigint, OUT buffers_clean bigint, OUT maxwritten_clean bigint, OUT buffers_backend bigint, OUT buffers_backend_fsync bigint, OUT buffers_alloc bigint, OUT stats_reset timestamp with time zone + Type | normal + fencedmode | f + propackage | f + prokind | f + ``` - proc_implicit_for_loop_variable diff --git a/product/zh/docs-mogdb/v5.2/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v5.2/installation-guide/manual-installation.md index f696366c87f9af6f31243ce3d269a9c00a947657..3ed09265795c26d59035174d744f1e640975ab49 100644 --- a/product/zh/docs-mogdb/v5.2/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v5.2/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v5.2/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md b/product/zh/docs-mogdb/v5.2/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md index cca883387966cd9cbda7841b6c46374adf42e441..8a66b921a23f3efc8aee90bcbc250545d7be03e4 100644 --- a/product/zh/docs-mogdb/v5.2/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md +++ b/product/zh/docs-mogdb/v5.2/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md @@ -340,7 +340,23 @@ date: 2021-04-20 - proc_outparam_override - 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。 + 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。设置此选项后,包含了out参数的函数或者存储过程,必须显式调用out参数。打开参数后,不支持使用perform调用存储过程或函数。 + + 函数或者存储过程是否包含out参数,可以通过`\df 函数名`查看,例如: + + ```sql + MogDB=# \df DBE_PERF.get_global_bgwriter_stat + List of functions + -[ RECORD 1 ]-------+---------------------------------------------------------------------- + Schema | dbe_perf + Name | get_global_bgwriter_stat + Result data type | SETOF record + Argument data types | OUT node_name name, OUT checkpoints_timed bigint, OUT checkpoints_req bigint, OUT checkpoint_write_time double precision, OUT checkpoint_sync_time double precision, OUT buffers_checkpoint bigint, OUT buffers_clean bigint, OUT maxwritten_clean bigint, OUT buffers_backend bigint, OUT buffers_backend_fsync bigint, OUT buffers_alloc bigint, OUT stats_reset timestamp with time zone + Type | normal + fencedmode | f + propackage | f + prokind | f + ``` - proc_implicit_for_loop_variable diff --git a/product/zh/docs-mogdb/v6.0/installation-guide/manual-installation.md b/product/zh/docs-mogdb/v6.0/installation-guide/manual-installation.md index 68b8df968c71b3fc5645662b0112e0e05a725ad8..48eda2033a1720bed020e560aeb11d74d6b1956d 100644 --- a/product/zh/docs-mogdb/v6.0/installation-guide/manual-installation.md +++ b/product/zh/docs-mogdb/v6.0/installation-guide/manual-installation.md @@ -71,7 +71,7 @@ date: 2021-10-14 2. init数据库 ```bash - gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --locale=en_US.UTF-8 + gs_initdb --pgdata=/opt/mogdb/data --nodename=primary --pwpasswd=Enmo@123 --encoding=UTF-8 --no-locale ``` 3. 修改初始化参数 diff --git a/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md b/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md index 06d6000f2582bf8be7237d069f8213204026c026..1a4a86e497109f971e48664adce80f624d104656 100644 --- a/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md +++ b/product/zh/docs-mogdb/v6.0/reference-guide/guc-parameters/version-and-platform-compatibility/platform-and-client-compatibility.md @@ -336,7 +336,23 @@ date: 2021-04-20 - proc_outparam_override - 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。 + 控制存储过程出参的重载行为,打开该参数后,对于存储过程只有out出参部分不同的情况下,也可以正常调用。设置此选项后,包含了out参数的函数或者存储过程,必须显式调用out参数。打开参数后,不支持使用perform调用存储过程或函数。 + + 函数或者存储过程是否包含out参数,可以通过`\df 函数名`查看,例如: + + ```sql + MogDB=# \df DBE_PERF.get_global_bgwriter_stat + List of functions + -[ RECORD 1 ]-------+---------------------------------------------------------------------- + Schema | dbe_perf + Name | get_global_bgwriter_stat + Result data type | SETOF record + Argument data types | OUT node_name name, OUT checkpoints_timed bigint, OUT checkpoints_req bigint, OUT checkpoint_write_time double precision, OUT checkpoint_sync_time double precision, OUT buffers_checkpoint bigint, OUT buffers_clean bigint, OUT maxwritten_clean bigint, OUT buffers_backend bigint, OUT buffers_backend_fsync bigint, OUT buffers_alloc bigint, OUT stats_reset timestamp with time zone + Type | normal + fencedmode | f + propackage | f + prokind | f + ``` - proc_implicit_for_loop_variable