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
- alpine 3.23: postgresql18-doc 18.6-r0 Β· PostgreSQL
- alpine 3.24: postgresql18-doc 18.6-r0 Β· PostgreSQL
- arch rolling: postgresql 18.6-4 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 43: postgresql-server-devel 18.6-1.fc43 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- fedora 44: postgresql-server-devel 18.6-1.fc44 Β· PostgreSQL
- nixos 26.05: postgresql 18.6
- ubuntu resolute: postgresql-doc-18 18.6-0ubuntu0.26.04.1 Β· PostgreSQL
- ubuntu stonking: postgresql-doc-18 18.6-3build2 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms