Re: Trigger question

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Trigger question
Дата
Msg-id 019c01c3dc1b$17ba7830$7f44053d@winxp
обсуждение исходный текст
Ответ на Trigger question  (pginfo <pginfo@t1.unisoftbg.com>)
Список pgsql-performance
> Exists in pg any way to define the trigger execution only if I have
> changes on some fields?

No, but you chould check for those fields and return if no changes have been
made.  Depending on how intensive the trigger is, this might help.  You may
also want to look at statement-level triggers or conditional rules.

Best Wishes,
Chris Travers



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

Предыдущее
От: Thomas Swan
Дата:
Сообщение: Re: 100 simultaneous connections, critical limit?
Следующее
От: Harald Fuchs
Дата:
Сообщение: Re: Trigger question