Commit eb75f4fc authored by Peter Eisentraut's avatar Peter Eisentraut

Use proper enum constants for LockWaitPolicy

parent 016c9908
...@@ -176,7 +176,7 @@ retry: ...@@ -176,7 +176,7 @@ retry:
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false), res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
lockmode, lockmode,
false /* wait */, LockWaitBlock,
false /* don't follow updates */, false /* don't follow updates */,
&buf, &hufd); &buf, &hufd);
/* the tuple slot already has the buffer pinned */ /* the tuple slot already has the buffer pinned */
...@@ -323,7 +323,7 @@ retry: ...@@ -323,7 +323,7 @@ retry:
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false), res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
lockmode, lockmode,
false /* wait */, LockWaitBlock,
false /* don't follow updates */, false /* don't follow updates */,
&buf, &hufd); &buf, &hufd);
/* the tuple slot already has the buffer pinned */ /* the tuple slot already has the buffer pinned */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment