model-writtenrun 9033 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Adrien Nayrat reopened statement-log sampling in #1, explaining that the earlier implementation had been reverted after confusing minimum and maximum thresholds emerged, and supplied a replacement using Tomas Vondra's proposal for two minimum thresholds, alongside a separate transaction-sampling permissions documentation fix.
- Tomas Vondra retained the sampling implementation in #2 but clarified that log_min_duration_statement overrides sampling, improved documentation wording, and proposed placing the two new sampling settings together.
- Adrien Nayrat accepted the documentation revisions as clearer in #3.
- Tomas Vondra committed the sampling portion of #2 as 6e3e6cc0e8, with further light documentation changes, and reported in #4 that the separate permissions documentation fix had also landed and been backpatched to PostgreSQL 12.
- Adrien Nayrat closed the thread with thanks in #5, after both submitted changes had been reported committed and with no outstanding work identified.