Sergey Burladyan <eshkinkot(at)gmail(dot)com> writes:
> Sorry, after thinking some time about this problem now i may be understand what going on there... %)
> When first rule was exec - no OLD row anymore in "v" view, nothing will be joined and in second rule
> OLD value is empty... so my question is changed to: is this expected behavior or a bug ? %)
Yup, it's expected.
regards, tom lane