Skip to content

Commit f6a8381

Browse files
authored
Merge branch 'REL_2_6' into REL_2_6-PBCKP-256
2 parents 491452a + 585a069 commit f6a8381

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

src/catalog.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,15 +1091,15 @@ get_backup_filelist(pgBackup *backup, bool strict)
10911091

10921092
COMP_CRC32C(content_crc, buf, strlen(buf));
10931093

1094-
get_control_value_str(buf, "path", path, sizeof(path),true);
1095-
get_control_value_int64(buf, "size", &write_size, true);
1096-
get_control_value_int64(buf, "mode", &mode, true);
1097-
get_control_value_int64(buf, "is_datafile", &is_datafile, true);
1098-
get_control_value_int64(buf, "is_cfs", &is_cfs, false);
1099-
get_control_value_int64(buf, "crc", &crc, true);
1100-
get_control_value_str(buf, "compress_alg", compress_alg_string, sizeof(compress_alg_string), false);
1101-
get_control_value_int64(buf, "external_dir_num", &external_dir_num, false);
1102-
get_control_value_int64(buf, "dbOid", &dbOid, false);
1094+
get_control_value_str(buf, "path", path, sizeof(path),true);
1095+
get_control_value_int64(buf, "size", &write_size, true);
1096+
get_control_value_int64(buf, "mode", &mode, true);
1097+
get_control_value_int64(buf, "is_datafile", &is_datafile, true);
1098+
get_control_value_int64(buf, "is_cfs", &is_cfs, false);
1099+
get_control_value_int64(buf, "crc", &crc, true);
1100+
get_control_value_str(buf, "compress_alg", compress_alg_string, sizeof(compress_alg_string), false);
1101+
get_control_value_int64(buf, "external_dir_num", &external_dir_num, false);
1102+
get_control_value_int64(buf, "dbOid", &dbOid, false);
11031103

11041104
file = pgFileInit(path);
11051105
file->write_size = (int64) write_size;

src/pg_probackup.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ extern const char *PROGRAM_EMAIL;
8888

8989
/* Timeout defaults */
9090
#define ARCHIVE_TIMEOUT_DEFAULT 300
91-
#define REPLICA_TIMEOUT_DEFAULT 300
9291
#define LOCK_TIMEOUT 60
9392
#define LOCK_STALE_TIMEOUT 30
9493
#define LOG_FREQ 10
@@ -308,7 +307,7 @@ typedef enum ShowFormat
308307
#define BYTES_INVALID (-1) /* file didn`t changed since previous backup, DELTA backup do not rely on it */
309308
#define FILE_NOT_FOUND (-2) /* file disappeared during backup */
310309
#define BLOCKNUM_INVALID (-1)
311-
#define PROGRAM_VERSION "2.5.7"
310+
#define PROGRAM_VERSION "2.6.0"
312311

313312
/* update when remote agent API or behaviour changes */
314313
#define AGENT_PROTOCOL_VERSION 20600

src/validate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ pgBackupValidate(pgBackup *backup, pgRestoreParams *params)
6767

6868
/* Check backup server version */
6969
if (strcmp(backup->server_version, PG_MAJORVERSION) != 0)
70-
elog(ERROR, "Backup %s has server version %s, but current pg_probackup binary "
70+
elog(ERROR, "Backup %s has server version %s, but current pg_probackup binary "
7171
"compiled with server version %s",
72-
base36enc(backup->start_time), backup->server_version, PG_MAJORVERSION);
72+
base36enc(backup->start_time), backup->server_version, PG_MAJORVERSION);
7373

7474
if (backup->status == BACKUP_STATUS_RUNNING)
7575
{

tests/expected/option_version.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pg_probackup 2.5.7
1+
pg_probackup 2.6.0

0 commit comments

Comments
 (0)