Re: Reword messages using "as" instead of "because" - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Reword messages using "as" instead of "because"
Date
Msg-id CAA4eK1K84EPnfLvKBhvn0oHrt3cX36BFRGB9fF=XJ3+rgHeczA@mail.gmail.com
Whole thread Raw
In response to RE: Reword messages using "as" instead of "because"  ("Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>)
Responses Re: Reword messages using "as" instead of "because"
List pgsql-hackers
On Wed, Sep 17, 2025 at 8:53 AM Zhijie Hou (Fujitsu)
<houzj.fnst@fujitsu.com> wrote:
>
> >
> > In the above sentence, has advanced sounds like we have already advanced
> > but that is not the case. Also, use of into looks odd to me.
> > How about changing it to: "Retention is re-enabled because the apply process
> > can advance its xmin within the configured max_retention_duration of %u
> > ms."?
> >
> > Similarly for the first message, how about: "Retention is stopped because the
> > apply process could not advance its xmin within the configured
> > max_retention_duration of %u ms."?
>
> I think the suggested message aligns better with the implementation.
>
> I updated the message based on Horiguchi-San's revision. Additionally,
> 035_conflicts.pl has been modified, as it was waiting for the resume DETAIL
> message and this message has now been updated.
>

LGTM. Horiguchi-San, do let me know if you have suggestions here. I am
planning to push this tomorrow.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Yugo Nagata
Date:
Subject: Re: psql: tab-completion support for COPY ... TO/FROM STDIN, STDOUT, and PROGRAM
Next
From: Tom Lane
Date:
Subject: Re: Reword messages using "as" instead of "because"