"George Pavlov" <gpavlov(at)mynewplace(dot)com> writes:
> -- this creates a table with a not-nullable column (datatype
> -- inherited from the original table) which contains nulls;
Hm. Arguably we should discard domain-ness in any SELECT result,
but I'm sure some people would complain about that ...
regards, tom lane