|Subject:||Update statements with rules|
|Date:||Sat, 26 May 2018 15:55:46 +0200|
|From:||Maroš Kollár <firstname.lastname@example.org>|
I'm not sure if this is a genuine bug or if i'm using DBD::Pg in a wrong way, but I can't seem to be able to read records returned by an update statement altered by rules. The rule returns an additional row on a successful update. However using fetch on this statement handle throws an exception.
See the following test example
Issuing the same statements via psql works fine and returns both the affected row count as well as the extra rows added by the rule.