I tried to dump the entire database and did:
pg_dumpall -D > /tmp/dumpall.dmp
Then I got this error message:
getTables(): SELECT (for VIEW ec_subsubcategories_augmented) returned NULL oid
SELECT was: SELECT definition as viewdef, (select oid from pg_rewrite where rulename='_RET' || viewname) as view_oid from pg_views where viewname = 'ec_subsubcategories_augmented';
pg_dump failed on arasis, exiting
Anyone familiar with this?