On 2/06, Richard Huxton wrote: | You want to use triggers not rules here (see the "server programming" and | "procedural language" manual sections). A trigger will be fired for each row | inserted/deleted/updated. Of course this means it will be fired 5000 times | for 5000 updated rows.
Ouch. At the current time, I reverted to count(*) style which seems to be performed in much less time in 7.3.2 than in 7.2.x. I'll look at the triggers, thanks. Sam ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]