Re: Rules/Trigges Trade-offs

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Rules/Trigges Trade-offs
Дата
Msg-id 200212061634.gB6GYbt02565@candle.pha.pa.us
обсуждение исходный текст
Ответ на Rules/Trigges Trade-offs  (Jean-Luc Lachance <jllachan@nsd.ca>)
Ответы Re: Rules/Trigges Trade-offs  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-sql
My book has a section on that:
http://www.postgresql.org/docs/awbook.html

Triggers are mostly for testing/modifying the row being
inserted/updated, while rules are better for affecting other rows or
other tables.


Jean-Luc Lachance wrote:
> Hi all!
> 
> Is there a guideline on the use of rules compared to triggers when both
> can be use to achieve the same result?
> 
> JLL
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Rules/Trigges Trade-offs
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: Rules/Trigges Trade-offs