Re: Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-03 Thread Michael Paquier
On Fri, Feb 02, 2024 at 03:11:40PM +0300, Nazir Bilal Yavuz wrote: > Thanks for the update. The patch looks good to me. Yes, you're right. We want the opposite to happen here. I've applied the patch on HEAD. -- Michael signature.asc Description: PGP signature

Re: Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-02 Thread Nazir Bilal Yavuz
Hi, On Fri, 2 Feb 2024 at 12:11, Artur Zakirov wrote: > > On Fri, 2 Feb 2024 at 09:41, Nazir Bilal Yavuz wrote: > > You seem right, nice catch. Also, this change makes the check in > > > > snprintf(summarydir, sizeof(summarydir), "%s/%s/summaries", > > basedir, >

Re: Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-02 Thread Artur Zakirov
a patch to remove checking MINIMUM_VERSION_FOR_PG_WAL. -- Artur From cc8e636ad47b9dcc8779934e58f351ca43067b05 Mon Sep 17 00:00:00 2001 From: Artur Zakirov Date: Fri, 2 Feb 2024 10:06:42 +0100 Subject: [PATCH v2] Fix checking MINIMUM_VERSION_FOR_WAL_SUMMARIES for creating pg_wal/summaries directo

Re: Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-02 Thread Yugo NAGATA
On Fri, 2 Feb 2024 01:11:27 +0100 Artur Zakirov wrote: > Hi hackers, > > during reading the source code of new incremental backup functionality > I noticed that the following condition can by unintentional: > > /* > * For newer server versions, likewise create pg_wal/summaries > *

Re: Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-02 Thread Nazir Bilal Yavuz
Hi, On Fri, 2 Feb 2024 at 03:11, Artur Zakirov wrote: > > Hi hackers, > > during reading the source code of new incremental backup functionality > I noticed that the following condition can by unintentional: > > /* > * For newer server versions, likewise create pg_wal/summaries > */

Checking MINIMUM_VERSION_FOR_WAL_SUMMARIES

2024-02-01 Thread Artur Zakirov
ov Date: Fri, 2 Feb 2024 01:04:27 +0100 Subject: [PATCH v1] Fix checking MINIMUM_VERSION_FOR_WAL_SUMMARIES for creating pg_wal/summaries directory --- src/bin/pg_basebackup/pg_basebackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/sr