This patch makes the EXECUTE command's completion tag return the
completion tag of the actual statement executed. This allows the
correct update count to be returned for UPDATE/INSERT/DELETE
statements. Per discussion on hackers here:
http://archives.postgresql.org/pgsql-hackers/2004-03/msg00923.php
Kris Jurka