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

From Tom Lane
Subject Re: Reword messages using "as" instead of "because"
Date
Msg-id 2044143.1758253414@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reword messages using "as" instead of "because"  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Reword messages using "as" instead of "because"
List pgsql-hackers
Amit Kapila <amit.kapila16@gmail.com> writes:
> We have a similar message for stop retention. I feel it would be good
> to mention that as a reason, so users can increase it. I could think
> of two alternatives for stop message based on above suggestion:
> "Retention is stopped because the apply process has not caught up with
> the publisher within the configured max_retention_duration."
> "Retention is stopped because the apply process could not catch up
> with the publisher within the configured max_retention_duration."

> Do you have any preference?

I think "has not" is clearer, or maybe you should say "did not catch
up with..."  Either way, that sounds like a pure statement of fact
whereas "could not" has some overtones of assigning blame.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Reword messages using "as" instead of "because"
Next
From: Chao Li
Date:
Subject: Re: encode/decode support for base64url