prevent underflow in KeepLogSeg()

Edit
ID 4297
Title prevent underflow in KeepLogSeg()
Topic Bug Fixes
Created 2023-04-24 19:20:54
Last modified 2023-04-27 21:48:35 (1 year, 6 months ago)
Latest email 2023-04-28 06:21:49 (1 year, 6 months ago)
Status
2023-07: Committed
Target version stable
Authors Kyotaro Horiguchi (horiguti)
Reviewers Become reviewer
Committer Nathan Bossart (bossartn)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/4297
git checkout commitfest/cf/4297
Emails
BUG #17903: There is a bug in the KeepLogSeg()
First at 2023-04-19 10:26:13 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2023-04-28 06:21:49 by Kyotaro Horiguchi <horikyota.ntt at gmail.com>
Latest attachment (v3-0001-Prevent-underflow-in-KeepLogSeg.patch) at 2023-04-24 19:14:52 from Nathan Bossart <nathandbossart at gmail.com>
    Attachment (v3-0001-Prevent-underflow-in-KeepLogSeg.patch) at 2023-04-24 19:14:52 from Nathan Bossart <nathandbossart at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Fix-incorrect-calculation-regarding-max_slot_wal_.patch) at 2023-04-20 08:58:14 from Kyotaro Horiguchi <horikyota.ntt at gmail.com> (Patch: Yes)
    Attachment (0001-Fix-incorrect-calculation-regarding-max_slot_wal_kee.patch) at 2023-04-20 03:04:17 from Kyotaro Horiguchi <horikyota.ntt at gmail.com> (Patch: Yes)
History
When Who What
2023-04-27 21:48:35 Nathan Bossart (bossartn) Closed in commitfest 2023-07 with status: Committed
2023-04-24 19:21:15 Nathan Bossart (bossartn) Changed authors to Kyotaro Horiguchi (horiguti)
2023-04-24 19:21:15 Nathan Bossart (bossartn) Changed committer to bossartn
2023-04-24 19:21:15 Nathan Bossart (bossartn) Changed targetversion to stable
2023-04-24 19:20:54 Nathan Bossart (bossartn) Attached mail thread 17903-4288d439dee856c6@postgresql.org
2023-04-24 19:20:54 Nathan Bossart (bossartn) Created patch record
Edit