- 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_execute 及其他 SPI 函数返回的结果集中提取信息。
本节介绍的所有函数都可以在已连接和未连接的过程中使用。