From 8adf56f77aa0cc8cf4af7a19f0d235fc56fbabc7 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 18 Feb 2002 23:11:58 +0000 Subject: Privileges on functions and procedural languages --- doc/src/sgml/ref/create_function.sgml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc/src/sgml/ref/create_function.sgml') diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index df643cd8e8b..9e919abba62 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -1,5 +1,5 @@ @@ -270,6 +270,17 @@ CREATE [ OR REPLACE ] FUNCTION name definition without breaking objects that refer to the function. + + To be able to define a function, the user must have the + USAGE privilege on the language. + + + + By default, only the owner (creator) of the function has the right + to execute it. Other users must be granted the + EXECUTE privilege on the function to be able to + use it. + @@ -369,7 +380,9 @@ Point * complex_to_point (Complex *z) , + , , + , PostgreSQL Programmer's Guide -- cgit v1.2.3