Remove code checking for am_walsender in SyncRepWaitForLSN()
No reason to call `SyncRepWaitForLSN()` from walsender process itself. Some existed in past seems which performed the same, even if walsender for whatever reason needs to perform transaction shouldn't result in wrtitng anything. Replaced the if with assertion instead to catch any viaolations of the assumption.
Showing
想要评论请 注册 或 登录