> I have some other problems with my dumps that stops them from being
> restored later. It seems like functions and views are exported in the
> wrong order.
pg_dump is pretty weak in that area --- someone needs to rewrite it to
take advantage of the dependency info that the backend now maintains,
rather than relying on OID ordering as it largely does now.
But if you can generate a reproducible example, send it in.
regards, tom lane