Well, I used only domains with fixed sizes.
create domain i32 as integer;create domain i16 as smallint;create domain datahora as timestamp;
--Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html