Re: Event Triggers and GRANT/REVOKE

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Miles Elam <miles(dot)elam(at)productops(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Event Triggers and GRANT/REVOKE
Date: 2019-10-09 21:27:31
Message-ID: 80a52d0f-497b-daf5-c1b4-40dc1fad70d0@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/9/19 1:56 PM, Miles Elam wrote:
> GRANT and REVOKE trigger on a ddl_command_end event trigger but don't
> provide any information beyond whether it was a table, schema, function,
> etc. that was affected. No object IDs or the like are included. How
> would you find out which table had its ACLs modified?

What is the code for trigger and function?

>
> Also, why do grants and revokes have an object_type of 'TABLE' instead
> of lower case names like 'table' for all other event types?
>
>
> Thanks,
>
> Miles Elam
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Miles Elam 2019-10-09 22:20:11 Re: Event Triggers and GRANT/REVOKE
Previous Message Adrian Klaver 2019-10-09 21:25:06 Re: plpgsql copy import csv double quotes