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

Commit67445de

Browse files
committed
Add missing exit() in pg_verifybackup when failing to find pg_waldump
pg_verifybackup needs by default pg_waldump to check after a range ofWAL segments required for a backup, except if --no-parse-wal isspecified. The code checked for the presence of the binary pg_waldumpin an installation and reported an error, but it forgot to properlyexit(). This could lead to confusing errors reported.Reviewed-by: Robert Haas, Fabien CoelhoDiscussion:https://postgr.es/m/YQDMdB+B68yePFeT@paquier.xyzBackpatch-through: 13
1 parentf2a3d74 commit67445de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/pg_verifybackup/pg_verifybackup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ main(int argc, char **argv)
304304
"but was not the same version as %s.\n"
305305
"Check your installation.",
306306
"pg_waldump",full_path,"pg_verifybackup");
307+
exit(1);
307308
}
308309
}
309310

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp