🧠 PostgreSQL Synchronous Replication Internals: The Backend Wait Path
From COMMIT to sleep
Part 2 showed you the shared-memory layout — the queues, the per-mode released-LSN markers (WalSndCtl->lsn[]), and the per-backend state fields. Now we trace the backend's code pa