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

pgsql: Modify tuptoaster's API so that it does not try to modify the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Modify tuptoaster's API so that it does not try to modify the
Date: 2005-11-20 18:38:43
Message-ID: 20051120183843.2EA61D7FCA@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Modify tuptoaster's API so that it does not try to modify the passed
tuple in-place, but instead passes back an all-new tuple structure if
any changes are needed.  This is a much cleaner and more robust solution
for the bug discovered by Alexey Beschiokov; accordingly, revert the
quick hack I installed yesterday.
With this change, HeapTupleData.t_datamcxt is no longer needed; will
remove it in a separate commit in HEAD only.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.200 -> r1.200.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c.diff?r1=1.200&r2=1.200.2.1)
        tuptoaster.c (r1.53 -> r1.53.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/tuptoaster.c.diff?r1=1.53&r2=1.53.2.1)
    pgsql/src/backend/executor:
        execMain.c (r1.256.2.2 -> r1.256.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.256.2.2&r2=1.256.2.3)
    pgsql/src/include/access:
        tuptoaster.h (r1.23 -> r1.23.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/tuptoaster.h.diff?r1=1.23&r2=1.23.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2005-11-20 19:49:08
Subject: pgsql: Remove the t_datamcxt field of HeapTupleData.
Previous:From: Tom LaneDate: 2005-11-20 18:38:20
Subject: pgsql: Modify tuptoaster's API so that it does not try to modify the

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