Jul 2025

2 commits
Add regression test for background worker restart after crash.
29 Jul 2025Fujii Masaomaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #171 of 1 reviewer saw the final version

The committed diff exactly matches #17, including all seven added lines in src/test/recovery/t/013_crash_restart.pl and the poll_query_until() assertion.

  • ChangAo Chensaw the final versiontrailerChangAo demonstrated the test's startup race in #16 and approved the corrected patch in #18.
Fix background worker not restarting after crash-and-restart cycle.
25 Jul 2025Fujii Masaomaster19beta1REL_19_STABLE19beta1REL_18_STABLE18beta3Also in: Fix background workers not restarting with restart_after_crash = on (not this thread)
LLM analysis, 100% surelanded as postedfrom patchset #102 of 2 reviewers saw the final version

The committed diff exactly matches both hunks of #10, resetting rw_pid in ResetBackgroundWorkerCrashTimes() in src/backend/postmaster/bgworker.c and documenting skipped crash cleanup in src/backend/postmaster/postmaster.c. This matching patchset dated July 25 supersedes the June 11 proposal #592979 in thread #51730, so I disagree with that thread's modified verdict assigning it the commit's source.

  • ChangAo Chensaw the final versiontrailerChangAo explicitly approved the committed patch in #11.
  • Shveta Maliksaw the final versiontrailerShveta confirmed the original fix worked and questioned its placement in #2, supported resetting the PID during crash recovery in #9, and approved the final patch in #12.

Credits across 2 commits

Author
Andrey Rudometov1
cca55071
Fujii Masao1
Reviewer
cca55072
shveta malik1
Reported by
Andrey Rudometov1
cca55071
Co author
Fujii Masao1
Committer
Fujii Masao2