András Váczi <avandras@gmail.com> writes:
> Object list as pg_restore outputs (see error log below):
That is not tremendously helpful. pg_dump should generally dump casts
before views, and you have not provided any information that would tell
why it's not doing so in this case. We need to see a complete *self
contained* test case, such as a SQL script that creates a set of objects
that don't dump correctly.
regards, tom lane