Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitff46f2a

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, butwhile it's an unusual combination, there is no actual reason to preventit.
1 parent6cfaffc commitff46f2a

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)

[8]ページ先頭

©2009-2025 Movatter.jp