4 SPI_getvalue — return the string value of the specified column
8 char * SPI_getvalue(HeapTuple row, TupleDesc rowdesc, int colnumber)
12 SPI_getvalue returns the string representation of the value of the
15 The result is returned in memory allocated using palloc. (You can use
16 pfree to release the memory when you don't need it anymore.)
21 input row to be examined
27 column number (count starts at 1)
31 Column value, or NULL if the column is null, colnumber is out of range
32 (SPI_result is set to SPI_ERROR_NOATTRIBUTE), or no output function is
33 available (SPI_result is set to SPI_ERROR_NOOUTFUNC).