pgsql: Oops, in the previous fix to prevent a cursor that's being used - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Oops, in the previous fix to prevent a cursor that's being used
Date
Msg-id 20100713090246.5E9F87541D5@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/mmgr:
        portalmem.c (r1.106.2.4 -> r1.106.2.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/portalmem.c?r1=1.106.2.4&r2=1.106.2.5)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Oops, in the previous fix to prevent a cursor that's being used
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Oops, in the previous fix to prevent a cursor that's being used