pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid

pgsql: Fix assertion failure with PL/Python exceptions

2023-09-18 Thread Michael Paquier
Fix assertion failure with PL/Python exceptions PLy_elog() was not able to handle correctly cases where a SPI called failed, which would fill in a DETAIL string able to trigger an assertion. We may want to improve this infrastructure so as it is able to provide any extra detail information provid