"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> Shouldn't it be an error to create a domain that conflicts with an existing
> type?
It is, if you create it in the same schema. "money", along with all the
other built-in types, is in pg_catalog not public.
regards, tom lane