PostgreSQL, pg_dump and pg_restore and object dependency order

1.6k views Asked by At

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

0

There are 0 answers