Skip to content
Snippets Groups Projects
Commit 2e8a832d authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

In a PL/pgSQL "FOR cursor" statement, the statements executed in the loop

might close the cursor,  rendering the Portal pointer to it invalid.
Closing the cursor in the middle of the loop is not a very sensible thing
to do, but we must handle it gracefully and throw an error instead of
crashing.
parent f685cbba
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment