Dmitry Tkach <dmitry@openratings.com> writes:
> It would have saved a lot of trouble if it just complained about that
> union thing right away and refuse to create the rule...
That's what happens in CVS tip.
> On a different note, I think there *is* a way to add a where clause to
> the union - that's exactly what I did in that last example - by
> converting it into a subselect...
> Can that not be done automatically for conditional rules?
Send a patch... or at least convince us it can be done ... I'm not
convinced yet.
regards, tom lane