Teodor Sigaev <teodor@stack.net> writes:
> Why field 'bar' has modifier 'not null'?
Hmm ... looks like CREATE TYPE is leaving typnotnull set TRUE for user-
created types; all the types created on-the-fly in the regression tests
have the same problem. A bug, I agree. Don't see where the error is
yet...
regards, tom lane