]> granicus.if.org Git - postgresql/commit
Oops, in the previous fix to prevent a cursor that's being used in a FOR
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 13 Jul 2010 09:03:11 +0000 (09:03 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 13 Jul 2010 09:03:11 +0000 (09:03 +0000)
commitb2396701733f72a94f011198fa0855d621fd5ffa
tree497aa173f8ff35c9f7c3ed13e2c3192fac9de818
parentb8accd651219de90968aa0900fe95ac04cda007c
Oops, in the previous fix to prevent a cursor that's being used in a FOR
loop from being dropped, I missed subtransaction cleanup. Pinned portals
must be dropped at subtransaction cleanup just as they are at main
transaction cleanup.

Per bug #5556 by Robert Walker. Backpatch to 8.0, 7.4 didn't have
subtransactions.
src/backend/utils/mmgr/portalmem.c