Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SPI_result_code_string - return error code as string

Arguments

int code result code

Description

SPI_result_code_string returns a string representation of the result code returned by various SPI functions or stored in SPI_result.

Name

SPI_result_code_string - return error code as string

Return Value

A string representation of the result code. PostgreSQL 17.5 2025 SPI_RESULT_CODE_STRING(3)

Synopsis

const char * SPI_result_code_string(int code);

See Also