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've not provided nearly enough information to let someone else reproduce the behavior. Please see http://www.postgresql.org/docs/7.3/static/bug-reporting.html regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match