2 SPI_execute_plan_with_paramlist
4 SPI_execute_plan_with_paramlist — execute a statement prepared by
9 int SPI_execute_plan_with_paramlist(SPIPlanPtr plan,
16 SPI_execute_plan_with_paramlist executes a statement prepared by
17 SPI_prepare. This function is equivalent to SPI_execute_plan except
18 that information about the parameter values to be passed to the query
19 is presented differently. The ParamListInfo representation can be
20 convenient for passing down values that are already available in that
21 format. It also supports use of dynamic parameter sets via hook
22 functions specified in ParamListInfo.
24 This function is now deprecated in favor of SPI_execute_plan_extended.
29 prepared statement (returned by SPI_prepare)
32 data structure containing parameter types and values; NULL if
36 true for read-only execution
39 maximum number of rows to return, or 0 for no limit
43 The return value is the same as for SPI_execute_plan.
45 SPI_processed and SPI_tuptable are set as in SPI_execute_plan if