[COMMITTERS] pgsql: Fix invalid-parallel-jobs error message - Mailing list pgsql-committers

From Stephen Frost
Subject [COMMITTERS] pgsql: Fix invalid-parallel-jobs error message
Date
Msg-id E1cQnld-00068i-Lx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2ef6fe9cbae9fe7789a35cbc5fa1bbf78c163d42

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix error handling in pltcl_returnnext.
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Improve coding in _hash_addovflpage.