pgsql: Ensure that the contents of a holdable cursor don't depend on - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Ensure that the contents of a holdable cursor don't depend on
Date
Msg-id 20081201170641.869DF7545A4@cvs.postgresql.org
Whole thread Raw
List 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_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/commands:
        portalcmds.c (r1.44.2.1 -> r1.44.2.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/portalcmds.c?r1=1.44.2.1&r2=1.44.2.2)
    pgsql/src/backend/executor:
        tstoreReceiver.c (r1.15 -> r1.15.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/tstoreReceiver.c?r1=1.15&r2=1.15.2.1)
    pgsql/src/include/executor:
        tstoreReceiver.h (r1.7 -> r1.7.6.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/tstoreReceiver.h?r1=1.7&r2=1.7.6.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Ensure that the contents of a holdable cursor don't depend on
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Modify the new to_timestamp implementation so that