summaryrefslogtreecommitdiff
path: root/src/fe_utils/archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe_utils/archive.c')
-rw-r--r--src/fe_utils/archive.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fe_utils/archive.c b/src/fe_utils/archive.c
index aab813c1027..eb1c930ae7f 100644
--- a/src/fe_utils/archive.c
+++ b/src/fe_utils/archive.c
@@ -48,8 +48,6 @@ RestoreArchivedFile(const char *path, const char *xlogfname,
xlogRestoreCmd = BuildRestoreCommand(restoreCommand, xlogpath,
xlogfname, NULL);
- if (xlogRestoreCmd == NULL)
- pg_fatal("cannot use restore_command with %%r placeholder");
/*
* Execute restore_command, which should copy the missing file from