SPI_execp(plan, values, nulls, tcount)
Actual parameter values
Array describing which parameters are NULLs
|n indicates NULL (values entry ignored)|
|space indicates not NULL (values entry is valid)|
Number of tuples for which plan is to be executed
SPI_execp executes a plan prepared by SPI_prepare. tcount has the same interpretation as in SPI_exec.
If nulls is NULL then SPI_execp assumes that all parameters (if any) are NOT NULL.
Note: If one of the objects (a relation, function, etc.) referenced by the prepared plan is dropped during your session (by your backend or another process) then the results of SPI_execp for this plan will be unpredictable.