Interface Support Functions

17.2. Interface Support Functions

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.