This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
current
version, or one of the other supported versions listed above instead.
- Table of Contents
- SPI_fnumber -- Finds the
attribute number for specified attribute name
- SPI_fname -- Finds the
attribute name for the specified attribute number
- SPI_getvalue -- Returns
the string value of the specified attribute
- SPI_getbinval -- Returns
the binary value of the specified attribute
- SPI_gettype -- Returns
the type name of the specified attribute
- SPI_gettypeid -- Returns
the type OID of the
specified attribute
- SPI_getrelname -- Returns
the name of the specified relation
The functions described here provide convenient interfaces for
extracting information from tuple sets returned by SPI_exec
and other SPI interface functions.
All functions described in this section may be used by both
connected and unconnected procedures.