> On 26 Apr 2023, at 13:02, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>> On 26 Apr 2023, at 12:18, Andreas 'ads' Scherbaum <ads(at)pgug(dot)de> wrote:
>> The attached patch fixes this problem, and updates prev_remaining inside
>> the loop.
>
> Nice catch, that indeed seems like a proper fix. This was introduced in
> ce6b672e44 and so doesn't need a backpatch.
Pushed, but without the comment extension as I felt the existing comment aptly
discussed the codepath. Thanks!
--
Daniel Gustafsson