forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3feb6ac
committed
Check after errors of SPI_execute() in xml.c
SPI gets used to build a list of relation OIDs for XML objectgeneration, and one code path building a list uses SPI_execute() withoutlooking at errors it produces. So fix that.Author: Mark DilgerReviewed-by: Michael Paquier, Pavel StehuleDiscussion:https://postgr.es/m/17d30445-4862-7917-170f-84328dcd292d@gmail.com1 parent6e3e6cc commit3feb6ac
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2461 | 2461 |
| |
2462 | 2462 |
| |
2463 | 2463 |
| |
| 2464 | + | |
2464 | 2465 |
| |
2465 |
| - | |
| 2466 | + | |
| 2467 | + | |
| 2468 | + | |
| 2469 | + | |
2466 | 2470 |
| |
2467 | 2471 |
| |
2468 | 2472 |
| |
|
0 commit comments
Comments
(0)