]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix error status of vacuumdb when multiple jobs are used
authorMichael Paquier <michael@paquier.xyz>
Thu, 9 May 2019 01:29:29 +0000 (10:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 9 May 2019 01:29:29 +0000 (10:29 +0900)
commit25f12acd53f603a581d8bc89920037a811f12f82
tree778fbe9e49e36dcbeb81cc311d638ea1e07d2991
parenta9d5383db2e17a602ab6f9f0b4955623a8d444a6
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
src/bin/scripts/vacuumdb.c