# 47.2. Interface Support Functions

SPI_fname — determine the column name for the specified column numberSPI_fnumber — determine the column number for the specified column nameSPI_getvalue — return the string value of the specified columnSPI_getbinval — return the binary value of the specified columnSPI_gettype — return the data type name of the specified columnSPI_gettypeid — return the data type OID of the specified columnSPI_getrelname — return the name of the specified relationSPI_getnspname — return the namespace of the specified relationSPI_result_code_string — return error code as string

The functions described here provide an interface for extracting information from result sets returned by SPI_execute and other SPI functions.

All functions described in this section can be used by both connected and unconnected C functions.