Re: [pgAdmin4][Patch]: Macros for the functions module

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Macros for the functions module
Date: 2016-03-03 14:08:41
Message-ID: CA+OCxozcwjjKO4oNwqAico=t+iHAdD6Cc4pQyFEnRaR2SAhVmQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks - applied.

On Thu, Mar 3, 2016 at 7:31 AM, Khushboo Vashi
<khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> 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
>
>
> --
> Sent via pgadmin-hackers mailing list (pgadmin-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-03-03 14:57:53 Re: PATCH: Schema/Catalog Node [pgAdmin4]
Previous Message Dave Page 2016-03-03 14:08:34 pgAdmin 4 commit: Security Labels, Privileges and Variables macros for