I have a question. Is there any way to force PostgreSQL 9.3 backup / restore schema in the correct sequence of dependent objects? (for example: I need to create a function that is used in the materialized views before creating the materialized views itself). I got an error in schema restoring, because the materialized view is created before creating function itself.
Thanks