Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SPI_cursor_close - close a cursor

Arguments

Portal portal portal containing the cursor PostgreSQL 17.5 2025 SPI_CURSOR_CLOSE(3)

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.

Name

SPI_cursor_close - close a cursor

Synopsis

void SPI_cursor_close(Portal portal)

See Also