On Wed, Sep 28, 2005 at 01:41:29PM +0200, Sim Zacks wrote: > Is there a way to avoid trigger self-recursion? > In other words, update a table and have the trigger update another row in > the same table without calling the same trigger? No, although generally it's a sign of a coding problem. If you're trying to change values being updated, you should be assigning to NEW, not executing another UPDATE. If you're really recursing, there should be an obvious way to know where you're done... -- Martijn van Oosterhout <kleptog@xxxxxxxxx> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
Attachment:
pgpGy6dcsdBrn.pgp
Description: PGP signature