Re: trigger column update

Поиск
Список
Период
Сортировка
От frbn
Тема Re: trigger column update
Дата
Msg-id 3D58AEEC.30307@efbs-seafrigo.fr
обсуждение исходный текст
Ответ на trigger column update  ("Bolden, Thomas" <tbolden@ded.state.mo.us>)
Список pgsql-general
Bolden, Thomas a écrit:
> I am porting over a trigger from oracle.
>
> "CREATE  TRIGGER TR_CLUSCODE_UPD AFTER UPDATE OF STFIPS, CLUSCODE,
> CLUSTITLE, CLUSDESC ON CLUSCODE
> FOR EACH ROW EXECUTE"
>
> The trigger is column dependent and according to the online docs.
> "
>
>
> The CREATE TRIGGER statement in PostgreSQL implements a subset of the SQL99
> standard. The following functionality is missing:
>
>
> *
> SQL99 allows triggers to fire on updates to specific columns (e.g., AFTER
> UPDATE OF col1, col2).
>
> "
> anyone know a work around.

you can put the columns you want to "trigger" in another table
and put a trigger on the update of this table.





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

Предыдущее
От: "Graeme Merrall"
Дата:
Сообщение: trees - tree, ltree or other?
Следующее
От: mixo
Дата:
Сообщение: Re: unexpected results