summaryrefslogtreecommitdiff
path: root/src/include/funcapi.h
diff options
context:
space:
mode:
authorPeter Eisentraut2020-10-05 07:09:09 +0000
committerPeter Eisentraut2020-10-05 07:21:43 +0000
commit2453ea142233ae57af452019c3b9a443dad1cdd0 (patch)
treec38325aa838a785924c9add942c17021e3e8098b /src/include/funcapi.h
parente899742081fa24bf52d4a32103ef854a3a85865d (diff)
Support for OUT parameters in procedures
Unlike for functions, OUT parameters for procedures are part of the signature. Therefore, they have to be listed in pg_proc.proargtypes as well as mentioned in ALTER PROCEDURE and DROP PROCEDURE. Reviewed-by: Andrew Dunstan <[email protected]> Reviewed-by: Pavel Stehule <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected]
Diffstat (limited to 'src/include/funcapi.h')
-rw-r--r--src/include/funcapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/funcapi.h b/src/include/funcapi.h
index b047acdc1a8..2f46442087e 100644
--- a/src/include/funcapi.h
+++ b/src/include/funcapi.h
@@ -172,7 +172,8 @@ extern int get_func_arg_info(HeapTuple procTup,
Oid **p_argtypes, char ***p_argnames,
char **p_argmodes);
-extern int get_func_input_arg_names(Datum proargnames, Datum proargmodes,
+extern int get_func_input_arg_names(char prokind,
+ Datum proargnames, Datum proargmodes,
char ***arg_names);
extern int get_func_trftypes(HeapTuple procTup, Oid **p_trftypes);