model-writtenrun 4685 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih reported that pg_stat_statements can display literal constants when an entry is evicted between normalization and execution, supplied reproduction steps, and proposed documenting the limitation and increasing pg_stat_statements.max in #1.
- Michael Paquier supported the documentation and proposed retaining normalized text in query-private data in #2; Julien Rouhaud questioned its expense and support for multiple extensions, noting that eviction of entries without planning or execution statistics was intentional in #3.
- Sami Imseih raised memory and copying costs and suggested a separate text-file garbage-collection metric in #4; discussion then explored removing sticky entries and retaining selected JumbleState fields, with Sami offering a separate implementation patch and Michael requiring benchmarking before such changes in #5, #6, and #7.
- Michael Paquier requested that the documentation distinguish queries eligible for normalization from utility queries that legitimately retain constants in #8; Sami narrowed the wording to plannable queries and added a statistics cross-reference in #9.
- Michael Paquier generalized the wording to accommodate normalization of utility queries in #10, and Sami accepted that wording in #11.
- Michael Paquier committed #10 unchanged as 6da67a0c11, crediting Sami Imseih, and confirmed its installation on HEAD in #12; the documentation work was complete, while the runtime redesign and additional metric remained discussion proposals.