Arrange to squeeze out the MINIMAL_TUPLE_PADDING in the tuple representation
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Oct 2008 15:51:03 +0000 (15:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 28 Oct 2008 15:51:03 +0000 (15:51 +0000)
commitd26bf23f344887aecac93e9cd22b1dae64f18c83
tree5c199ea34c21361fc5e8f36e96d106dd39ae3487
parent8ecd5351691210ba5b536cd4c1251ea1fce090bb
Arrange to squeeze out the MINIMAL_TUPLE_PADDING in the tuple representation
written to temp files by tuplesort.c and tuplestore.c.  This saves 2 bytes per
row for 32-bit machines, and 6 bytes per row for 64-bit machines, which seems
worth the slight additional uglification of the tuple read/write routines.
src/backend/utils/sort/tuplesort.c
src/backend/utils/sort/tuplestore.c
src/include/access/htup.h