PostgreSQL, pg_dump and pg_restore and the order of object dependencies

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

thank

+3


source to share





All Articles