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

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: zhjwpku@gmail.com, xu.xw2008@163.com, pgsql-bugs@lists.postgresql.org
Date: 2023-04-24T19:14:52Z
Lists: pgsql-bugs

Attachments

Here is a new version of the patch.  It is fundamentally the same as v2,
but I've adjusted the comment and commit message a bit.  Barring
objections, I am planning to commit this (and back-patch to v13) in the
near future.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Commits

  1. Prevent underflow in KeepLogSeg().