| От | Net Virtual Mailing Lists |
|---|---|
| Тема | tsearch2 avoiding firing of triggers..... |
| Дата | |
| Msg-id | 20041216222122.25759@mail.net-virtual.com обсуждение исходный текст |
| Ответы |
Re: tsearch2 avoiding firing of triggers.....
|
| Список | pgsql-general |
For some reason, I feel as though I have asked this before but I can't find it anywhere..... I hope it is not repetitive! I have various triggers and rules in my database, mostly for keeping tsearch2 updated and (now) materialized views. I'd say probably 90% of the updates to my database do not require these triggers/rules to fire off, for example the materialized view trigger only needs to execute when the category a record is in changes. The tsearch2 stuff, only when the relevant data fields have changed. Is there some way to either explicitly prevent the trigger/rules from firing, or modify them in some way so that they only update when necessary? Thanks! - Greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера