Tweak writetup_heap/readtup_heap to avoid storing the tuple identity

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 7f52e0c50e4d3e091fb3db2432a86249029af3d4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-05-23T21:37:59Z
Releases: 8.2.0
Tweak writetup_heap/readtup_heap to avoid storing the tuple identity
and transaction visibility fields of tuples being sorted.  These are
always uninteresting in a tuple being sorted (if the fields were actually
selected, they'd have been pulled out into user columns beforehand).
This saves about 24 bytes per row being sorted, which is a useful savings
for any but the widest of sort rows.  Per recent discussion.

Files

PathChange+/−
src/backend/utils/sort/tuplesort.c modified +85 −18
src/include/utils/tuplesort.h modified +6 −2