How do I get altered object from GRANT event trigger? - Mailing list pgsql-hackers

From Jeremy Finzel
Subject How do I get altered object from GRANT event trigger?
Date
Msg-id CAMa1XUge+dUfKE5VDPL_yKXtCBYUBCV0Z-wuWqtCfBChg-D=Pw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Alter table documentation page (again)
Next
From: Tom Lane
Date:
Subject: Deleting no-op CoerceToDomains from plan trees