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