From 025dc079884cae65be63977ce4ce483fc5261e76 Mon Sep 17 00:00:00 2001
From: Arthur Zakirov <z-arthur@yandex.ru>
Date: Mon, 26 Feb 2018 16:24:21 +0300
Subject: [PATCH] Revert "Check --instance for VALIDATE"

This reverts commit a98bc4e8406e4e8242338b178e5ffe8fceae6d49.
---
 src/pg_probackup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pg_probackup.c b/src/pg_probackup.c
index e0e00db1..88270042 100644
--- a/src/pg_probackup.c
+++ b/src/pg_probackup.c
@@ -323,7 +323,7 @@ main(int argc, char *argv[])
 	}
 
 	/* Option --instance is required for all commands except init and show */
-	if (backup_subcmd != INIT && backup_subcmd != SHOW)
+	if (backup_subcmd != INIT && backup_subcmd != SHOW && backup_subcmd != VALIDATE)
 	{
 		if (instance_name == NULL)
 			elog(ERROR, "required parameter not specified: --instance");