Add regression test for background worker restart after crash.
Fujii Masao <fujii@postgresql.org>
Add regression test for background worker restart after crash. Previously, if a background worker crashed and the server restarted with restart_after_crash enabled, the worker was not restarted as expected. This issue was fixed by commit b5d084c5353, which ensures that background workers without the never-restart flag are correctly restarted after a crash-and-restart cycle. To guard against regressions, this commit adds a test that verifies a background worker successfully restarts in such a scenario. Author: Fujii Masao <masao.fujii@gmail.com> Reviewed-by: ChangAo Chen <cca5507@qq.com> Discussion: https://postgr.es/m/CAHGQGwHF-PdUOgiXCH_8K5qBm8b13h0Qt=dSoFXZybXQdbf-tw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/013_crash_restart.pl | modified | +7 −0 |
Discussion
- Logical replication launcher did not automatically restart when got SIGKILL 19 messages · 2025-07-15 → 2025-07-29