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)
commit5230c754b8e4022e5c0608fc212bdab2cd06f652
tree32c66fe23981c00ec7b6e028a1f59238ee4a6c67
parentc83d9efb3356bd4c7d307d93ac2e5265a2965177
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