Re: Fix typo in code comment - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject Re: Fix typo in code comment
Date
Msg-id CAExHW5vT3h3F6S__VdeSO797uE0XzocOEw_r4PKDgF5gxr3Pcw@mail.gmail.com
Whole thread Raw
In response to Fix typo in code comment  ("Dewei Dai" <daidewei1970@163.com>)
Responses Re: Fix typo in code comment
List pgsql-hackers
On Wed, Jan 7, 2026 at 4:50 PM Dewei Dai <daidewei1970@163.com> wrote:
>
> Hi hickers,
> I fixed a comment error in origin.c.
> The original comment was "* Replication origin consist out of a descriptive, user defined, externa..."
> where I think "consist out of" is a typo and it should be "consists of".
>

You are right. LGTM.

However, I find use of "consist of" itself not so accurate. consists
of is used to denote relationship between whole and its parts. But
what the sentence talks about is alternate representations of
replication origin - long and short one. I think the sentence should
be rewritten as "Replication origin has two interchangeable
identifications: a descriptive .... ". What do you think?

--
Best Wishes,
Ashutosh Bapat



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Provide support for trailing commas
Next
From: Ashutosh Bapat
Date:
Subject: Re: Refactor replication origin state reset helpers