Re: [BUGS] bug in detection number of updated rows on view with rules.

2003-10-07 Thread Tom Lane
Viacheslav N Tararin <[EMAIL PROTECTED]> writes: > Next rule return 0 as count of changed rows but really at lest one > record updated and one inserted In what PG version? There's been substantial fooling-about with the semantics of returned counts for rules in recent releases. In any case, you

[BUGS] bug in detection number of updated rows on view with rules.

2003-10-07 Thread Viacheslav N Tararin
Hi. All work as expected but... Next rule return 0 as count of changed rows but really at lest one record updated and one inserted - create or replace rule U_ENTRY as on update to ENTRY do instead ( update DISSECTION set DESCRIPTION = new.DESCRIPTION, CU