Text Size: Normal / Large
This page in other versions: 9.2 / 9.1 / 9.0 / 8.4  |  Unsupported versions: 8.3 / 8.2 / 8.1 / 8.0 / 7.4 / devel

SPI_cursor_close

Name

SPI_cursor_close -- close a cursor

Synopsis

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

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