Skip to content

Commit 2fac44e

Browse files
committed
fix merge conflits
1 parent 7fe5625 commit 2fac44e

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

src/catalog.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ pgBackupInit(pgBackup *backup)
783783
backup->stream = false;
784784
backup->from_replica = false;
785785
backup->parent_backup = INVALID_BACKUP_ID;
786+
backup->parent_backup_link = NULL;
786787
backup->primary_conninfo = NULL;
787788
backup->program_version[0] = '\0';
788789
backup->server_version[0] = '\0';

src/util.c

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -323,37 +323,3 @@ remove_not_digit(char *buf, size_t len, const char *str)
323323
}
324324
buf[j] = '\0';
325325
}
326-
327-
/* Fill pgBackup struct with default values */
328-
void
329-
pgBackup_init(pgBackup *backup)
330-
{
331-
backup->backup_id = INVALID_BACKUP_ID;
332-
backup->backup_mode = BACKUP_MODE_INVALID;
333-
backup->status = BACKUP_STATUS_INVALID;
334-
backup->tli = 0;
335-
backup->start_lsn = 0;
336-
backup->stop_lsn = 0;
337-
backup->start_time = (time_t) 0;
338-
backup->end_time = (time_t) 0;
339-
backup->recovery_xid = 0;
340-
backup->recovery_time = (time_t) 0;
341-
342-
backup->data_bytes = BYTES_INVALID;
343-
backup->wal_bytes = BYTES_INVALID;
344-
345-
backup->compress_alg = COMPRESS_ALG_DEFAULT;
346-
backup->compress_level = COMPRESS_LEVEL_DEFAULT;
347-
348-
backup->block_size = BLCKSZ;
349-
backup->wal_block_size = XLOG_BLCKSZ;
350-
backup->checksum_version = 0;
351-
352-
backup->stream = false;
353-
backup->from_replica = false;
354-
backup->parent_backup = 0;
355-
backup->parent_backup_link = NULL;
356-
backup->primary_conninfo = NULL;
357-
backup->program_version[0] = '\0';
358-
backup->server_version[0] = '\0';
359-
}

0 commit comments

Comments
 (0)