postgresql_16:6.10.2.5.3 Return Value
PostgreSQL 16 > Server Programming > Server Programming Interface > Interface Support Functions > SPI_gettype > Return Value
The data type name of the specified column, or NULL on error. SPI_result is set to SPI_ERROR_NOATTRIBUTE on error.