Re: Probably typo in multixact.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Probably typo in multixact.c
Дата
Msg-id 20201008012639.GA3457@paquier.xyz
обсуждение исходный текст
Ответ на Probably typo in multixact.c  ("Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>)
Ответы Re: Probably typo in multixact.c  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Oct 08, 2020 at 01:15:35AM +0000, Hou, Zhijie wrote:
> Hi
>
> In multixact.c I found some comments like the following:
>
> *        Similar to AtEOX_MultiXact but for COMMIT PREPARED
> * Discard the local MultiXactId cache like in AtEOX_MultiXact
>
> Since there's no function called "AtEOX_MultiXact" in the code,
> I think the "AtEOX_MultiXact" may be a typo.
>
> AtEOXact_MultiXact seems to be the right function here.

Yes, that looks like a simple typo to me as well.
AtEOXact_MultiXact() shares portions of the logics in
PostPrepare_MultiXact and multixact_twophase_postcommit.
--
Michael

Вложения

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

Предыдущее
От: "Hou, Zhijie"
Дата:
Сообщение: Probably typo in multixact.c
Следующее
От: Andy Fan
Дата:
Сообщение: Re: [PATCH] Keeps tracking the uniqueness with UniqueKey