Remove broken Assertions that failed if a statement executed in PL/pgSQL is
commit262adfa9dd61ac0d3586e0acaf8b61a14d86c0ed
authorheikki <heikki>
Wed, 14 Jan 2009 09:53:51 +0000 (14 09:53 +0000)
committerheikki <heikki>
Wed, 14 Jan 2009 09:53:51 +0000 (14 09:53 +0000)
tree5401234c5fa2013449c30cc8e0f78b2a8271b967
parent9a19a36b974fdddffdd8dda10df6e110f4609fed
Remove broken Assertions that failed if a statement executed in PL/pgSQL is
rewritten into another kind of statement, for example if an INSERT is
rewritten into an UPDATE.

Back-patch to 8.3 and 8.2. For HEAD, Tom suggested inventing a new
SPI_OK_REWRITTEN return code, but that's not a backportable solution. I'll
do that as a separate patch, this patch will do as a stopgap measure for HEAD
too in the meanwhile.
src/pl/plpgsql/src/pl_exec.c