Rule vs Trigger - Mailing list pgsql-general

From Alfred Zhao
Subject Rule vs Trigger
Date
Msg-id 000901c7b273$0a8b8f50$0201a8c0@gemyard.com
Whole thread Raw
Responses Re: Rule vs Trigger
List pgsql-general
Suppose I want to update a statistics table S after an insertion into an
activity table A. In order to update S automatically, I can either create a
rule on A or create an after trigger on A. What's the performance
implication on using rule vs trigger? Thanks in advance.

Alfred



pgsql-general by date:

Previous
From: Sergei Shelukhin
Date:
Subject: Re: VACUUM ANALYZE extremely slow
Next
From: nasim.sindri@gmail.com
Date:
Subject: commit transaction failed