回复:回复:Fix missing initialization of delayChkptEnd

From: 蔡梦娟(玊于) <mengjuan(dot)cmj(at)alibaba-inc(dot)com>
To: "Kyotaro Horiguchi" <horikyota(dot)ntt(at)gmail(dot)com>
Cc: "pgsql-hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "robertmhaas" <robertmhaas(at)gmail(dot)com>
Subject: 回复:回复:Fix missing initialization of delayChkptEnd
Date: 2023-06-07 02:25:25
Message-ID: 8e5109d9-73dc-42fa-b62d-f8064bdad7f6.mengjuan.cmj@alibaba-inc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)ntt(at)gmail(dot)com>
发送时间:2023年6月6日(星期二) 14:13
收件人:蔡梦娟(玊于) <mengjuan(dot)cmj(at)alibaba-inc(dot)com>
抄 送:pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>; robertmhaas <robertmhaas(at)gmail(dot)com>
主 题:Re: 回复:Fix missing initialization of delayChkptEnd
Good catch!
At Tue, 06 Jun 2023 00:39:47 +0800, "蔡梦娟(玊于)" <mengjuan(dot)cmj(at)alibaba-inc(dot)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 Content-Type Size
v1-0001-Fix-missing-initialization-of-delayChkptEnd_10.patch application/octet-stream 1.8 KB
v1-0001-Fix-missing-initialization-of-delayChkptEnd_11.patch application/octet-stream 1.8 KB
v1-0001-Fix-missing-initialization-of-delayChkptEnd_12.patch application/octet-stream 1.8 KB
v1-0001-Fix-missing-initialization-of-delayChkptEnd_13.patch application/octet-stream 1.8 KB
v3-0001-Fix-missing-initialization-of-delayChkptEnd_14.patch application/octet-stream 1.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2023-06-07 02:25:40 Re: Assert failure of the cross-check for nullingrels
Previous Message Tom Lane 2023-06-07 02:02:02 Re: Let's make PostgreSQL multi-threaded