Modify tuptoaster's API so that it does not try to modify the passed
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Nov 2005 18:38:42 +0000 (18:38 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 20 Nov 2005 18:38:42 +0000 (18:38 +0000)
commit09b877e9e9b1afa1c7bb63fbeb348c0736874afb
tree9926d9e3e7012bba90ff0ff3406617a640e2b052
parentd42d016e9212ed59c9862701a1c51facb0cb6fa1
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.
src/backend/access/heap/heapam.c
src/backend/access/heap/tuptoaster.c
src/backend/executor/execMain.c
src/include/access/tuptoaster.h