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

Commit2ef6fe9

Browse files
committed
Fix invalid-parallel-jobs error message
Including the program name twice is not helpful:-> pg_dump -j -1pg_dump: pg_dump: invalid number of parallel jobsCorrect by removing the progname from the exit_horribly() call used whenvalidating the number of parallel jobs.Noticed while testing various pg_dump error cases.Back-patch to 9.3 where parallel pg_dump was added.
1 parent8c57229 commit2ef6fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ main(int argc, char **argv)
623623
|| numWorkers > MAXIMUM_WAIT_OBJECTS
624624
#endif
625625
)
626-
exit_horribly(NULL, "%s:invalid number of parallel jobs\n", progname);
626+
exit_horribly(NULL, "invalid number of parallel jobs\n");
627627

628628
/* Parallel backup only in the directory archive format so far */
629629
if (archiveFormat != archDirectory && numWorkers > 1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp