We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9243a8a commit d1cb537Copy full SHA for d1cb537
src/validate.c
@@ -343,6 +343,14 @@ do_validate_all(void)
343
do_validate_instance();
344
}
345
346
+ /* TODO: Probably we should have different exit code for every condition
347
+ * and they combination:
348
+ * 0 - all backups are valid
349
+ * 1 - some backups are corrup
350
+ * 2 - some backups where skipped due to concurrent locks
351
+ * 3 - some backups are corrupt and some are skipped due to concurrent locks
352
+ */
353
+
354
if (skipped_due_to_lock)
355
elog(WARNING, "Some backups weren't locked and they were skipped");
356
0 commit comments