PostgreSQL 18 中文参考文档(未翻译部分保留英文)🌐 切换到英文原版 →

SPI_result_code_string

SPI_result_code_string — return error code as string

Synopsis

const char * SPI_result_code_string(int code);

描述

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

参数

int code

result code

返回值

A string representation of the result code.