This documentation is for an unsupported version of PostgreSQL.
You may want to view the same page for the
version, or one of the supported versions listed above instead.
SPI_cursor_close -- close a cursor
void SPI_cursor_close(Portal portal)
SPI_cursor_close closes a
previously created cursor and releases its portal storage.
All open cursors are closed automatically at the end of a
only be invoked if it is desirable to release resources
- Portal portal
portal containing the cursor