]> 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:02:40 +0000 (09:02 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 13 Jul 2010 09:02:40 +0000 (09:02 +0000)
commit06e398a50a0a63a1a7cf3b101f680c6c47aaad97
tree649d3825fbcb3dc439dd8ee961c35f8801414437
parent22afb5915cea37122231e9255610e72901dd527c
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