Synopsis
SPI_getvalue(tuple, tupdesc, fnumber)
Inputs
- HeapTuple tuple
Input tuple to be examined
- TupleDesc tupdesc
Input tuple description
- int fnumber
Attribute number
Outputs
- char *
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) |