PL/pgSQL local cursors
Add opt-in function-scoped cursors to PL/pgSQL so their portals close automatically when the function exits.
Versions
- PostgreSQL 17 · worked-on · improved · moderate
Add opt-in function-scoped cursors to PL/pgSQL so their portals close automatically when the function exits.