Arrange to squeeze out the MINIMAL_TUPLE_PADDING in the tuple representation
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/sort/tuplesort.c | modified | +16 −12 |
| src/backend/utils/sort/tuplestore.c | modified | +19 −9 |
| src/include/access/htup.h | modified | +7 −1 |