]> git.ipfire.org Git - thirdparty/postgresql.git/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:01 +0000 (09:03 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 13 Jul 2010 09:03:01 +0000 (09:03 +0000)
commitb9ded24614b3209e909014744a553f7b334331f2
tree1d7f55f15189e68523f78962dcc0aca3a91a6c54
parentdae11908e8dfa72f87d6f3af3c9c2c29dadefcd4
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