PostgreSQL

PostgreSQL Elephant Logo

SPI_cursor_close

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


Prev Up Next

SPI_scroll_cursor_move

Home

SPI_keepplan

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.

Copyright © 1996-2023 The PostgreSQL Global Development Group