SPI_CURSOR_CLOSE(3)

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

🌸 NAME 🌸

This is SPI_CURSOR_CLOSE(3), bestie β€” straight from the PostgreSQL 13.23 Documentation β€” and it's all about SPI_cursor_close: close a cursor πŸ’…

✨ SYNOPSIS ✨

void SPI_cursor_close(Portal portal)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so SPI_cursor_close closes a previously created cursor and releases its portal storage. Slay, portal storage released πŸ’–

All open cursors are closed automatically at the end of a transaction. So SPI_cursor_close need only be invoked if it is desirable to release resources sooner β€” it's giving "early cleanup main character energy" ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • Portal portal β€” the portal containing the cursor 🫢

xoxo, this was SPI_CURSOR_CLOSE(3) from PostgreSQL 13.23 Documentation, dated 2025 πŸ¦‹πŸ’–

πŸ“¦ where this page comes from