diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-06-21 09:49:58 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-06-21 09:49:58 +0000 |
commit | 855d440a2f910d690deccfd5f81aaf6b190f16a8 (patch) | |
tree | 414b5ddc42c62a5df71cb70d6308e291f9186339 /contrib | |
parent | c4ac2ff765d9b68a3ff2a3461804489721770d06 (diff) | |
download | postgresql-855d440a2f910d690deccfd5f81aaf6b190f16a8.tar.gz |
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.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions