SPI_CURSOR_CLOSE(3)
π NAME π
Okay bestie, welcome to SPI_CURSOR_CLOSE(3) from the PostgreSQL 14.24 Documentation β¨ β this is the page about closing a cursor, and itβs lowkey iconic for resource cleanup.
SPI_cursor_close β close a cursor π
πΈ SYNOPSIS πΈ
void SPI_cursor_close(Portal portal)
π¦ DESCRIPTION π¦
So SPI_cursor_close closes a previously created cursor and releases its portal storage. Slay, bye storage π
All open cursors are closed automatically at the end of a transaction. You only need to invoke SPI_cursor_close if it is desirable to release resources sooner β like, no cap, itβs the βclean up before the group chat gets chaoticβ option π«Ά
β¨ ARGUMENTS β¨
Portal portalβ the portal containing the cursor π
π Thatβs the whole vibe: PostgreSQL 14.24, dated 2026, signing off from SPI_CURSOR_CLOSE(3) β periodt! πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14-docs 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms