45.2. Interface Support Functions
- SPI_fname â determine the column name for the specified column number
- SPI_fnumber â determine the column number for the specified column name
- SPI_getvalue â return the string value of the specified column
- SPI_getbinval â return the binary value of the specified column
- SPI_gettype â return the data type name of the specified column
- SPI_gettypeid â return the data type OID of the specified column
- SPI_getrelname â return the name of the specified relation
- SPI_getnspname â return the namespace of the specified relation
- SPI_result_code_string â return error code as string
- SPI_fnumber â determine the column number for the specified column name
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.