On Mon, Jan 4, 2021 at 7:07 PM 赵锐 <875941...@qq.com> wrote: > > > This patch adds the missed decrement to resolve the problem. >
> > Previous discussion is here: > https://www.postgresql.org/message-id/flat/CA+HiwqH=Y85vRK3mOdjEkqFK+E=ST=eQiHdpj43L=_ejmoo...@mail.gmail.com > And I believe patch #83fd453 introduce this problem. > Thanks for the report and fix. The fix looks straight forward and correct to me. Please add the patch to the next CF so that it's not forgotten. But since this is a bug fix it need not wait for CF. Also please report the results of your experiment with the patch applied so as to know this bug's contribution to the slow down. -- Best Wishes, Ashutosh Bapat