mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
fix compiler warnings
This commit is contained in:
parent
da960204bb
commit
7fe9cb953c
2
backup.c
2
backup.c
@ -916,7 +916,7 @@ pg_stop_backup(pgBackup *backup)
|
||||
PGresult *res;
|
||||
uint32 xlogid;
|
||||
uint32 xrecoff;
|
||||
XLogRecPtr restore_lsn;
|
||||
XLogRecPtr restore_lsn = InvalidXLogRecPtr ;
|
||||
bool sent = false;
|
||||
int pg_stop_backup_timeout = 0;
|
||||
|
||||
|
2
delete.c
2
delete.c
@ -130,7 +130,7 @@ do_retention_purge(void)
|
||||
size_t i;
|
||||
time_t days_threshold = time(NULL) - (retention_window * 60 * 60 * 24);
|
||||
XLogRecPtr oldest_lsn = InvalidXLogRecPtr;
|
||||
TimeLineID oldest_tli;
|
||||
TimeLineID oldest_tli = 0;
|
||||
bool keep_next_backup = true; /* Do not delete first full backup */
|
||||
bool backup_deleted = false; /* At least one backup was deleted */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user