From: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | [pgAdmin4][Patch]: Macros for the functions module |
Date: | 2016-03-03 07:31:44 |
Message-ID: | CAFOhELcBODUtS7xL8enjp2iyOMKNyrEXK3ira7-6wCwsQZSKAw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
Please find attached patch for the 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)
Thanks,
Khushboo
Attachment | Content-Type | Size |
---|---|---|
functions_macros.patch | text/x-patch | 3.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Surinder Kumar | 2016-03-03 12:49:40 | [pgAdmin4] [Patch]: Grant Wizard |
Previous Message | Khushboo Vashi | 2016-03-03 06:44:09 | [pgAdmin4][Patch]: Backgrid cell editable settings |