File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -916,7 +916,7 @@ pg_stop_backup(pgBackup *backup)
916
916
PGresult * res ;
917
917
uint32 xlogid ;
918
918
uint32 xrecoff ;
919
- XLogRecPtr restore_lsn ;
919
+ XLogRecPtr restore_lsn = InvalidXLogRecPtr ;
920
920
bool sent = false;
921
921
int pg_stop_backup_timeout = 0 ;
922
922
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ do_retention_purge(void)
130
130
size_t i ;
131
131
time_t days_threshold = time (NULL ) - (retention_window * 60 * 60 * 24 );
132
132
XLogRecPtr oldest_lsn = InvalidXLogRecPtr ;
133
- TimeLineID oldest_tli ;
133
+ TimeLineID oldest_tli = 0 ;
134
134
bool keep_next_backup = true; /* Do not delete first full backup */
135
135
bool backup_deleted = false; /* At least one backup was deleted */
136
136
You can’t perform that action at this time.
0 commit comments