Check after errors of SPI_execute() in xml.c
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/xml.c | modified | +5 −1 |
Discussion
- Checking return value of SPI_execute 12 messages · 2019-11-06 → 2019-11-07