We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2824a commit 584100eCopy full SHA for 584100e
src/bin/pg_dump/pg_dumpall.c
@@ -646,10 +646,11 @@ main(int argc, char *argv[])
646
}
647
648
/*
649
- * Exit restricted mode just before dumping the databases. pg_dump will
+ * Exit restricted mode just before dumping the databases except Babelfish. pg_dump will
650
* handle entering restricted mode again as appropriate.
651
*/
652
- fprintf(OPF, "\\unrestrict %s\n\n", restrict_key);
+ if (!isBabelfishDatabase(conn))
653
+ fprintf(OPF, "\\unrestrict %s\n\n", restrict_key);
654
655
if (!globals_only && !roles_only && !tablespaces_only)
656
dumpDatabases(conn);
0 commit comments