SPI_GETTYPE(3)
β¨ NAME β¨
Okay so welcome to the SPI_GETTYPE(3) page, bestie π
SPI_gettype β return the data type name of the specified column π
β¨ SYNOPSIS β¨
char * SPI_gettype(TupleDesc rowdesc, int colnumber)
β¨ DESCRIPTION β¨
SPI_gettype returns a copy of the data type name of the specified column. π
And when you're done with that copy of the name, you can use pfree to release it β no need to keep it around forever, babe. π
β¨ ARGUMENTS β¨
TupleDesc rowdescβ input row description π¦int colnumberβ column number (count starts at 1) β
β¨ RETURN VALUE β¨
The data type name of the specified column, or NULL on error. π
SPI_result is set to SPI_ERROR_NOATTRIBUTE on error. π
π That's the whole page, bestie β brought to you by PostgreSQL 18.6, dated 2026, and filed under SPI_GETTYPE(3). periodt π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql18-docs 18.6-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms