model-writtenrun 2442 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Masahiko Sawada reported that parallel vacuum with maintenance_work_mem set to 64kB could assert or loop indefinitely because an empty shared TID store already exceeded the limit, and proposed raising the minimum to 256kB in #1.
- David Rowley proposed requiring collected items before enforcing the memory limit in #2; John Naylor explained the lower minimum's testing motivation in #3, and Melanie Plageman favored retaining it for planned regression coverage in #4.
- David supplied the initial guard in #5, but Masahiko explained in #6 that its page counter persisted across vacuum cycles and should be replaced with dead_items_info->num_items; David agreed that Masahiko should proceed with the corrected patch in #7.
- David also reported excessive parallel-worker launches at low memory and proposed memory-aware worker selection in #7; Masahiko defended index size as the main criterion in #8, and no worker-selection change was included.
- Masahiko submitted the corrected guard and regression tests in #9; David identified incorrect table references, missing cleanup, and an unnecessarily persistent memory setting in #10, which Masahiko corrected in #11.
- David approved the final patch in #12, and Masahiko committed it unchanged apart from rebasing as a38dce3c4a, confirming the PostgreSQL 17 backpatch in #13; the reported failure was fixed, while the worker-selection suggestion remained unresolved.