We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f549245 commit 93640d2Copy full SHA for 93640d2
src/restore.c
@@ -834,16 +834,6 @@ create_recovery_conf(time_t backup_id,
834
if (rt->recovery_target_immediate)
835
fprintf(fp, "recovery_target = 'immediate'\n");
836
837
- /*
838
- * If 'backup_id' is provided and no other recovery target option is specified,
839
- * end recovery as soon as a consistent state is reached.
840
- */
841
- if ((backup_id != 0) &&
842
- (!(rt->time_specified || rt->xid_specified || rt->recovery_target_name)))
843
- {
844
- fprintf(fp, "recovery_target = 'immediate'\n");
845
- }
846
-
847
if (rt->inclusive_specified)
848
fprintf(fp, "recovery_target_inclusive = '%s'\n",
849
rt->recovery_target_inclusive?"true":"false");
0 commit comments