Skip to content

Commit 0c66a16

Browse files
committed
Remove useless duplicate call of defGetBoolean().
Seems to be a copy-and-paste error dating to dc21234. Noted while reviewing a related documentation patch.
1 parent 2daeba6 commit 0c66a16

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/backup/basebackup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,6 @@ parse_basebackup_options(List *options, basebackup_options *opt)
791791
ereport(ERROR,
792792
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
793793
errmsg("incremental backups cannot be taken unless WAL summarization is enabled")));
794-
opt->incremental = defGetBoolean(defel);
795794
o_incremental = true;
796795
}
797796
else if (strcmp(defel->defname, "max_rate") == 0)

0 commit comments

Comments
 (0)