model-writtenrun 2573 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nitin Jadhav reported that the restartpoint wait loop exited immediately because $logstart was outside the log_contains() argument list, and supplied a one-line parenthesis correction #1.
- Michael Paquier reproduced the problem by removing the wakeup call and observing that the test still completed; he explained that restartpoint completion normally took about two milliseconds and promised a fix back through PostgreSQL 17 #2.
- Michael Paquier committed the attached correction unchanged and backpatched it to PostgreSQL 17 #1 0fc68c8421.
- Nitin Jadhav asked whether further changes were necessary, then noticed the commit and acknowledged that the fix was complete #3 #4.
- Michael Paquier reported that rereading the whole test revealed no other issue and asked how the bug was discovered; Ashutosh Bapat echoed that curiosity #5 #6.
- Nitin Jadhav explained that copying the code into a crash-recovery TAP test exposed the failed wait, and repeated runs of the original test showed inconsistent behavior; the thread ended with the correction landed and no further patch proposed #7.