Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf9a3e34

Browse files
peterepull[bot]
authored andcommitted
Code cleanup
for commitc96de2cAuthor: Nathan Bossart <nathandbossart@gmail.com>Discussion:https://www.postgresql.org/message-id/20230111185434.GA1912982@nathanxps13
1 parenta66cded commitf9a3e34

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎src/backend/access/transam/xlogarchive.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ RestoreArchivedFile(char *path, const char *xlogfname,
154154
xlogRestoreCmd=BuildRestoreCommand(recoveryRestoreCommand,
155155
xlogpath,xlogfname,
156156
lastRestartPointFname);
157-
if (xlogRestoreCmd==NULL)
158-
elog(ERROR,"could not build restore command \"%s\"",
159-
recoveryRestoreCommand);
160157

161158
ereport(DEBUG3,
162159
(errmsg_internal("executing restore command \"%s\"",

‎src/common/archive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* The result is a palloc'd string for the restore command built. The
3434
* caller is responsible for freeing it. If any of the required arguments
3535
* is NULL and that the corresponding alias is found in the command given
36-
* by the caller, thenNULLisreturned.
36+
* by the caller, thenan erroristhrown.
3737
*/
3838
char*
3939
BuildRestoreCommand(constchar*restoreCommand,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp