Heikki Linnakangas
eb81b6509f
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:18 +00:00
..
2010-07-03 20:43:58 +00:00
2010-01-15 09:19:10 +00:00
2010-06-29 00:18:11 +00:00
2010-07-03 13:53:13 +00:00
2010-02-26 02:01:40 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-04-19 19:02:18 +00:00
2010-02-26 02:01:40 +00:00
2010-03-30 21:58:11 +00:00
2010-04-19 00:55:26 +00:00
2010-03-17 16:52:38 +00:00
2010-05-28 16:34:15 +00:00
2010-02-13 02:34:16 +00:00
2010-02-26 02:01:40 +00:00
2009-12-01 21:00:24 +00:00
2010-07-03 20:43:58 +00:00
2010-02-26 02:01:40 +00:00
2010-01-02 16:58:17 +00:00
2010-07-03 20:43:58 +00:00
2010-02-26 02:01:40 +00:00
2010-04-02 15:21:20 +00:00
2010-07-05 09:27:18 +00:00
2010-05-27 07:59:48 +00:00
2010-05-27 07:59:48 +00:00
2010-02-26 02:01:40 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-15 09:19:10 +00:00
2010-06-17 17:44:40 +00:00
2010-01-07 04:53:35 +00:00
2010-05-25 17:28:20 +00:00
2010-06-04 07:28:30 +00:00
2010-01-02 16:58:17 +00:00
2010-02-26 02:01:40 +00:00
2010-01-02 16:58:17 +00:00
2010-05-15 14:44:13 +00:00
2007-02-06 09:16:08 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00