Солодовников Константин <ks@tcnet.ru> writes:
> When I insert a new row into this table without providing a value for the
> "i1" column, I get a value of "45" in it.
Seems odd to me too; it should default to NULL if no value is specified
or available from a DEFAULT clause. Can't guess why you're seeing a
problem without more details, though. Could you show us the code you
used to define your datatype?
regards, tom lane