forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit482ab3e
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 parentdc44180 commit482ab3e
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2039 | 2039 | | |
2040 | 2040 | | |
2041 | 2041 | | |
| 2042 | + | |
| 2043 | + | |
2042 | 2044 | | |
2043 | 2045 | | |
2044 | 2046 | | |
| |||
0 commit comments
Comments
(0)