Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qxtzp-004ELx-4N for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2023 19:01:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qxtzl-003pBo-Be for pgsql-hackers@arkaria.postgresql.org; Tue, 31 Oct 2023 19:01:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qxtzk-003pBg-VE for pgsql-hackers@lists.postgresql.org; Tue, 31 Oct 2023 19:01:45 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qxtzi-004285-1F for pgsql-hackers@lists.postgresql.org; Tue, 31 Oct 2023 19:01:44 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9d2e6c8b542so444617866b.0 for ; Tue, 31 Oct 2023 12:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698778900; x=1699383700; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:from:to:cc:subject:date :message-id:reply-to; bh=1xc1gk98iuy0ikenVlW+UFPzJurZP/8U0wG1C6iYqBw=; b=lmPJkhsdHAguVajD4fM1koIwedcmdqP1tzirVHciWMRgShCJpKApImo/YGA+ZbMUGv tLQdsX0TQ/dqXfL7LvzSsxxXjSYV6HkQK3Ty3QALY20+jndm3pHG2cqwltYezenEJWkD bnl5chZKWdyXnOcLXcdBlkHcRoqq+fIsoEkBxn0OoAMQH7/ryl8Ba8UTL1iUOE0TdxlH urfFMVxRD2crpDVD+m/9ZkwR6DRC9k4WWOZqsvE1P9MDAShw5iRoQ1CJgSKX2khDlUpx 48h+0C/eC2FRb39VnsKfQyVcgqaAedymyGXTokTXg8CIatk+Bwh8Nlr8u70wshwWOV0L ltNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698778900; x=1699383700; h=user-agent:in-reply-to:content-disposition:mime-version:references :subject:cc:to:from:date:sender:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1xc1gk98iuy0ikenVlW+UFPzJurZP/8U0wG1C6iYqBw=; b=U7/9jja1L+IqLzMVl1GCl2o5z2WvDx+IXGaK9Y9mz9JhSzVVjXUhtTu0r/ljxl/keU 56h3O6p+nc7YKpJiI569NgUUgjUKFYliZWlE6PaE88Znspw0YtY/05vqtIA3FJk5SQfW fvmPL9VOdVXxg9ZGWVKJirMnen/vOuKGd/aVyvf2ISwc/d3aV7CDO2HzuZnkP+LFl81/ qGMxTtlHqaQ8xPebLt/Khb1A+rTUl8wL0Feq+ym4n5AihE4OpfeLw1kEO1el8KW++KpJ uESq+AD15YUzkZ63olVwrwklQSx1nVLVX7X68nieSF180Iz6kENPZnpp8OfKO60kC6oM 5TjQ== X-Gm-Message-State: AOJu0YxPqitTZFXu4HWIxGuh9QOQucsNb3jtVmO8fL9he4Br399icoB/ oiriJ5iOjhtyYbgCTLVoN8U= X-Google-Smtp-Source: AGHT+IF0+/64n335BneLu5fr+IzxxsunilGMnWJIu0VNVwTJvVZt4I0pyJQA9pzeV0T8Nq/wVZ+Oiw== X-Received: by 2002:a17:907:268a:b0:9b2:7367:a6a4 with SMTP id bn10-20020a170907268a00b009b27367a6a4mr199134ejc.31.1698778899627; Tue, 31 Oct 2023 12:01:39 -0700 (PDT) Received: from lightning.caipicrew.dd-dns.de ([2001:a61:34cf:1001:f11c:3b32:31b7:711]) by smtp.gmail.com with ESMTPSA id u13-20020a170906068d00b009b9af27d98csm1401876ejb.132.2023.10.31.12.01.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 12:01:38 -0700 (PDT) Message-ID: <65414f12.170a0220.f31cb.488f@mx.google.com> X-Google-Original-Message-ID: <20231031190138.GX27104@caipicrew.dd-dns.de;lightning.caipicrew.dd-dns.de> Sender: Michael Banck Received: from mbanck by lightning.caipicrew.dd-dns.de with local (Exim 4.92) (envelope-from ) id 1qxtze-0000oh-Bn; Tue, 31 Oct 2023 20:01:38 +0100 Date: Tue, 31 Oct 2023 20:01:38 +0100 From: Michael Banck To: Shlok Kyal Cc: Peter Eisentraut , pgsql-hackers@lists.postgresql.org Subject: Re: [patch] pg_basebackup: mention that spread checkpoints are the default in --help References: <6530f954.170a0220.5637c.9209@mx.google.com> <70aea53e-8c02-46a0-a458-e86bd5ca188d@eisentraut.org> <653a2308.170a0220.361af.f21f@mx.google.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="IMjqdzrDRly81ofr" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --IMjqdzrDRly81ofr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Tue, Oct 31, 2023 at 04:59:24PM +0530, Shlok Kyal wrote: > I went through the Cfbot for this patch and found out that the build > is failing with the following error (Link: > https://cirrus-ci.com/task/4648506929971200?logs=build#L1217): Oops, sorry. Attached is a working third version of this patch. Michael --IMjqdzrDRly81ofr Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v3-0001-pg_basebackup-Mention-that-spread-checkpoints-are.patch" From bc9eb46a49ee514236aabe42d9689a7c35b5bcd7 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Thu, 19 Oct 2023 11:37:11 +0200 Subject: [PATCH v3] pg_basebackup: Mention that spread checkpoints are the default in --help --- src/bin/pg_basebackup/pg_basebackup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index f32684a8f2..b0ac77b4ce 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -407,7 +407,8 @@ usage(void) printf(_(" -Z, --compress=none do not compress tar output\n")); printf(_("\nGeneral options:\n")); printf(_(" -c, --checkpoint=fast|spread\n" - " set fast or spread checkpointing\n")); + " set fast or spread checkpointing\n" + " (default: spread)\n")); printf(_(" -C, --create-slot create replication slot\n")); printf(_(" -l, --label=LABEL set backup label\n")); printf(_(" -n, --no-clean do not clean up after errors\n")); -- 2.39.2 --IMjqdzrDRly81ofr--