Re: FOR EACH STATEMENT triggers

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: FOR EACH STATEMENT triggers
Дата
Msg-id GNELIHDDFBOCMGBFGEFOKEJICEAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на FOR EACH STATEMENT triggers  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Looks pretty sweet, Neil.

Maybe you could look at column triggers while you're at it, per comment on
Compiere page ;)

Triggers

Compiere uses triggers to ensure data consistency. It seems that in general,
Oracle triggers are relatively easy to convert. In addition to the Function
issues, a procedure needs to be crated per trigger. Oracle and PostgreSQL
have slightly different notation of the "new" and "old" references and
INSERTING, etc. PostgreSQL Triggers do not support Column restrictions
(AFTER UPDATE OF column, column ON table).

>         - if the statement effects zero rows, a per-statement trigger
>           is still executed

"affects"  - sorry couldn't help myself :)

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: [JDBC] PostgreSQL JDBC and sub-select
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] 20020822_02_pitr.patch.gz