November 13, 2025: PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 Released!
DocumentationPostgreSQL devel (2025年12月14日 11:30:43 - git commit 4b3d173629f)
Supported Versions: Current (18) / 17 / 16 / 15 / 14
Development Versions: devel
Unsupported versions: 13 / 12 / 11
This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the current version, or one of the other supported versions listed above instead.
SPI_result_code_string
Prev Up 45.2. Interface Support Functions Home Next

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 45.3. Memory Management

AltStyle によって変換されたページ (->オリジナル) /