Re: Fix typo in code comment

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: Fix typo in code comment
Дата
Msg-id CAExHW5vT3h3F6S__VdeSO797uE0XzocOEw_r4PKDgF5gxr3Pcw@mail.gmail.com
обсуждение исходный текст
Ответ на Fix typo in code comment  ("Dewei Dai" <daidewei1970@163.com>)
Ответы Re: Fix typo in code comment
Список 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 по дате отправления: