diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c index 8e229f87c77..60dca6e1f33 100644 --- a/src/backend/executor/execReplication.c +++ b/src/backend/executor/execReplication.c @@ -314,6 +314,9 @@ retry: XactLockTableWait(xwait, NULL, NULL, XLTW_None); goto retry; } + + /* Found our tuple and it's not locked */ + break; } /* Found tuple, try to lock it in the lockmode. */