]> 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:02:35 +0000 (09:02 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 13 Jul 2010 09:02:35 +0000 (09:02 +0000)
commit41252a12d6d5bdd5fc75ea1bf411f8903f7c14ac
tree5040df1cc41d57023dedfb003c200ff84a673a17
parent913f902089c03ec32accf141c73310c58d47822e
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