     column_name,
     udt_name,
     typalign,
+    typlen,
     case typalign -- see https://www.postgresql.org/docs/current/static/catalog-pg-type.html
       when 'c' then
         case when typlen > 0 then typlen % chunk_size else 0 end

    column_name,
    udt_name,
    typalign,
    _shift,
    alt_order_group,
    character_maximum_length

--Alignmet Padding Analysis: how many bytes can be saved if columns are ordered better?

-- TODO: not-yet-analyzed tables – show a warning (cannot get n_live_tup -> cannot get total bytes)
-- TODO: NULLs
-- TODO: simplify, cleanup
-- TODO: chunk_size 4 or 8
with recursive constants as (
  select 8 as chunk_size
), columns as (
