Re: Command Triggers, patch v11

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Command Triggers, patch v11
Дата
Msg-id m2obsd3g8c.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Command Triggers, patch v11  (Thom Brown <thom@linux.com>)
Ответы Re: Command Triggers, patch v11
Список pgsql-hackers
Thom Brown <thom@linux.com> writes:
> problem.  It was the DROP COMMAND TRIGGER statement that garnered
> comment, as it makes more sense to drop the entire trigger than
> individual commands for that trigger.

What you're saying here is that a single command could have more than
one command attached to it, and what I understand Tom, Robert and Kevin
are saying is that any given command trigger should only be attached to
a single command.

If we wanted to be more consistent we would need to have a way to attach
the same trigger to both BEFORE and AFTER the command, as of now you
need two triggers here.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Command Triggers, patch v11
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Command Triggers, patch v11