mirror of
https://github.com/postgres/postgres.git
synced 2025-05-12 16:21:30 +03:00
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.
This commit is contained in:
parent
6cfaffc0dd
commit
ff46f2a053
@ -356,15 +356,6 @@ main(int argc, char *argv[])
|
|||||||
exit_nicely(1);
|
exit_nicely(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (no_role_passwords && binary_upgrade)
|
|
||||||
{
|
|
||||||
fprintf(stderr, _("%s: options --no-role-passwords and --binary-upgrade cannot be used together\n"),
|
|
||||||
progname);
|
|
||||||
fprintf(stderr, _("Try \"%s --help\" for more information.\n"),
|
|
||||||
progname);
|
|
||||||
exit_nicely(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If password values are not required in the dump, switch to
|
* If password values are not required in the dump, switch to
|
||||||
* using pg_roles which is equally useful, just more likely
|
* using pg_roles which is equally useful, just more likely
|
||||||
|
Loading…
x
Reference in New Issue
Block a user