PostgreSQL | ||
---|---|---|
Prev | Next |
SPI_fname(tupdesc, fname)
Input tuple description
Attribute number
Attribute name
NULL if fnumber is out of range |
SPI_result set to SPI_ERROR_NOATTRIBUTE on error |
SPI_fname returns the attribute name for the specified attribute.
Attribute numbers are 1 based.
Returns a newly-allocated copy of the attribute name.
Prev | Home | Next |
SPI_fnumber | Up | SPI_getvalue |