On Thu, Oct 15, 2026 at 3:51 PM Manu <[email protected]> wrote:
> The wait isn't needed when the new status is "off" either: a process
> still caching "on" only writes extra logical info, which is safe, the
> same reasoning DisableLogicalDecoding() already uses to emit without
> waiting.

0003 looks good to me. I've attached an updated version with revised
comments in UpdateLogicalDecodingStatusEndOfRecovery(), which still
claimed that all processes had updated their XLogLogicalInfo state
before the function returned.

I think it's better to backpatch this to v19, since commit 67c20979ce7
introduced the unnecessary barrier wait. Thoughts?

Barring any objections, I'm thinking to commit it.

Regards,

-- 
Fujii Masao

Attachment: nocfbot-v3-0001-Avoid-unnecessary-end-of-recovery-barrier-waits.patch
Description: Binary data

Reply via email to