Apr 2022

5 commits
Fix off-by-one error in pg_waldump, introduced in 5c279a6d350.
7 Apr 2022Jeff Davismaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

The one-line change in src/bin/pg_waldump/pg_waldump.c exactly matches the inline correction in #29, including RM_MAX_ID in the statistics totals loop; no attached patchset contains this correction.

  • Bharath Rupireddysaw the final versionLLM analysis, 99% sureReported that statistics omitted the last custom resource manager and supplied the exact one-line correction in #29, which the commit credits as his report.
Fix another buildfarm issue from commit 5c279a6d350.
7 Apr 2022Jeff Davismaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Adds #ifndef FRONTEND around the resource-manager inline functions in src/include/access/xlog_internal.h, implementing the fix proposed in #28 and #30 for Sun Studio's unresolved RmgrTable reference.

  • Andres Freundsaw the final versionLLM analysis, 99% sureDiagnosed the Sun Studio link failure in #27 and proposed the adopted FRONTEND guard in #28.
  • Tom Lanesaw the final versionLLM analysis, 100% sureIdentified the inline functions as the cause of the link failure and recommended the exact FRONTEND guard in #30.
Try to silence "-Wmissing-braces" complaints in rmgrdesc.c.
7 Apr 2022Andres Freundmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Changes two aggregate initializers from {0} to {{0}} in src/bin/pg_waldump/rmgrdesc.c, addressing the lapwing missing-braces failures reported by Andres Freund in #26 and his announced fix in #27.

Fix warning introduced in 5c279a6d350.
7 Apr 2022Jeff Davismaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Responds to the -Wtype-limits warnings in #25 by replacing two ID-test macros with static inline functions taking int in src/include/access/rmgr.h and updating their callers.

  • Andres Freundsaw the final versionLLM analysis, 99% sureReported the compiler warnings and their macro-expansion locations in #25, prompting this targeted fix.
Custom WAL Resource Managers.
7 Apr 2022Jeff Davismaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #222 of 3 reviewers saw the final version

Retains the direct RmgrData table and pg_waldump implementation from #22, but adds pg_get_wal_resource_managers(), deferred GUC checking after shared-library loading, case-insensitive registration checks, and expanded documentation. Jeff explicitly describes these final changes in #24.

  • Julien Rouhaudsaw an earlier versiontrailerReviewed the split series in #5, approved the remainder in #7, and questioned lookup overhead before the later table redesign.
  • Bharath Rupireddysaw the final versiontrailerReviewed registration, documentation, and diagnostics in #20 and #23, then inspected the committed code and identified its statistics boundary bug in #29.
  • Andres Freundsaw the final versiontrailerDrove lookup and table-design changes in #16 and #19, then reviewed the committed implementation through concrete build-failure reports in #25, #26, and #27.

Jan 2022

1 commit
Make logical decoding a part of the rmgr.
19 Jan 2022Jeff Davismaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #41 of 1 reviewer saw the final version

Matches the logical-decoding patch from #4 without substantive changes: rm_decode replaces the switch in decode.c and is added to the resource-manager definitions. The GetRmgr and custom-registration portions remained uncommitted, as confirmed in #6.

  • Julien Rouhaudsaw the final versiontrailerCalled the logical-decoding refactoring clean and sensible in #5, and that portion landed unchanged.

Credits across 6 commits

Author
Jeff DavisLLM2
Reviewer
Julien Rouhaud2
Andres Freund1
Bharath Rupireddy1
Committer
Jeff Davis5
Andres Freund1

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