I have a PostgreSQL 9.4 database affected by the following bug in BDR:
https://github.com/2ndQuadrant/bdr/issues/309
In a nutshell, that bug in BDR resulted in missing dependencies in the pg_depend
system catalog. Now when I use pg_dump
, objects are dumped out of order and the dump can't be used without manual editing.
Is there a way to make PostgreSQL rebuild the dependencies in pg_depend
without rebuilding the database from scratch?