On Wed, May 20, 2026 at 1:37 PM Ayush Tiwari
<ayushtiwari(dot)slg01(at)gmail(dot)com> wrote:
> Thanks for the report and the precise repro.
+1
> Attached patch adds a RecoveryInProgress() check to skip the cleanup
> branch on standbys.
Thanks for investigating this issue and for the patch!
The patch looks good to me.
> I think this needs to be backpatched too.
Yes. Seems this should be backpatched to v17, where login event triggers
were introduced.
Regards,
--
Fujii Masao