Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Then I think we need to work out a way to make pg_dump smart enough to
> dump things in the right order.
That's not really the most preferable solution, I think, seeing that it
still leaves the user with the problem of having to create the types in
the right order to start with.
regards, tom lane