On Tue, 24 Oct 2023 at 18:47, Nathan Bossart <nathandboss...@gmail.com> wrote: > BTW after applying your patches, initdb began failing with the following > for me: > > TRAP: failed Assert("n >= 0 && n < list->length"), File: "list.c", > Line: 770, PID: 902807
Oh oops... That was an off by one error in the modified foreach_delete_current implementation. Attached is a fixed version.
v2-0002-Use-new-for_each_xyz-macros-in-a-few-places.patch
Description: Binary data
v2-0001-Add-macros-for-looping-through-a-list-without-nee.patch
Description: Binary data