SPI_EXEC...PARAMLIST(3)
π SPI_EXEC...PARAMLIST(3) π
okay so bestie, welcome to the PostgreSQL 16.15 Documentation page for SPI_EXEC...PARAMLIST(3) β this is the one about executing a statement that was prepared by SPI_prepare. pull up a chair, we're getting into it π«Ά
β¨ NAME β¨
SPI_execute_plan_with_paramlist β execute a statement prepared by SPI_prepare
π¦ 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. no cap, that's the whole main-character job π
This function is equivalent to SPI_execute_plan except that information about the parameter values to be passed to the query is presented differently. it's giving "same task, different outfit" β¨ 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.
β οΈ deprecated alert: this function is now deprecated in favor of SPI_execute_plan_extended. bestie, use the newer one when you can β iykyk π
π ARGUMENTS π
SPIPlanPtr planβ prepared statement (returned bySPI_prepare) π§ParamListInfo paramsβ data structure containing parameter types and values;NULLif nonebool read_onlyβtruefor read-only executionlong countβ maximum number of rows to return, or0for no limit
π RETURN VALUE π
The return value is the same as for SPI_execute_plan. periodt π
SPI_processed and SPI_tuptable are set as in SPI_execute_plan if successful. so if it slays, those get set the same way β literally no extra lore there π₯
mwah π and that's the page, bestie β source/version is PostgreSQL 16.15, dated 2026, and the page is SPI_EXEC...PARAMLIST(3) πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql16-docs 16.15-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