aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-12-26 16:56:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-12-26 16:56:22 +0000
commitb85a4cda83bc7a19031730465d358e415935f05b (patch)
treef4f24fd89828588f5d24cde949909a1bb0ec4a05 /doc/src
parent5ceb50842286c101c94b1077f3e8b068278ebc07 (diff)
downloadpostgresql-b85a4cda83bc7a19031730465d358e415935f05b.tar.gz
postgresql-b85a4cda83bc7a19031730465d358e415935f05b.zip
Repair bug #2836: SPI_execute_plan returned zero if none of the querytrees
were marked canSetTag. While it's certainly correct to return the result of the last one that is marked canSetTag, it's less clear what to do when none of them are. Since plpgsql will complain if zero is returned, the 8.2.0 behavior isn't good. I've fixed it to restore the prior behavior of returning the physically last query's result code when there are no canSetTag queries.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions