Re: BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field
Date
Msg-id 11346.1195583323@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field  ("Eugene M. Hutorny" <eugene@ksf.kiev.ua>)
List pgsql-bugs
"Eugene M. Hutorny" <eugene@ksf.kiev.ua> writes:
> I noticed strange behaviour of update statements issued to a view with an
> 'on update' rule when the where criterion contains the field being updated.

This isn't a bug --- once the first update is performed, the visible
view contents change and so the second update finds no matching row.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field
Next
From: "Cade Cairns"
Date:
Subject: BUG #3765: strange results for bit string hex notation cast to bit