Per gripe from Jack Orenstein.
-
+
Server Programming Interface
by SPI_finish and by the transaction manager
and returns a pointer to the saved plan. This gives you the
ability to reuse prepared plans in the subsequent invocations of
- your procedure in the current session. You may save the pointer
- returned in a local variable. Always check if this pointer is
- NULL or not either when preparing a plan or using
- an already prepared plan in SPI_execute_plan.
+ your procedure in the current session.