Content-Length: 273352 | pFad | http://github.com/postgrespro/postgres_cluster/commit/eb75f4fced77e108393f18425ec3f7aba2e70a9d

9A Use proper enum constants for LockWaitPolicy · postgrespro/postgres_cluster@eb75f4f · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/eb75f4fced77e108393f18425ec3f7aba2e70a9d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy