回复:回复:Fix missing initialization of delayChkptEnd - Mailing list pgsql-hackers

From 蔡梦娟(玊于)
Subject 回复:回复:Fix missing initialization of delayChkptEnd
Date
Msg-id 8e5109d9-73dc-42fa-b62d-f8064bdad7f6.mengjuan.cmj@alibaba-inc.com
Whole thread Raw
In response to Re: 回复:Fix missing initialization of delayChkptEnd  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: 回复:回复:Fix missing initialization of delayChkptEnd
List pgsql-hackers
In my new patch for pg14, I add the assertion on delayChkptEnd in ProcArrayClearTransaction, and also add patches for release branch from 10 to 13, please check.

Thanks & Best Regard

------------------------------------------------------------------
发件人:Kyotaro Horiguchi <horikyota.ntt@gmail.com>
发送时间:2023年6月6日(星期二) 14:13
收件人:蔡梦娟(玊于) <mengjuan.cmj@alibaba-inc.com>
抄 送:pgsql-hackers <pgsql-hackers@lists.postgresql.org>; robertmhaas <robertmhaas@gmail.com>
主 题:Re: 回复:Fix missing initialization of delayChkptEnd

Good catch!

At Tue, 06 Jun 2023 00:39:47 +0800, "蔡梦娟(玊于)" <mengjuan.cmj@alibaba-inc.com> wrote in
> Hi, all. I updated the patch for this bugfix, the previous one
> missed the modification of function InitAuxiliaryProcess, please
> check the new patch.

After a quick check through the 14 tree, then compaing with the
corresponding parts of 15, it hit me that ProcArrayClearTransaction()
needs an assertion on the variable.  Other than that, the patch looks
good to me.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Let's make PostgreSQL multi-threaded
Next
From: Richard Guo
Date:
Subject: Re: Assert failure of the cross-check for nullingrels