1SPI_CURSOR_CLOSE(3) PostgreSQL 12.6 Documentation SPI_CURSOR_CLOSE(3)
2
3
4
6 SPI_cursor_close - close a cursor
7
9 void SPI_cursor_close(Portal portal)
10
12 SPI_cursor_close closes a previously created cursor and releases its
13 portal storage.
14
15 All open cursors are closed automatically at the end of a transaction.
16 SPI_cursor_close need only be invoked if it is desirable to release
17 resources sooner.
18
20 Portal portal
21 portal containing the cursor
22
23
24
25PostgreSQL 12.6 2021 SPI_CURSOR_CLOSE(3)