]> granicus.if.org Git - postgresql/commit
Fix invalid-parallel-jobs error message
authorStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:33 +0000 (23:09 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:33 +0000 (23:09 -0500)
commit96f2344f381df94fcb9b84bffc58bbc540edd842
tree5ac8ac3877fd94257da7b2b31ae0365cbe3583ce
parent4e563a1f6532decf7949324d313f264a4ed38622
Fix invalid-parallel-jobs error message

Including the program name twice is not helpful:

-> pg_dump -j -1
pg_dump: pg_dump: invalid number of parallel jobs

Correct by removing the progname from the exit_horribly() call used when
validating the number of parallel jobs.

Noticed while testing various pg_dump error cases.

Back-patch to 9.3 where parallel pg_dump was added.
src/bin/pg_dump/pg_dump.c