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 1qvf0C-006SVy-9d for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Oct 2023 14:36:56 +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 1qvf0A-004Wxt-Ng for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Oct 2023 14:36:54 +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 1qvf08-004Wxj-EV for pgsql-hackers@lists.postgresql.org; Wed, 25 Oct 2023 14:36:54 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qvf02-002f49-JC for pgsql-hackers@lists.postgresql.org; Wed, 25 Oct 2023 14:36:51 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4803B5C0387; Wed, 25 Oct 2023 10:36:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 25 Oct 2023 10:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1698244603; x=1698331003; bh=ZrjR21tVj3FiYacAnFlpDmBlFQPRHhjysh8 9OMKX3fE=; b=nHmSjnsbfKhX5ULADD66+jAix+gkZWVOKtfhtlkHS5j7fWMfWhj X93sbXgaB2WGPKQ4cTD9meTlOD2k5igIiUOvxDkTF837945o8WEn3slgT3b0I3lH rH3QbUeIu86UVMDJAr28dT7hDX7ylQQ+jJImto7NbgOVI5CPgTP2HwAs8MoGqJe7 OJmd+gCqpMAavZ3vmJV3jVp7ckdKNsSdj7mHCSLI/H31ZfmtOoOnKExwAGWPFQ0O PRStC3QJVSXPglNlGyE91a85wR4xBzqwrYZQHPZiHYB2ZerjEoVxmTTibnD2Genu Qt3S98DVSm96OAVgF9MQAI6a9B2lLuKPgmw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1698244603; x= 1698331003; bh=ZrjR21tVj3FiYacAnFlpDmBlFQPRHhjysh89OMKX3fE=; b=F FKnT8O2fWdDSfQUboLTyAizWOpfmwcDa9ZHzL6/+fp1Gka417POan1PoIyE9nBjh Q4YWsBWsTAeH9zl5tEkx61X+8wyfetxPoD+uAkQziem04TmBVShwRTNTXOirc4RI xC3MoXYu+1fETMoOcec6J6OuTZge2XKEtPSckKPmzKDd0cywCpB3rJYly4vbyfqf A710PchlweH9u4fsw6y6f9aI7rdgd+DsEe4d2J51kJvXLwVNpcFcZaL52oQ0egCC VvSJLe0iIUVISmL75uvD8HSuKl6EXUa+4gIKSS9DFOTSvL3Gm9N7Gnr8zHY3aWmi Uhk6kQ01mu7bY4hdXOD9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledtgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepheeivdfhuefhueeggfefheegjedtveeuhfethfeufedvudfg tdeuhefgfeduhfffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Oct 2023 10:36:42 -0400 (EDT) Message-ID: <70aea53e-8c02-46a0-a458-e86bd5ca188d@eisentraut.org> Date: Wed, 25 Oct 2023 16:36:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [patch] pg_basebackup: mention that spread checkpoints are the default in --help Content-Language: en-US To: Michael Banck , pgsql-hackers@lists.postgresql.org References: <6530f954.170a0220.5637c.9209@mx.google.com> From: Peter Eisentraut In-Reply-To: <6530f954.170a0220.5637c.9209@mx.google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 19.10.23 11:39, Michael Banck wrote: > Hi, > > I believed that spread (not fast) checkpoints are the default in > pg_basebackup, but noticed that --help does not specify which is which - > contrary to the reference documentation. > > So I propose the small attached patch to clarify that. > printf(_(" -c, --checkpoint=fast|spread\n" >- " set fast or spread checkpointing\n")); >+ " set fast or spread (default) checkpointing\n")); Could we do like -c, --checkpoint=fast|spread set fast or spread checkpointing (default: spread) This seems to be easier to read.