ss="indexterm"></a><div class="refnamediv"><h2><span class="refentrytitle">SPI_is_cursor_plan</span></h2><p>SPI_is_cursor_plan — return <code class="symbol">true</code> if a statement
  prepared by <code class="function">SPI_prepare</code> can be used with
  <code class="function">SPI_cursor_open</code></p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="synopsis">
bool SPI_is_cursor_plan(SPIPlanPtr <em class="parameter"><code>plan</code></em>)
</pre></div><div class="refsect1" id="id-1.8.12