pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bharath.rupireddyforpostgres@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: Remove useless arguments in ReadCheckpointRecord().
Date: Thu, 21 Jul 2022 23:10:04 -0400
Message-ID: <375560.1658459404@sss.pgh.pa.us> (raw)
In-Reply-To: <26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com>
References: <fa2e12eb-81c3-0717-0272-755f8a81c8f2@oss.nttdata.com>
	<CALj2ACX4fon3+1nNXf2Zt6A-x0kwhvy-eYOnkMv9XW5PFrq7sw@mail.gmail.com>
	<97978a70-bbaf-c7b6-9b0f-d8b21ba9f0da@oss.nttdata.com>
	<20220721.145449.214151305475458058.horikyota.ntt@gmail.com>
	<26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com>

Fujii Masao <masao.fujii@oss.nttdata.com> writes:
> On 2022/07/21 14:54, Kyotaro Horiguchi wrote:
>> At Thu, 21 Jul 2022 11:45:23 +0900, Fujii Masao <masao.fujii@oss.nttdata.com> 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





view thread (13+ messages)  latest in thread

Message-ID: <375560.1658459404@sss.pgh.pa.us>
Permalink:  ../375560.1658459404@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/375560.1658459404@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, masao.fujii@oss.nttdata.com, horikyota.ntt@gmail.com, bharath.rupireddyforpostgres@gmail.com
  Subject: Re: Remove useless arguments in ReadCheckpointRecord().
  In-Reply-To: <375560.1658459404@sss.pgh.pa.us>
  References: <fa2e12eb-81c3-0717-0272-755f8a81c8f2@oss.nttdata.com> <CALj2ACX4fon3+1nNXf2Zt6A-x0kwhvy-eYOnkMv9XW5PFrq7sw@mail.gmail.com> <97978a70-bbaf-c7b6-9b0f-d8b21ba9f0da@oss.nttdata.com> <20220721.145449.214151305475458058.horikyota.ntt@gmail.com> <26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com> <375560.1658459404@sss.pgh.pa.us>

* 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