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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Modify tuptoaster's API so that it does not try to modify the
Date
Msg-id 20051120183820.EDFA6D6EFB@svr1.postgresql.org
Whole thread Raw
List 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.

Modified Files:
--------------
    pgsql/src/backend/access/heap:
        heapam.c (r1.200 -> r1.201)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/heapam.c.diff?r1=1.200&r2=1.201)
        tuptoaster.c (r1.53 -> r1.54)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/tuptoaster.c.diff?r1=1.53&r2=1.54)
    pgsql/src/backend/executor:
        execMain.c (r1.259 -> r1.260)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c.diff?r1=1.259&r2=1.260)
    pgsql/src/include/access:
        tuptoaster.h (r1.23 -> r1.24)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/tuptoaster.h.diff?r1=1.23&r2=1.24)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - be: Implement __iter__ per IP and fix regression on 8.0.
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Modify tuptoaster's API so that it does not try to modify the