Re: Event Triggers and GRANT/REVOKE

2019-10-10 Thread Adrian Klaver
On 10/9/19 3:20 PM, Miles Elam wrote: Using my example below from another thread, GRANTs and REVOKEs leave all fields NULL except for command_tag (set to 'GRANT' or 'REVOKE'), object_type (set to upper case target like 'TABLE'), and in_extension (set to whatever is appropriate, but typically fa

Re: Event Triggers and GRANT/REVOKE

2019-10-09 Thread Miles Elam
Using my example below from another thread, GRANTs and REVOKEs leave all fields NULL except for command_tag (set to 'GRANT' or 'REVOKE'), object_type (set to upper case target like 'TABLE'), and in_extension (set to whatever is appropriate, but typically false). - CREATE TABLE IF NOT EXISTS d

Re: Event Triggers and GRANT/REVOKE

2019-10-09 Thread Adrian Klaver
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 mo

Event Triggers and GRANT/REVOKE

2019-10-09 Thread Miles Elam
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? Also, why do grants and revokes h