How do I get altered object from GRANT event trigger?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How do I get altered object from GRANT event trigger?

Jeremy Finzel
I noticed that there is no information for GRANT in pg_event_trigger_ddl_commands().  I am trying to determine which table/schema is being altered.  Is there any way to do this either with built-in functionality, or extending the current code in event_trigger.c?  Is the reason for this limitation that GRANT does not perform the same kind of catalog changes that other commands do?

Thanks!
Jeremy