pgsql: Initialize number_of_jobs in NewRestoreOptions

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Initialize number_of_jobs in NewRestoreOptions
Date: 2017-02-07 15:17:20
Message-ID: E1cb7WC-00075U-HV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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-2wmfG08gCm9hhHA@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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-02-07 15:23:09 Re: [COMMITTERS] pgsql: Release note updates.
Previous Message Tom Lane 2017-02-07 14:17:25 Re: [COMMITTERS] pgsql: Release note updates.