Re: triggers and inheritance tree

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: triggers and inheritance tree
Дата
Msg-id CAJKUy5gNAacSkfE4N29yzBitbN_5eV4tfdeEx3Uu231eDp5M+Q@mail.gmail.com
обсуждение исходный текст
Ответ на triggers and inheritance tree  (Jaime Casanova <jaime@2ndquadrant.com>)
Ответы Re: triggers and inheritance tree
Список pgsql-hackers
On Wed, Mar 28, 2012 at 1:21 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
> Hi,
>
> i was trying to create triggers that redirect INSERT/UPDATE/DELETE
> actions from parent to childs, but found that UPDATE/DELETE doesn't
> get redirected. Actually, the triggers BEFORE UPDATE and BEFORE DELETE
> aren't even fired.
>

and of course, it has nothing to do with the inheritance tree. that
was just a coincidence.

the problem occurs the same with normal tables, but i can't find where
is the problem.
i suspect, though, that is in the comparison in TRIGGER_TYPE_MATCHES

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


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

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: pg_test_timing utility, to measure clock monotonicity and timing
Следующее
От: Robert Haas
Дата:
Сообщение: Re: triggers and inheritance tree