Re: Sequence in the rules - Mailing list pgsql-sql

From Tom Lane
Subject Re: Sequence in the rules
Date
Msg-id 11171.1014046409@sss.pgh.pa.us
Whole thread Raw
In response to Sequence in the rules  (Luis Sousa <llsousa@ualg.pt>)
List pgsql-sql
Luis Sousa <llsousa@ualg.pt> writes:
> How can I define that the first rule to be checked is 
> infoturno_r_update3 and then it tries the others ?

You can't.  Instead consider making a single, multi-action rule
that does the actions in the right sequence.
        regards, tom lane


pgsql-sql by date:

Previous
From: Shane Wright
Date:
Subject: Re: table locking
Next
From: Bruce Momjian
Date:
Subject: Re: table locking