SPI_execute_plan - execute a plan prepared by SPI_prepare
int SPI_execute_plan(void * plan, Datum * values, const char * nulls, bool read_only, long count)
SPI_execute_plan executes a plan prepared by SPI_prepare. read_only and count have the same interpretation as in SPI_execute.
If nulls is NULL then SPI_execute_plan assumes that no parameters are null.
The return value is the same as for SPI_execute, with the following additional possible error (negative) results:
SPI_processed and SPI_tuptable are set as in SPI_execute if successful.
If one of the objects (a table, function, etc.) referenced by the prepared plan is dropped during the session then the result of SPI_execute_plan for this plan will be unpredictable.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |