Re: Command Triggers, patch v11

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Command Triggers, patch v11
Дата
Msg-id CAA-aLv5-KAMD_PMEUK=SiG_OBdM4jiQ3O=kpw8fZM+-Uq4PJ1g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Command Triggers, patch v11  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Command Triggers, patch v11
Список pgsql-hackers
On 6 March 2012 21:04, Dimitri Fontaine <dimitri@2ndquadrant.fr> wrote:
>>> [CASCADE will not run the command triggers for cascaded objects]
>> If these are all expected, does it in any way compromise the
>> effectiveness of DDL triggers in major use-cases?
>
> I don't think so.  When replicating the replica will certainly drop the
> same set of dependent objects, for example.  Auditing is another story.
> Do we want to try having cascaded object support in drop commands?

I wasn't sure if auditing was one of the rationale behind the feature
or not.  If it is, it presents a major problem.  How does the replica
know that the objects were dropped?

Thanks for the updated patch and the quick turnaround time.  I'll give
it another review.

--
Thom


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Dropping PL language retains support functions
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: How to know a table has been modified?