model-writtenrun 4965 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund reported reproducible UBSan failures on 32-bit builds and traced them to ProcSleep() treating a queue header as a PGPROC, proposing a SHM_QUEUE pointer for the insertion point in #1.
- Andres attached that conversion and reported that UBSan passed on both 32-bit and 64-bit builds in #2.
- Robert Haas advocated replacing SHM_QUEUE with the existing list infrastructure in #3; Andres agreed, described earlier work stalled over naming, and asked whether to backpatch the targeted fix in #4.
- Tom Lane endorsed backpatching the targeted fix while limiting the broader replacement to the development branch in #5, and Thomas Munro supplied a link to the earlier discussion in the thread's final message, #6.
- Andres subsequently committed #2 as 8c954168cf, adding a missing queue-iterator update and backpatching the fix to all supported branches; the broader list conversion remained future work because it was too large to backpatch.