On 2015-02-19 17:14:57 -0300, Alvaro Herrera wrote:
> The ddl_command_start event occurs just before the execution of
> a CREATE, ALTER, DROP, SECURITY LABEL, COMMENT, GRANT or REVOKE
> command. No check whether the affected object exists or doesn't
> exist is performed before the event trigger fires. As an
> exception, however, this event does not occur for DDL commands
> targeting shared objects — databases, roles, and tablespaces —
> or for commands targeting event triggers themselves.
>
> So adding more text to the same effect would be repetitive. I added a
> sixth column "Notes" to the table of supported command tags vs. events,
> with the text "Only for local objects" next to the four commands being
> added here.
I think that's sufficient for now. We might want to expand the handling
of 'global objects' topic sometime in the future, but for now I think
what you have is clear enough.
> I think it's fair to push this patch as is.
+1
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services