]> granicus.if.org Git - postgresql/commit
Remove broken Assertions that failed if a statement executed in PL/pgSQL is
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 14 Jan 2009 09:53:54 +0000 (09:53 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 14 Jan 2009 09:53:54 +0000 (09:53 +0000)
commit09156de6404b18cb5b68c58b3e52422d10f73cb0
treec6afe33a976b0ca9e7535dc8442884044e8ccef3
parent4d4b0f35210bc7c83b73fc4e001e8873982de722
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