The functions described here provide an interface for extracting information from result sets returned by SPI_execute and other SPI functions.
SPI_execute
All functions described in this section can be used by both connected and unconnected procedures.