]> granicus.if.org Git - postgresql/commit
Fix invalid-parallel-jobs error message
authorStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:39 +0000 (23:09 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:39 +0000 (23:09 -0500)
commit7cda702363e8bfb61409bb8cbae13689b19f1648
tree66a05e5b442cf105b7f694e78656fa96d48cc33b
parenta8191800a6e63e8f4a61e6c3eccdfb428eb085d8
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