Initialize number_of_jobs in NewRestoreOptions

Now that we're checking that the number_of_jobs passed in isn't zero or
negative, we need to actually initialize number_of_jobs to '1' when it
isn't set.

Pointed out by Rushabh Lathia, though not his patch.

Discussion: 
https://postgr.es/m/CAGPqQf2u1T3J=anhcw1cuvzqjd80owvmg2-2wmfg08gcm9h...@mail.gmail.com

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0021ce274319215fdc481ae29f059068f7a5bf0a

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to