Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commiteb75f4f

Browse files
committed
Use proper enum constants for LockWaitPolicy
1 parent016c990 commiteb75f4f

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)

[8]ページ先頭

©2009-2025 Movatter.jp