1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-17 21:18:00 +02:00

Revert "Check --instance for VALIDATE"

This reverts commit a98bc4e8406e4e8242338b178e5ffe8fceae6d49.
This commit is contained in:
Arthur Zakirov 2018-02-26 16:24:21 +03:00
parent fa9d02e9a3
commit 025dc07988

View File

@ -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");