SPI_GETARGCOUNT(3)
β¨ NAME β¨
okay so bestie, this is SPI_GETARGCOUNT(3) from the PostgreSQL 14.24 Documentation π and it's literally the page for SPI_getargcount π
β the function that returns the number of arguments needed by a statement prepared by SPI_prepare. no cap.
π SYNOPSIS π
int SPI_getargcount(SPIPlanPtr plan)
π¦ DESCRIPTION π¦
SPI_getargcount returns the number of arguments needed to execute a statement prepared by SPI_prepare. that's the whole vibe β¨ β short, sweet, and lowkey iconic.
πΈ ARGUMENTS πΈ
SPIPlanPtr planβ a prepared statement (returned bySPI_prepare) π«Ά
π RETURN VALUE π
the count of expected arguments for the plan π. if the plan is NULL or invalid, SPI_result is set to SPI_ERROR_ARGUMENT and -1 is returned. yes bestie, that's the tea β β protect your plan, okay? π
thatβs the whole page, bestie π«Ά β brought to you by PostgreSQL 14.24, dated 2026. mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14-docs 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms