From 0807e5a640902c6bfeeff36264b90ca45c255d0c Mon Sep 17 00:00:00 2001 From: liyang0608 <2643278072qq.com> Date: Thu, 13 Aug 2020 12:07:22 +0800 Subject: [PATCH] fix bugs --- content/en/docs/Developerguide/call.md | 4 ---- content/en/docs/Developerguide/create-function.md | 2 +- content/zh/docs/Developerguide/CALL.md | 4 ---- content/zh/docs/Developerguide/CREATE-FUNCTION.md | 2 +- .../zh/docs/Developerguide/MOT\351\231\220\345\210\266.md" | 2 +- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/content/en/docs/Developerguide/call.md b/content/en/docs/Developerguide/call.md index f8cf03397..19c747a76 100644 --- a/content/en/docs/Developerguide/call.md +++ b/content/en/docs/Developerguide/call.md @@ -69,10 +69,6 @@ END; -- Transfer a constant as an output parameter. postgres=# CALL func_increment_sql(1,2,1); --- Call the function. -postgres=# call package_func_overload(1, 'test'); -postgres=# call package_func_overload(1, 1); - -- Delete the function. postgres=# DROP FUNCTION func_increment_sql; ``` diff --git a/content/en/docs/Developerguide/create-function.md b/content/en/docs/Developerguide/create-function.md index 4b9a4599b..7948525e3 100644 --- a/content/en/docs/Developerguide/create-function.md +++ b/content/en/docs/Developerguide/create-function.md @@ -249,7 +249,7 @@ postgres=# CREATE OR REPLACE FUNCTION func_increment_plsql(i integer) RETURNS in $$ LANGUAGE plpgsql; -- Return the RECORD type. -CREATE OR REPLACE FUNCTION compute(i int, out result_1 bigint, out result_2 bigint) +CREATE OR REPLACE FUNCTION func_increment_sql(i int, out result_1 bigint, out result_2 bigint) returns SETOF RECORD as $$ begin diff --git a/content/zh/docs/Developerguide/CALL.md b/content/zh/docs/Developerguide/CALL.md index f6f4bd568..463e8412d 100644 --- a/content/zh/docs/Developerguide/CALL.md +++ b/content/zh/docs/Developerguide/CALL.md @@ -69,10 +69,6 @@ END; --出参传入常量。 postgres=# CALL func_increment_sql(1,2,1); ---函数调用。 -postgres=# call package_func_overload(1, 'test'); -postgres=# call package_func_overload(1, 1); - --删除函数。 postgres=# DROP FUNCTION func_increment_sql; ``` diff --git a/content/zh/docs/Developerguide/CREATE-FUNCTION.md b/content/zh/docs/Developerguide/CREATE-FUNCTION.md index abbbf6d82..58646c820 100644 --- a/content/zh/docs/Developerguide/CREATE-FUNCTION.md +++ b/content/zh/docs/Developerguide/CREATE-FUNCTION.md @@ -249,7 +249,7 @@ postgres=# CREATE OR REPLACE FUNCTION func_increment_plsql(i integer) RETURNS in $$ LANGUAGE plpgsql; --返回RECORD类型 -CREATE OR REPLACE FUNCTION compute(i int, out result_1 bigint, out result_2 bigint) +CREATE OR REPLACE FUNCTION func_increment_sql(i int, out result_1 bigint, out result_2 bigint) returns SETOF RECORD as $$ begin diff --git "a/content/zh/docs/Developerguide/MOT\351\231\220\345\210\266.md" "b/content/zh/docs/Developerguide/MOT\351\231\220\345\210\266.md" index 97833c349..d4b60bb38 100644 --- "a/content/zh/docs/Developerguide/MOT\351\231\220\345\210\266.md" +++ "b/content/zh/docs/Developerguide/MOT\351\231\220\345\210\266.md" @@ -67,7 +67,7 @@ MOT不支持的索引DDL - 在小数和数值类型上创建索引 - 在列宽\>256的表上创建索引 - 在总列数\>256的表上创建索引 -- 创建索引综述\>9 +- 创建索引总数>9 MOT不支持的DML -- Gitee