pgsql: Fix error status of vacuumdb when multiple jobs are used

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix error status of vacuumdb when multiple jobs are used
Date: 2019-05-09 01:32:02
Message-ID: E1hOXuk-0003Yf-Ae@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix error status of vacuumdb when multiple jobs are used

When running a batch of VACUUM or ANALYZE commands on a given database,
there were cases where it is possible to have vacuumdb not report an
error where it actually should, leading to incorrect status results.

Author: Julien Rouhaud
Reviewed-by: Amit Kapila, Michael Paquier
Discussion: https://postgr.es/m/CAOBaU_ZuTwz7CtqLYJ1Ouuh272bTQPLN8b1bAPk0bCBm4PDMTQ@mail.gmail.com
Backpatch-through: 9.5

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3ae3c18b362817f9412c380539f1a16c7abb79c9

Modified Files
--------------
src/bin/scripts/vacuumdb.c | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-05-09 03:27:59 pgsql: Clean up the behavior and API of catalog.c's is-catalog-relation
Previous Message Tatsuo Ishii 2019-05-08 22:58:00 Re: pgsql: docs: fist draft version of the PG 12 release notes