Jul - Aug 2024

4 commits
Add redo LSN to pgstats files
1 Aug 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #151 of 1 reviewer saw the final version

Extracts the redo-LSN prerequisite from #15, preserving its pgstat.h format bump, xlog.c restore argument, and pgstat.c serialization and validation. The commit additionally includes redo LSNs in both DEBUG2 messages, as explained in #17, while checkpoint-time flushing remains outstanding.

  • Bertrand Drouvotsaw the final versiontrailerRequested clearer redo-LSN diagnostics in #12, approved the revised prerequisite in #14, and confirmed the remaining patches still looked good in #16; only light logging changes followed.
Add more debugging information when failing to read pgstats files
30 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #131 of 1 reviewer saw the final version

Extracts the pgstat_read_statsfile() diagnostics patch from #13. Compared with that attachment, it includes the data size in one warning and adds a warning for an invalid entry type, both described in #15.

  • Bertrand Drouvotsaw the final versiontrailerReviewed the diagnostics in #14, requesting the data-size detail that was included and suggesting a validation-order change that the author declined in #15.
Make write of pgstats file durable at shutdown
17 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #51 of 1 reviewer saw the final version

Extracts the durable_rename() prerequisite from #5, leaving the redo-LSN and checkpoint-flushing work pending. Its only code-diff adjustment is a comment explicitly identifying durable_rename() as the source of the error log, acknowledged in #10.

  • Bertrand Drouvotsaw the final versiontrailerApproved the durability patch in #7 apart from requesting the explanatory comment that was incorporated before committing.
Add assertion in pgstat_write_statsfile() about processes allowed
12 Jul 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1

Extracts only the process-context assertion from #1, with identical three added lines in src/backend/utils/activity/pgstat.c modulo rebasing. Michael Paquier confirms this independent landing in #5.

Credits across 4 commits

Author
Michael Paquier3 LLM4
Reviewer
Bertrand Drouvot3
Committer
Michael Paquier4

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