Apr 2021

2 commits
Improve efficiency of wait event reporting, remove proc.h dependency.
3 Apr 2021Andres Freundmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #11 of 1 reviewer saw the final version

This commits the third patch of the three-patch series in #1, introducing my_wait_event_info and switching its storage during process initialization and shutdown. All changed lines match except the comment correction from 'save' to 'safe' in src/include/utils/wait_event.h; the extraction and header-cleanup patches are outside this commit.

  • Zhihong Yusaw the final versionLLM analysis, 98% sureZhihong questioned the missing volatile qualifier on my_wait_event_info in #2 and examined its read usage in #4, accepting the declaration after clarification.
Do not rely on pgstat.h to indirectly include storage/ headers.
3 Apr 2021Andres Freundmaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1

This commits exactly the second patch of the three-patch series in #1: eight explicit header inclusions across six files, including src/backend/postmaster/pgarch.c and contrib/pg_stat_statements/pg_stat_statements.c. Its changed lines are identical to that component; the other two patches are outside this commit.

Credits across 2 commits

Author
Andres Freund1 LLM2
Committer
Andres Freund2

N LLM means N of the credits come from LLM analysis, not from commit trailers.