mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Privileges on functions and procedural languages
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.89 2001/10/25 05:49:27 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.90 2002/02/18 23:11:13 petere Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -658,6 +658,9 @@ ExecMakeFunctionResult(FunctionCachePtr fcache,
|
||||
bool hasSetArg;
|
||||
int i;
|
||||
|
||||
if (!fcache->permission_ok)
|
||||
elog(ERROR, "permission denied");
|
||||
|
||||
/*
|
||||
* arguments is a list of expressions to evaluate before passing to
|
||||
* the function manager. We skip the evaluation if it was already
|
||||
|
Reference in New Issue
Block a user