Re: Fix a typo of func DecodeInsert()

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Fix a typo of func DecodeInsert()
Дата
Msg-id CAMbWs49TkAn4c8JJS=5E7q4y5WjShzu+ZzwztupTrx7v6-jHgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Fix a typo of func DecodeInsert()  (Yongtao Huang <yongtaoh2022@gmail.com>)
Ответы Re: Fix a typo of func DecodeInsert()
Список pgsql-hackers

On Wed, Jan 17, 2024 at 8:47 AM Yongtao Huang <yongtaoh2022@gmail.com> wrote:
Hi all,
I think the comment above the function DecodeInsert() in src/backend/replication/logical/decode.c should be
+ * Inserts can contain the new tuple.
, rather than
- * Deletes can contain the new tuple.

Nice catch.  +1.

I kind of wonder if it would be clearer to state that "XLOG_HEAP_INSERT
can contain the new tuple", in order to differentiate it from
XLOG_HEAP2_MULTI_INSERT.

Thanks
Richard

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yongtao Huang
Дата:
Сообщение: Fix a typo of func DecodeInsert()
Следующее
От: Masahiko Sawada
Дата:
Сообщение: Re: Synchronizing slots from primary to standby