Provided by: postgresql-doc-17_17.5-0ubuntu0.25.04.1_all bug

NAME

       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

       int code
           result code

RETURN VALUE

       A string representation of the result code.

PostgreSQL 17.5                                       2025                             SPI_RESULT_CODE_STRING(3)