mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
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.