Skip to content

Commit ff46f2a

Browse files
committed
pg_dumpall: Allow --no-role-passwords and --binary-upgrade together
This was introduced as part of the patch to add --no-role-passwords, but while it's an unusual combination, there is no actual reason to prevent it.
1 parent 6cfaffc commit ff46f2a

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/bin/pg_dump/pg_dumpall.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -356,15 +356,6 @@ main(int argc, char *argv[])
356356
exit_nicely(1);
357357
}
358358

359-
if (no_role_passwords && binary_upgrade)
360-
{
361-
fprintf(stderr, _("%s: options --no-role-passwords and --binary-upgrade cannot be used together\n"),
362-
progname);
363-
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
364-
progname);
365-
exit_nicely(1);
366-
}
367-
368359
/*
369360
* If password values are not required in the dump, switch to
370361
* using pg_roles which is equally useful, just more likely

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy