pg_basebackup: Fix check for MINIMUM_VERSION_FOR_WAL_SUMMARIES MINIMUM_VERSION_FOR_WAL_SUMMARIES is used to check if the directory pg_wal/summaries/ should be created in a base backup, but its condition was reversed: pg_wal/summaries/ would be created when taking base backups from backends of v16 and older versions, but it should be created in base backups taken from backends of v17 and newer versions.
Author: Artur Zakirov Reviewed-by: Yugo Nagata, Nazir Bilal Yavuz Discussion: https://postgr.es/m/caknkynzkkq0gb_zmlty0r2-qv1q6imxgccwxda6uoa6yjku...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/c717525035d36e10d27ca045887bbfcc57e98e9e Modified Files -------------- src/bin/pg_basebackup/pg_basebackup.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)