model-writtenrun 3128 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley proposed documenting execution-time memory risks for both enable_partitionwise_* settings after a reported out-of-memory query produced 1000 Hash Aggregate nodes; the existing documentation covered only planning overhead #1.
- Ashutosh Bapat asked for explicit work_mem guidance and objected to presenting execution memory as a historical reason for defaulting the settings to off; David defended the memory warning while keeping a broader description of executor-node memory rules outside the patch #2 #5 #6 #7.
- Dimitrios Apostolou welcomed the documentation improvement but requested an explicit connection between partition count and work_mem because of its importance for server memory sizing #8.
- David revised both descriptions to explain that the number of work_mem-limited nodes can grow linearly with the partitions scanned, and separated the default value from the overhead warnings #9.
- After Ashutosh questioned the node terminology, David removed “executor” but retained “nodes” and “restricted by work_mem”; Ashutosh accepted committing that wording, leaving broader terminology consistency with the work_mem documentation for possible future attention #10 #11 #12.
- David committed the final patch with only an added “significantly” in each planning-cost warning, with backpatching through PostgreSQL 12 specified in the commit, and confirmed that the patch had been pushed 057ee9183c #13.