model-writtenrun 2720 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andreas 'ads' Scherbaum reported that PostgreSQL 17.2 failed during a test creating millions of tables, with an invalid 1 GB DSA allocation request and a stack trace through shared statistics #1.
- Matthias van de Meent traced the failure to dshash resizing without DSA_ALLOC_HUGE and supplied a patch preserving zero initialization while permitting larger allocations; he had not tested it at that scale #2.
- Cédric Villemain questioned whether doubling large hash tables was desirable and suggested considering slower growth, but the submitted fix retained the existing resizing policy #3 #2.
- Andreas confirmed that the patch let both the previously failing test and a fresh test succeed, reaching over 20 million tables, then asked whether such limits could be tested without creating so many objects #4 #6.
- Nathan Bossart judged the patch reasonable, and Michael Paquier endorsed lifting the limit because custom statistics could make it easier to reach, although Michael questioned the value of backpatching #5 #7.
- Andres Freund argued that existing relation and function statistics could already reach the limit and that the fix was low risk; Nathan agreed to backpatch, considering all supported versions appropriate #8 #9.
- Nathan committed the patch from #2 as 853cef0976, with only line-wrapping differences, and announced completion; the fix was backpatched through PostgreSQL 13 #10 #12.
- The thread ended with Andreas reporting successful testing of branch heads through PostgreSQL 13 with no crashes; no further patch revisions were pending #14.