Check HAVE_COPY_FILE_RANGE before calling copy_file_range Fix a mistake in ac8110155132 - write_reconstructed_file() called copy_file_range() without properly checking HAVE_COPY_FILE_RANGE.
Reported by several macOS machines. Also reported by cfbot, but I missed that issue before commit. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/079d94ab3412fdeda637a24b17bde53c576b0007 Modified Files -------------- src/bin/pg_combinebackup/reconstruct.c | 4 ++++ 1 file changed, 4 insertions(+)