©
This document usesPHP Chinese website manualRelease
int SPI_execp(SPIPlanPtrplan, Datum *values, const char *nulls, longcount)
SPI_execp
is the same asSPI_execute_plan
, with the latter'sread_onlyparameter always taken asfalse.
execution plan (returned bySPI_prepare
)
An array of actual parameter values. Must have same length as the plan's number of arguments.
An array describing which parameters are null. Must have same length as the plan's number of arguments.nindicates a null value (entry invalueswill be ignored); a space indicates a nonnull value (entry invaluesis valid).
IfnullsisNULLthenSPI_execp
assumes that no parameters are null.
maximum number of rows to process or return
SeeSPI_execute_plan
.
SPI_processedandSPI_tuptableare set as inSPI_execute
if successful.