Security Labels, Privileges and Variables macros for the functions modules.
Usage of the macros:
Security labels:
SECLABLE.SET(conn, 'FUNCTION', func_name, provider, security_label, func_schema, func_args)
SECLABLE.UNSET(conn, 'FUNCTION', func_name, provider, func_schema, func_args)
Privileges:
PRIVILEGE.SET(conn, 'FUNCTION', grantee, func_name, privileges_without_grant, privileges_with_grant, func_schema,
func_args)
PRIVILEGE.UNSETALL(conn, 'FUNCTION', grantee, func_name, func_schema, func_args)
Variables:
VARIABLES.SET(conn, 'FUNCTION', func_name, options, func_schema, func_args)
VARIABLES.UNSET(conn, 'FUNCTION', func_name, options, func_schema, func_args)
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=3ff06da772b27274dc28702a09abe7eece37a38d
Author: Khushboo Vashi <khushboo.vashi@enterprisedb.com>
Modified Files
--------------
.../schemas/templates/macros/functions/privilege.macros | 14 ++++++++++++++
.../schemas/templates/macros/functions/security.macros | 9 +++++++++
.../schemas/templates/macros/functions/variable.macros | 13 +++++++++++++
3 files changed, 36 insertions(+)