model-writtenrun 4955 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bertrand Drouvot proposed replacing the non-shared-then-shared statistics lookup with one IsSharedRelation()-directed lookup in #1, crediting an earlier suggestion from Andres Freund.
- Bharath Rupireddy approved the patch in #2 and suggested returning the lookup result directly and making the wrapper static inline; Bertrand instead explored removing the wrapper and passing shared-relation status through all callers in #3.
- Bharath accepted the expanded implementation while noting the scattered IsSharedRelation() calls in #4, but Andres opposed that distribution and dismissed inlining as premature optimization in #5, citing code-size costs.
- Bertrand restored the initial centralized approach and incorporated Bharath's direct-return simplification in #6; his object-size comparisons supported this version, which he favored for readability, size, and compatibility.
- Andres committed #6 unchanged as 061bf98fb8 and confirmed the push in #7, completing the thread with the wrapper retained and the broader API restructuring abandoned.