pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add missing support for the latest SPI status codes. 6+ messages / 1 participants [nested] [flat]
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d0460a31de6acc8bbb86e9e3d646f1113ebb0c20 Modified Files -------------- doc/src/sgml/spi.sgml | 9 +++++++++ src/backend/executor/spi.c | 4 ++++ src/pl/tcl/pltcl.c | 1 + 3 files changed, 14 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/576b25bfd0e9a1d5bbc54931e888135bc6da8a2f Modified Files -------------- doc/src/sgml/spi.sgml | 9 +++++++++ src/backend/executor/spi.c | 4 ++++ src/pl/tcl/pltcl.c | 1 + 3 files changed, 14 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/482ab3e4f9e0a2fcef96bdcbe7a719858fae8f79 Modified Files -------------- src/backend/executor/spi.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/906356cf6128ac6e35bcb07f7fd5361eb76c4999 Modified Files -------------- src/backend/executor/spi.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/52dbd9f845987ff3a6f97d30b3bebb13fdb4b2b4 Modified Files -------------- src/backend/executor/spi.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Add missing support for the latest SPI status codes. @ 2023-02-22 13:32 Dean Rasheed <dean.a.rasheed@gmail.com> 0 siblings, 0 replies; 6+ messages in thread From: Dean Rasheed @ 2023-02-22 13:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 was pltcl_process_SPI_result(). The last of those would trigger an error if a MERGE was executed from PL/Tcl. The others seem fairly innocuous, but worth fixing. Back-patch to all supported branches. Before v15, this is just adding SPI_OK_TD_REGISTER to SPI_result_code_string(), which is unlikely to be seen by anyone, but seems worth doing for completeness. Reviewed by Tom Lane. Discussion: https://postgr.es/m/CAEZATCUg8V%2BK%2BGcafOPqymxk84Y_prXgfe64PDoopjLFH6Z0Aw%40mail.gmail.com https://postgr.es/m/CAEZATCUMe%2B_KedPMM9AxKqm%3DSZogSxjUcrMe%2BsakusZh3BFcQw%40mail.gmail.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/83a54d9661027cbb0a97e543ce7440d55812c87c Modified Files -------------- src/backend/executor/spi.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2023-02-22 13:32 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com> 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com> 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com> 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com> 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com> 2023-02-22 13:32 pgsql: Add missing support for the latest SPI status codes. Dean Rasheed <dean.a.rasheed@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox