model-writtenrun 8703 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tomas Vondra proposed independently controlling multivariate MCV-list size because deriving it from per-column targets prevented increasing extended-statistics detail alone #1.
- Dean Rasheed suggested a flexible text-array options column but supported the ALTER STATISTICS syntax; Tomas preferred a dedicated column modeled on pg_attribute.attstattarget, and Dean accepted that no additional options were yet known #2 #3 #4.
- Tomas's first patch added an explicit statistics-object target with fallback to the largest column target and then the system default, and David Rowley supported the dedicated catalog column #5 #6.
- Tomas corrected an attribute-array length bug causing crashes and duplicate warnings, then added pg_dump support that emits a separate ALTER STATISTICS command; adding the target to CREATE STATISTICS was deferred as unnecessary #7 #8.
- Kirk Jamison requested regression tests and questioned zero-target behavior; Tomas chose to preserve existing statistics while skipping future rebuilding, matching column statistics, and also fixed IF EXISTS handling and clarified the sampling helper #9 #10.
- Kirk's subsequent review produced comment and terminology corrections, and he then confirmed the fixes and successful build and regression tests, marking the patch ready for a committer #11 #12 #13.
- After the patch needed rebasing, Kyotaro Horiguchi identified cleanup opportunities, a recovery-mode error-message issue, and incorrect tab completion; Tomas deferred to the next CommitFest and reopened the fallback-policy question, which Dean resolved in favor of retaining existing per-column defaults for compatibility #14 #16 #17 #18.
- Tomas committed #12 as d06215d03b with light comment and whitespace polishing and rebase adjustments, confirming the push in #20.
- Noriyoshi Shinoda later supplied the missing catalog-column documentation, Tomas revised it to describe target values using wording similar to attstattarget, and after Shinoda agreed Tomas reported pushing the documentation fix #21 #22 #23 #24.
- The thread ends with Justin Pryzby proposing an inline documentation correction because both the catalog description and ALTER STATISTICS reference incorrectly describe a negative target as going directly to the system default instead of first considering column targets; no resolution of that follow-up appears in the supplied thread #25.