Re: 回复:Fix missing initialization of delayChkptEnd

Kyotaro Horiguchi <horikyota.ntt@gmail.com>

From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: mengjuan.cmj@alibaba-inc.com
Cc: pgsql-hackers@lists.postgresql.org, robertmhaas@gmail.com
Date: 2023-06-06T06:13:14Z
Lists: pgsql-hackers
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

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix missing initializations of MyProc.delayChkptEnd

  2. Rethink the delay-checkpoint-end mechanism in the back-branches.