pgsql: Don't force materializing when copying a buffer tuple tableslot - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Don't force materializing when copying a buffer tuple tableslot
Date
Msg-id E1gzUbY-0004Wx-I5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Don't force materializing when copying a buffer tuple table slot.

After 5408e233f0667478 it's not necessary to force materializing the
target slot when copying from one buffer slot to another. Previously
that was required because the HeapTupleData portion of the source slot
wasn't guaranteed to stay valid long enough, but now we can simply
copy that part into the destination slot's tupdata.

Author: Andres Freund

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f0577386e68c3b1c83a07b95756e5ee3f4ae73f

Modified Files
--------------
src/backend/executor/execTuples.c | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Improve docs for ALTER TABLE .. SET TABLESPACE
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Use slots in trigger infrastructure, except for the actualinvoc