On Mon, Aug 25, 2025 at 03:38:13PM -0700, Masahiko Sawada wrote: > While reading walsummarizer.c code, I noticed that in > WakeupWalSummarizer() we acquire the WALSummarizerLock lock in > LW_EXCLUSIVE mode despite only reading > WalSummarizerCtl->summarizer_pgprocno. The attached patch uses > LW_SHARED mode instead. Feedback is very welcome.
You could probably do something similar for WaitForWalSummarization(). -- nathan
