postgresql_16:6.10.2.6.3 Return Value
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Support Functions > SPI_gettypeid > Return Value
The OID of the data type of the specified column or InvalidOid on error. On error, SPI_result is set to SPI_ERROR_NOATTRIBUTE.