Re: SPI: process exit in SPI_exec when table not exist. error code not return.

2021-02-04 Thread sasa su
Thanks barwick, Is the process crash also expected, And dose anyone considered enhancing this API? 05.02.2021, 10:55, "Ian Lawrence Barwick" :2021年2月5日(金) 11:38 sasa su <i...@sasa.su>:Hi. When running a query with a not exist table in SPI_exec. the process exit with -1 in SPI_e

SPI: process exit in SPI_exec when table not exist. error code not return.

2021-02-04 Thread sasa su
Hi. When running a query with a not exist table in SPI_exec. the process exit with -1 in SPI_exec function.the error code SPI_ERROR_REL_NOT_FOUND never return. I made a minimal reproduction code in https://github.com/Sasasu/worker_spi_table_not_exist The core code is:    int spi = SPI_exec("select