SPI_EXEC...PARAMLIST(3)
β¨ NAME β¨
okay bestie, welcome to the SPI_EXEC...PARAMLIST(3) page from the PostgreSQL 15.19 Documentation π this is the manual for SPI_execute_plan_with_paramlist β the function that executes a statement prepared by SPI_prepare. periodt π
πΈ SYNOPSIS πΈ
int SPI_execute_plan_with_paramlist(SPIPlanPtr plan,
ParamListInfo params,
bool read_only,
long count)
π¦ DESCRIPTION π¦
SPI_execute_plan_with_paramlist executes a statement prepared by SPI_prepare. It is equivalent to SPI_execute_plan, except that info about the parameter values to be passed to the query is presented differently. The ParamListInfo representation can be convenient for passing down values that are already available in that format. It also supports use of dynamic parameter sets via hook functions specified in ParamListInfo. iconic behavior, honestly π
β οΈ bestie, heads up: this function is now deprecated in favor of SPI_execute_plan_extended. not me being deprecated π
π ARGUMENTS π
SPIPlanPtr planβ prepared statement (returned bySPI_prepare) β¨ParamListInfo paramsβ data structure containing parameter types and values;NULLif none π«Άbool read_onlyβtruefor read-only execution πlong countβ maximum number of rows to return, or0for no limit π
π RETURN VALUE π
The return value is the same as for SPI_execute_plan.
SPI_processed and SPI_tuptable are set as in SPI_execute_plan if successful. no cap, that's literally the whole vibe π
mwah π β this page is from PostgreSQL 15.19, dated 2026. go slay your prepared statements, bestie π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15-docs 15.19-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