Sep 2021

1 commit
Fix performance regression from session statistics.
16 Sep 2021Andres Freundmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14rc1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #280 of 2 reviewers saw the final version

The commit preserves all five changed files from #28, adding pgstat_should_report_connstat() in src/backend/postmaster/pgstat.c and applying it to connect/disconnect reporting as well as session timing. Andres confirms this behavioral correction in #32; the commit credits both Andres and Laurenz as authors.

  • Kyotaro Horiguchisaw an earlier versionLLM analysis, 96% sureKyotaro said the timestamp patch #4 looked good in #6, before the subsequent message-protocol redesign.
  • Michael Paquiersaw an earlier versionLLM analysis, 98% sureMichael explicitly reviewed #6 in #9, objecting to mixing connection and table statistics and proposing timestamp reuse with less frequent reporting.

Credits across 1 commit

Author
Andres Freund1
Laurenz Albe1
Reported by
Andres Freund1
Committer
Andres Freund1