SPI_CURSOR_CLOSE(3)

πŸ“¦ version 14.24, in opensuse-leap 16.0

πŸ’– 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