Rod Taylor <pg(at)rbt(dot)ca> writes:
> Yes, the internal calls from one command to another make this tricky --
> but the return Tag is set very early for the statement. Could the Before
> trigger for system commands (CREATE, ALTER, etc.) not be kicked of in
> the same area as the tag is set?
At that point there wouldn't be a "new row" available to pass to the
trigger. I'm unsure what such a trigger could usefully do.
regards, tom lane