Re: BUG #17903: There is a bug in the KeepLogSeg()

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: zhjwpku(at)gmail(dot)com
Cc: xu(dot)xw2008(at)163(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17903: There is a bug in the KeepLogSeg()
Date: 2023-04-20 08:58:14
Message-ID: 20230420.175814.1157027125103997227.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

At Thu, 20 Apr 2023 15:40:14 +0800, Junwang Zhao <zhjwpku(at)gmail(dot)com> wrote in
> If `segno` can be larger than `currSegNo`, your patch seems to miss
> the following branch,
> are you missing this for some particular reason?

Oops! Sorry for the mistake and thanks for pointing it out.

I should have kept segno within the reasonable range.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
v2-0001-Fix-incorrect-calculation-regarding-max_slot_wal_.patch text/x-patch 1.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tobias Bussmann 2023-04-20 09:51:59 Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files
Previous Message Daniel Gustafsson 2023-04-20 08:50:27 Re: pg_basebackup: errors on macOS on directories with ".DS_Store" files