SPI_gettypeid(tupdesc, fnumber)
Input tuple description
Attribute number
The type OID for the specified attribute number
| SPI_ERROR_NOATTRIBUTE |
SPI_gettypeid returns the type OID for the specified attribute.
Attribute numbers are 1 based.
TBD
Read the upstream documentation. For corrections, first check the current manual.