git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4a836ba) | patch
Repair bug #2836: SPI_execute_plan returned zero if none of the querytrees
2006年12月26日 16:56:18 +0000 (16:56 +0000)
2006年12月26日 16:56:18 +0000 (16:56 +0000)
commit fccf99f0c81ac2ad9af6e6fa746375c39ca7ab0b
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.
src/backend/executor/spi.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /