diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c index ebf3f6b3c9..f20d728ad5 100644 --- a/src/backend/executor/execReplication.c +++ b/src/backend/executor/execReplication.c @@ -176,7 +176,7 @@ retry: res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false), lockmode, - false /* wait */, + LockWaitBlock, false /* don't follow updates */, &buf, &hufd); /* the tuple slot already has the buffer pinned */ @@ -323,7 +323,7 @@ retry: res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false), lockmode, - false /* wait */, + LockWaitBlock, false /* don't follow updates */, &buf, &hufd); /* the tuple slot already has the buffer pinned */