Historical version. PostgreSQL 11 has reached end of support. 2023-11-09. See the current manual.
SPI_result_code_string
SPI_result_code_string — return error code as string
Synopsis
const char * SPI_result_code_string(int code);
Description
SPI_result_code_string returns a string representation
of the result code returned by various SPI functions or stored
in SPI_result.
Arguments
intcoderesult code
Return Value
A string representation of the result code.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.