"Kevin Grittner" <kgrittn@mail.com> writes:
> I've been struggling with two areas:
> - pg_dump sorting for MVs which depend on other MVs
Surely that should fall out automatically given that the dependency is
properly expressed in pg_depend?
If you mean you're trying to get it to cope with circular dependencies
between MVs, it might take some work on the pg_dump side, but plain
ordering shouldn't require new code.
regards, tom lane