aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-21 09:49:58 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2010-06-21 09:49:58 +0000
commit855d440a2f910d690deccfd5f81aaf6b190f16a8 (patch)
tree414b5ddc42c62a5df71cb70d6308e291f9186339 /src/backend/parser/parse_expr.c
parentc4ac2ff765d9b68a3ff2a3461804489721770d06 (diff)
downloadpostgresql-855d440a2f910d690deccfd5f81aaf6b190f16a8.tar.gz
postgresql-855d440a2f910d690deccfd5f81aaf6b190f16a8.zip
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 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions