postgresql_16:6.10.1.6.3 Return Value
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Functions > SPI_execute_with_args > Return Value
The return value is the same as for SPI_execute.
SPI_processed and SPI_tuptable are set as in SPI_execute if successful.