| SPI_gettype NameSPI_gettype -- Returns the type name of the specified attributeSynopsisSPI_gettype(tupdesc, fnumber) InputsTupleDesc tupdescInput tuple descriptionint fnumberAttribute number
Outputschar *The type name for the specified attribute numberSPI_result
DescriptionSPI_gettype 
   returns a copy of the type name for the specified attribute,
   or NULL on error.UsageAttribute numbers are 1 based.AlgorithmReturns a newly-allocated copy of the type name.
(Use pfree() to release the copy when done with it.) |