SPI_CURSOR_CLOSE(3) PostgreSQL 9.2.7 Documentation SPI_CURSOR_CLOSE(3)NAMESPI_cursor_close - close a cursorSYNOPSISvoid SPI_cursor_close(Portal portal)DESCRIPTIONSPI_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.ARGUMENTSPortal portal portal containing the cursor PostgreSQL 9.2.7 2014-02-17 SPI_CURSOR_CLOSE(3)