Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit25f12ac

Browse files
committed
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 anerror where it actually should, leading to incorrect status results.Author: Julien RouhaudReviewed-by: Amit Kapila, Michael PaquierDiscussion:https://postgr.es/m/CAOBaU_ZuTwz7CtqLYJ1Ouuh272bTQPLN8b1bAPk0bCBm4PDMTQ@mail.gmail.comBackpatch-through: 9.5
1 parenta9d5383 commit25f12ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/bin/scripts/vacuumdb.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,10 @@ vacuum_one_database(const char *dbname, vacuumingOptions *vacopts,
524524
for (j=0;j<concurrentCons;j++)
525525
{
526526
if (!GetQueryResult((slots+j)->connection,progname))
527+
{
528+
failed= true;
527529
gotofinish;
530+
}
528531
}
529532
}
530533

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp