From: Michael Banck <mbanck@gmx.net>
To: Shlok Kyal <shlok.kyal.oss@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [patch] pg_basebackup: mention that spread checkpoints are the default in --help
Date: Tue, 31 Oct 2023 20:01:38 +0100
Message-ID: <65414f12.170a0220.f31cb.488f@mx.google.com> (raw)
In-Reply-To: <CANhcyEUjTgy0bm4187VRSx+zEHHgyQ7x9cmFvArgPLoyZ5uC3A@mail.gmail.com>
References: <6530f954.170a0220.5637c.9209@mx.google.com>
<70aea53e-8c02-46a0-a458-e86bd5ca188d@eisentraut.org>
<653a2308.170a0220.361af.f21f@mx.google.com>
<CANhcyEUjTgy0bm4187VRSx+zEHHgyQ7x9cmFvArgPLoyZ5uC3A@mail.gmail.com>
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
Attachments:v3-0001-pg_basebackup-Mention-that-spread-checkpoints-are.patch (text/x-diff, 1.1K) download
From bc9eb46a49ee514236aabe42d9689a7c35b5bcd7 Mon Sep 17 00:00:00 2001
From: Michael Banck <michael.banck@credativ.de>
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.cindex 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: mbanck@gmx.net, shlok.kyal.oss@gmail.com, peter@eisentraut.org
Subject: Re: [patch] pg_basebackup: mention that spread checkpoints are the default in --help
In-Reply-To: <65414f12.170a0220.f31cb.488f@mx.google.com>
References: <6530f954.170a0220.5637c.9209@mx.google.com> <70aea53e-8c02-46a0-a458-e86bd5ca188d@eisentraut.org> <653a2308.170a0220.361af.f21f@mx.google.com> <CANhcyEUjTgy0bm4187VRSx+zEHHgyQ7x9cmFvArgPLoyZ5uC3A@mail.gmail.com> <65414f12.170a0220.f31cb.488f@mx.google.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox