Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEj3O-0001j6-OG for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Jul 2022 03:10:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oEj3N-0007mK-Lj for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Jul 2022 03:10:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEj3N-0007mB-Ct for pgsql-hackers@lists.postgresql.org; Fri, 22 Jul 2022 03:10:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oEj3L-0003Hn-Ak for pgsql-hackers@postgresql.org; Fri, 22 Jul 2022 03:10:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26M3A4fm375561; Thu, 21 Jul 2022 23:10:04 -0400 From: Tom Lane To: Fujii Masao cc: Kyotaro Horiguchi , bharath.rupireddyforpostgres@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Remove useless arguments in ReadCheckpointRecord(). In-reply-to: <26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com> References: <97978a70-bbaf-c7b6-9b0f-d8b21ba9f0da@oss.nttdata.com> <20220721.145449.214151305475458058.horikyota.ntt@gmail.com> <26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com> Comments: In-reply-to Fujii Masao message dated "Fri, 22 Jul 2022 11:50:14 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <375559.1658459404.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 21 Jul 2022 23:10:04 -0400 Message-ID: <375560.1658459404@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Fujii Masao writes: > On 2022/07/21 14:54, Kyotaro Horiguchi wrote: >> At Thu, 21 Jul 2022 11:45:23 +0900, Fujii Masao wrote in >>> - (errmsg("could not locate required checkpoint record"), >>> + (errmsg("could not locate a valid checkpoint record in backup_label = file"), >> "in backup_label" there looks *to me* need some verb.. = > Sorry, I failed to understand your point. Could you clarify your point? FWIW, the proposed change looks like perfectly good English to me. "locate" is the verb. It's been way too many years since high school grammar for me to remember the exact term for auxiliary clauses like "in backup_label file", but that doesn't need its own verb. Possibly Kyotaro-san is feeling that it should be like "... checkpoint record in the backup_label file". That'd be more formal, but in the telegraphic style that we prefer for primary error messages, omitting the "the" is fine. regards, tom lane