PostgreSQL

PostgreSQL Elephant Logo

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

`int +`_`+code`_

result code

Return Value

A string representation of the result code.


Prev Up Next

SPI_getnspname

Home

47.3. Memory Management

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Copyright © 1996-2023 The PostgreSQL Global Development Group