Skip to content

Commit eb75f4f

Browse files
committed
Use proper enum constants for LockWaitPolicy
1 parent 016c990 commit eb75f4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/executor/execReplication.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ RelationFindReplTupleByIndex(Relation rel, Oid idxoid,
176176

177177
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
178178
lockmode,
179-
false /* wait */,
179+
LockWaitBlock,
180180
false /* don't follow updates */,
181181
&buf, &hufd);
182182
/* the tuple slot already has the buffer pinned */
@@ -323,7 +323,7 @@ RelationFindReplTupleSeq(Relation rel, LockTupleMode lockmode,
323323

324324
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
325325
lockmode,
326-
false /* wait */,
326+
LockWaitBlock,
327327
false /* don't follow updates */,
328328
&buf, &hufd);
329329
/* the tuple slot already has the buffer pinned */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy