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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field
Дата
Msg-id 11346.1195583323@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 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>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #3764: Update count returns zero for a view with 'on update' rules when criteria contains updatable field
Следующее
От: "Cade Cairns"
Дата:
Сообщение: BUG #3765: strange results for bit string hex notation cast to bit