On Apr 25, 2005, at 11:00 PM, Tom Lane wrote:
> DO INSTEAD means that the *original* query will not execute; it does
> not suppress actions produced by other rules.
> If we did not define
> it that way, I think your example would have to error out --- how
> would you choose which INSTEAD rule wins?
The documentation says that they evaluate in alphabetical order by
name. So I would expect that the first one to have its WHERE statement
evaluate to true would short-circuit the execution of the remaining
In response to
pgsql-hackers by date
|Next:||From: Neil Conway||Date: 2005-04-26 06:10:39|
|Subject: Re: DO INSTEAD and conditional rules|
|Previous:||From: Qingqing Zhou||Date: 2005-04-26 06:03:17|
|Subject: Re: simplify register_dirty_segment()|