Skip site navigation (1) Skip section navigation (2)

pgsql: Ensure that the contents of a holdable cursor don't depend on

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ensure that the contents of a holdable cursor don't depend on
Date: 2008-12-01 17:06:35
Message-ID: 20081201170635.45E227545A4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Ensure that the contents of a holdable cursor don't depend on out-of-line
toasted values, since those could get dropped once the cursor's transaction
is over.  Per bug #4553 from Andrew Gierth.

Back-patch as far as 8.1.  The bug actually exists back to 7.4 when holdable
cursors were introduced, but this patch won't work before 8.1 without
significant adjustments.  Given the lack of field complaints, it doesn't seem
worth the work (and risk of introducing new bugs) to try to make a patch for
the older branches.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        portalcmds.c (r1.57.2.1 -> r1.57.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/portalcmds.c?r1=1.57.2.1&r2=1.57.2.2)
    pgsql/src/backend/executor:
        tstoreReceiver.c (r1.17 -> r1.17.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/tstoreReceiver.c?r1=1.17&r2=1.17.2.1)
    pgsql/src/include/executor:
        tstoreReceiver.h (r1.8 -> r1.8.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/tstoreReceiver.h?r1=1.8&r2=1.8.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-12-01 17:06:41
Subject: pgsql: Ensure that the contents of a holdable cursor don't depend on
Previous:From: Tom LaneDate: 2008-12-01 17:06:27
Subject: pgsql: Ensure that the contents of a holdable cursor don't depend on

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group