model-writtenrun 4308 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- 蔡梦娟(玊于) reported a PostgreSQL 14 crash when cancellation during relation truncation left delayChkptEnd set in a reused PGPROC entry, and proposed initializing it in InitProcess() in #1.
- The author extended the fix to InitAuxiliaryProcess() in #2 after noticing that the first patch missed auxiliary processes.
- Kyotaro Horiguchi compared the PostgreSQL 14 and 15 code, endorsed the fix, and requested a matching delayChkptEnd assertion in ProcArrayClearTransaction() in #3; Michael Paquier agreed in #4.
- The author incorporated that assertion into the PostgreSQL 14 patch and supplied branch-specific patches for PostgreSQL 10 through 13 in #5.
- Michael Paquier committed the PostgreSQL 14 patch unchanged as c6043fcbb2 and confirmed in #6 that he had checked flag usage across branches and applied the fix to PostgreSQL 11 through 14; the thread records no application to PostgreSQL 10 or further pending work.