1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00

make compiler happy

This commit is contained in:
Grigory Smolkin 2020-07-01 03:07:46 +03:00
parent 7fc70c85f2
commit 8db55b42ae
2 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ backup_data_file(ConnectionArgs* conn_arg, pgFile *file,
file->exists_in_prev ? prev_backup_start_lsn : InvalidXLogRecPtr,
calg, clevel, checksum_version,
/* send pagemap if any */
use_pagemap ? &file->pagemap : NULL,
use_pagemap,
/* variables for error reporting */
&err_blknum, &errmsg, &headers);
}

View File

@ -1126,7 +1126,7 @@ extern int send_pages(ConnectionArgs* conn_arg, const char *to_fullpath, const c
extern void fio_delete(mode_t mode, const char *fullpath, fio_location location);
extern int fio_send_pages(const char *to_fullpath, const char *from_fullpath, pgFile *file,
XLogRecPtr horizonLsn, int calg, int clevel, uint32 checksum_version,
bool use_pagemap, BlockNumber* err_blknum, char **errormsg,
bool use_pagemap, BlockNumber *err_blknum, char **errormsg,
BackupPageHeader2 **headers);
/* return codes for fio_send_pages */
extern int fio_send_file_gz(const char *from_fullpath, const char *to_fullpath, FILE* out, char **errormsg);