postgresql/src/pl
Heikki Linnakangas 0f0b236b03 The previous fix in CVS HEAD and 8.4 for handling the case where a cursor
being used in a PL/pgSQL FOR loop is closed was inadequate, as Tom Lane
pointed out. The bug affects FOR statement variants too, because you can
close an implicitly created cursor too by guessing the "<unnamed portal X>"
name created for it.

To fix that, "pin" the portal to prevent it from being dropped while it's
being used in a PL/pgSQL FOR loop. Backpatch all the way to 7.4 which is
the oldest supported version.
2010-07-05 09:27:24 +00:00
..
plperl > Follow up a visit from the style police. 2010-05-17 20:46:53 +00:00
plpgsql The previous fix in CVS HEAD and 8.4 for handling the case where a cursor 2010-07-05 09:27:24 +00:00
plpython Translation update 2010-05-13 10:50:20 +00:00
tcl Prevent PL/Tcl from loading the "unknown" module from pltcl_modules unless 2010-05-13 18:29:19 +00:00
Makefile Catch all errors in for and while loops in makefiles. Don't ignore any 2008-03-18 16:24:50 +00:00