Обсуждение: How do I get altered object from GRANT event trigger?

Поиск
Список
Период
Сортировка

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