SPI_RESULT_CODE_STRING(3pg13)

πŸ“¦ version 13.23, in opensuse-leap 16.0

okay so bestie, we’re on the SPI_result_code_string(3pg13) page from the PostgreSQL 13.23 Documentation, and it’s lowkey iconic ✨

🌸 NAME 🌸

SPI_result_code_string β€” returns the error code as a string, periodt πŸ’…

✨ SYNOPSIS ✨

const char * SPI_result_code_string(int code);

πŸ’– DESCRIPTION πŸ’–

So SPI_result_code_string gives you a string representation of the result code β€” the kind returned by various SPI functions or stored in SPI_result. That’s the whole vibe 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • int code β€” the result code, literally πŸ“

πŸ¦‹ RETURN VALUE πŸ¦‹

A string representation of the result code, no cap πŸ’œ


mwah πŸ’‹ β€” source/version is PostgreSQL 13.23, dated 2025, and this cutie is SPI_RESULT_CODE_STRING(3) πŸ‘‘

πŸ“¦ where this page comes from