Hello
melkij=> CREATE DOMAIN type_currency AS numeric default 0;
CREATE DOMAIN
melkij=> create table tt ( i int, t type_currency);
CREATE TABLE
melkij=> insert into tt (i) values (1);
INSERT 0 1
melkij=> table tt;
i | t
---+---
1 | 0
Works for me.
Can you provide reproducible testcase?
regards, Sergei