Closed NikolayS closed 6 years ago
create table x(a "char", b int8, c "char");
– for this table report a1 (new, from branch "alignment") gives:
Table | Table Size | Bytes Wasted in a Row | Wasted -------+------------+-----------------------+------------------ x | 536 kB | | (3 rows)
The alignment padding here is 14 bytes, but it isn't shown.
insert into x select ' ', -2, ' ' from generate_series(1, 10000); select get_raw_page('x',0); ...2000000000000000feffffffffffffff2000000000000000
Todo:
(reported by S B over telegram channel)
done, committed to alignment branch
alignment
supports "char" (aka bpchar), char(N)
not yet supported/checked:
merged to master
– for this table report a1 (new, from branch "alignment") gives:
The alignment padding here is 14 bytes, but it isn't shown.
Todo:
(reported by S B over telegram channel)