On Sat, 29 Oct 2022 at 08:24, Andres Freund <and...@anarazel.de> wrote: > > The patches here aren't fully polished (as will be evident). But they should > be more than good enough to discuss whether this is a sane direction.
The patch does not apply on top of HEAD as in [1], please post a rebased patch: === Applying patches on top of PostgreSQL commit ID f2857af485a00ab5dbfa2c83af9d83afe4378239 === === applying patch ./v1-0001-wip-lwlock-fix-quadratic-behaviour-with-very-long.patch patching file src/include/storage/proc.h Hunk #1 FAILED at 217. 1 out of 1 hunk FAILED -- saving rejects to file src/include/storage/proc.h.rej patching file src/backend/storage/lmgr/lwlock.c Hunk #1 succeeded at 988 with fuzz 2 (offset 1 line). Hunk #2 FAILED at 1047. Hunk #3 FAILED at 1076. Hunk #4 FAILED at 1104. Hunk #5 FAILED at 1117. Hunk #6 FAILED at 1141. Hunk #7 FAILED at 1775. Hunk #8 FAILED at 1790. 7 out of 8 hunks FAILED -- saving rejects to file src/backend/storage/lmgr/lwlock.c.rej [1] - http://cfbot.cputube.org/patch_41_3993.log Regards, Vignesh