RefLib

Reference library for AI

Back

postgresql_16:6.10.3.6.3 Return Value

PostgreSQL 16 > Server Programming > Server Programming Interface > Memory Management > SPI_modifytuple > Return Value

new row with modifications, allocated in the upper executor context, or NULL on error (see SPI_result for an error indication)

On error, SPI_result is set as follows: SPI_ERROR_ARGUMENT if rel is NULL, or if row is NULL, or if ncols is less than or equal to 0, or if colnum is NULL, or if values is NULL. SPI_ERROR_NOATTRIBUTE if colnum contains an invalid column number (less than or equal to 0 or greater than the number of columns in row) SPI_ERROR_UNCONNECTED if SPI is not active

Back