mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-02 09:53:24 +02:00
Check --instance for VALIDATE with target parameters
This commit is contained in:
parent
025dc07988
commit
615c94c37e
@ -106,6 +106,9 @@ do_restore_or_validate(time_t target_backup_id,
|
||||
elog(ERROR, "restore destination is not empty: \"%s\"", pgdata);
|
||||
}
|
||||
|
||||
if (instance_name == NULL)
|
||||
elog(ERROR, "required parameter not specified: --instance");
|
||||
|
||||
rt = parseRecoveryTargetOptions(target_time, target_xid, target_inclusive);
|
||||
|
||||
elog(LOG, "%s begin.", action);
|
||||
|
Loading…
Reference in New Issue
Block a user