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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6e3e6cc) | patch
Check after errors of SPI_execute() in xml.c
Thu, 7 Nov 2019 02:13:31 +0000 (11:13 +0900)
Thu, 7 Nov 2019 02:13:31 +0000 (11:13 +0900)
commit 3feb6ace7cfe8edbf6db702de06dc9295f307a8e
Check after errors of SPI_execute() in xml.c

SPI gets used to build a list of relation OIDs for XML object
generation, and one code path building a list uses SPI_execute() without
looking at errors it produces. So fix that.

Author: Mark Dilger
Reviewed-by: Michael Paquier, Pavel Stehule
Discussion: https://postgr.es/m/17d30445-4862-7917-170f-84328dcd292d@gmail.com
src/backend/utils/adt/xml.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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