aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogarchive.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-01-12 07:37:39 +0100
committerPeter Eisentraut <peter@eisentraut.org>2023-01-12 07:37:39 +0100
commit881fa869c6b0c4e2f310d1c145141dd9d6f53774 (patch)
tree4f42e4cdb0bb209ac89e574880e758cdadd5e3bd /src/backend/access/transam/xlogarchive.c
parent8607630d74cd83f636a72eb9f2eb62f67e1fb955 (diff)
downloadpostgresql-881fa869c6b0c4e2f310d1c145141dd9d6f53774.tar.gz
postgresql-881fa869c6b0c4e2f310d1c145141dd9d6f53774.zip
Code cleanup
for commit c96de2ce1782116bd0489b1cd69ba88189a495e8 Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/20230111185434.GA1912982@nathanxps13
Diffstat (limited to 'src/backend/access/transam/xlogarchive.c')
-rw-r--r--src/backend/access/transam/xlogarchive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c
index f911e8c3a6f..fcc87ff44fd 100644
--- a/src/backend/access/transam/xlogarchive.c
+++ b/src/backend/access/transam/xlogarchive.c
@@ -154,9 +154,6 @@ RestoreArchivedFile(char *path, const char *xlogfname,
xlogRestoreCmd = BuildRestoreCommand(recoveryRestoreCommand,
xlogpath, xlogfname,
lastRestartPointFname);
- if (xlogRestoreCmd == NULL)
- elog(ERROR, "could not build restore command \"%s\"",
- recoveryRestoreCommand);
ereport(DEBUG3,
(errmsg_internal("executing restore command \"%s\"",