mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
sepgsql: Enforce db_procedure:{execute} permission.
To do this, we add an additional object access hook type, OAT_FUNCTION_EXECUTE. KaiGai Kohei
This commit is contained in:
@ -362,6 +362,7 @@ HandleFunctionRequest(StringInfo msgBuf)
|
||||
if (aclresult != ACLCHECK_OK)
|
||||
aclcheck_error(aclresult, ACL_KIND_PROC,
|
||||
get_func_name(fid));
|
||||
InvokeFunctionExecuteHook(fid);
|
||||
|
||||
/*
|
||||
* Prepare function call info block and insert arguments.
|
||||
|
Reference in New Issue
Block a user