SPI_cursor_close (3)
Leading comments
Title: SPI_cursor_close Author: The PostgreSQL Global Development Group Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> Date: 2017 Manual: PostgreSQL 9.6.5 Documentation Source: PostgreSQL 9.6.5 Language: English
NAME
SPI_cursor_close - close a cursorSYNOPSIS
void SPI_cursor_close(Portal portal)
DESCRIPTION
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.
ARGUMENTS
Portal portal
- portal containing the cursor