]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix invalid-parallel-jobs error message
authorStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:37 +0000 (23:09 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 10 Jan 2017 04:09:37 +0000 (23:09 -0500)
commit499606c806c387ba2f9a9ee773e6b92d99e27221
tree89c1bb9458c45f4927a213956ac12bd7ce34e11b
parente4380e4cf68a647d87f0e6207b513d49e802b45c
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