SPI_fname(tupdesc, fname)
Input tuple description
Attribute number
Attribute name
SPI_fname returns the attribute name for the specified attribute.
Attribute numbers are 1 based.
Returns a newly-allocated copy of the attribute name.