From a590e0b47f41ec2a97ec1bc2ec1444f0c5fe14e9 Mon Sep 17 00:00:00 2001 From: ganyang Date: Mon, 23 May 2022 11:00:17 +0800 Subject: [PATCH] add alter procedure helper note --- doc/src/sgml/ref/allfiles.sgmlin | 1 + doc/src/sgml/ref/alter_procedure.sgml | 37 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 doc/src/sgml/ref/alter_procedure.sgml diff --git a/doc/src/sgml/ref/allfiles.sgmlin b/doc/src/sgml/ref/allfiles.sgmlin index e0ee99a52..cfb1d9494 100644 --- a/doc/src/sgml/ref/allfiles.sgmlin +++ b/doc/src/sgml/ref/allfiles.sgmlin @@ -26,6 +26,7 @@ Complete list of usable sgml source files in this directory. + diff --git a/doc/src/sgml/ref/alter_procedure.sgml b/doc/src/sgml/ref/alter_procedure.sgml new file mode 100644 index 000000000..a404bfa13 --- /dev/null +++ b/doc/src/sgml/ref/alter_procedure.sgml @@ -0,0 +1,37 @@ + + + ALTER PROCEDURE + + + + ALTER PROCEDURE + 7 + SQL - Language Statements + + + + ALTER PROCEDURE + change the definition of a procedure + + + + +ALTER PROCEDURE name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] + action [ ... ] [ RESTRICT ] +ALTER PROCEDURE name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] + RENAME TO new_name +ALTER PROCEDURE name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] + OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER } +ALTER PROCEDURE name [ ( [ [ argmode ] [ argname ] argtype [, ...] ] ) ] + SET SCHEMA new_schema + +where action is one of: + + [ EXTERNAL ] SECURITY INVOKER | [ EXTERNAL ] SECURITY DEFINER + SET configuration_parameter { TO | = } { value | DEFAULT } + SET configuration_parameter FROM CURRENT + RESET configuration_parameter + RESET ALL + + + \ No newline at end of file