How do I get altered object from GRANT event trigger?

From: Jeremy Finzel <finzelj(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: How do I get altered object from GRANT event trigger?
Date: 2018-12-06 18:36:52
Message-ID: CAMa1XUge+dUfKE5VDPL_yKXtCBYUBCV0Z-wuWqtCfBChg-D=Pw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-12-06 18:48:44 Deleting no-op CoerceToDomains from plan trees
Previous Message Alvaro Herrera 2018-12-06 18:03:20 Re: Alter table documentation page (again)