How do I get altered object from GRANT event trigger?
How do I get altered object from GRANT event trigger?
От:
Jeremy Finzel <finzelj@gmail.com>
Дата:
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