forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd0460a3
committed
Add missing support for the latest SPI status codes.
SPI_result_code_string() was missing support for SPI_OK_TD_REGISTER,and in v15 and later, it was missing support for SPI_OK_MERGE, as waspltcl_process_SPI_result().The last of those would trigger an error if a MERGE was executed fromPL/Tcl. The others seem fairly innocuous, but worth fixing.Back-patch to all supported branches. Before v15, this is just addingSPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely tobe seen by anyone, but seems worth doing for completeness.Reviewed by Tom Lane.Discussion:https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.comhttps://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com1 parent0d3b49d commitd0460a3
3 files changed
+14
-0
lines changedLines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
440 | 449 |
| |
441 | 450 |
| |
442 | 451 |
| |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2029 | 2029 |
| |
2030 | 2030 |
| |
2031 | 2031 |
| |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
2032 | 2036 |
| |
2033 | 2037 |
| |
2034 | 2038 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2441 | 2441 |
| |
2442 | 2442 |
| |
2443 | 2443 |
| |
| 2444 | + | |
2444 | 2445 |
| |
2445 | 2446 |
| |
2446 | 2447 |
| |
|
0 commit comments
Comments
(0)