OSDN Git Service

Tweak writetup_heap/readtup_heap to avoid storing the tuple identity
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 May 2006 21:37:59 +0000 (21:37 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 May 2006 21:37:59 +0000 (21:37 +0000)
commit7f52e0c50e4d3e091fb3db2432a86249029af3d4
treeb6f6d6dac88feaa1d36c3cf1233b009806b160bf
parent672f0beb01553c71ff2afb6be7941c081798d758
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.
src/backend/utils/sort/tuplesort.c
src/include/utils/tuplesort.h