This page in other versions: Unsupported versions: 7.2 / 7.3

SPI_cursor_close

Name

SPI_cursor_close -- Closes a cursor

Synopsis

SPI_cursor_close(portal)

Inputs

Portal portal

Portal containing cursor

Outputs

None

Description

SPI_cursor_close closes a previously created cursor and releases its Portal storage.

Usage

All open cursors are closed implicitly at transaction end. SPI_cursor_close need only be invoked if it is desirable to release resources sooner.

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group