SPI_cursor_close
close a cursor
- Provided by: postgresql-doc-9.5 (Version: 9.5.25-0ubuntu0.16.04.1)
- Source: postgresql-9.5
- Report a bug
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 transaction. SPI_cursor_close need only be invoked if it is desirable to release resources sooner.
Portal portal