Sean Thayne wrote:
What do you mean by "rule for on insert", like a trigger or somthing?

In postgresql you have both rules and triggers. I think triggers are for AFTER you do something were rules can be used WHEN you do something. So if you want your insert or update to return a result you use a rule. If you want something to be updated after an insert(like a materialized view) you use a trigger.

Kyle

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to