| PostgreSQL | ||
|---|---|---|
| Prev | Next | |
SPI_fnumber(tupdesc, fname)
Input tuple description
Field name
Attribute number
| Valid one-based index number of attribute | 
| SPI_ERROR_NOATTRIBUTE if the named attribute is not found | 
SPI_fnumber returns the attribute number for the attribute with name in fname.
Attribute numbers are 1 based.
| Prev | Home | Next | 
| SPI_modifytuple | Up | SPI_fname |