SPI_getvalue(tuple, tupdesc, fnumber)
Input tuple to be examined
Input tuple description
Attribute number
Attribute value or NULL if
attribute is NULL |
fnumber is out of range (SPI_result set to SPI_ERROR_NOATTRIBUTE) |
no output function available (SPI_result set to SPI_ERROR_NOOUTFUNC) |
SPI_getvalue returns an external (string) representation of the value of the specified attribute.
Attribute numbers are 1 based.
Allocates memory as required by the value.