mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Use proper enum constants for LockWaitPolicy
This commit is contained in:
@ -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:
|
|||||||
|
|
||||||
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 */
|
||||||
|
Reference in New Issue
Block a user