Re: Triggers on system tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Triggers on system tables
Дата
Msg-id 26704.1076559423@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Triggers on system tables  (Rod Taylor <pg@rbt.ca>)
Список pgsql-hackers
Rod Taylor <pg@rbt.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Triggers on system tables
Следующее
От: Gavin Sherry
Дата:
Сообщение: Re: Triggers on system tables