mirror of
https://github.com/postgres/postgres.git
synced 2026-02-25 19:02:00 -05:00
Use proper enum constants for LockWaitPolicy
This commit is contained in:
parent
016c990834
commit
eb75f4fced
1 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ retry:
|
|||
|
||||
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
|
||||
lockmode,
|
||||
false /* wait */,
|
||||
LockWaitBlock,
|
||||
false /* don't follow updates */,
|
||||
&buf, &hufd);
|
||||
/* the tuple slot already has the buffer pinned */
|
||||
|
|
@ -323,7 +323,7 @@ retry:
|
|||
|
||||
res = heap_lock_tuple(rel, &locktup, GetCurrentCommandId(false),
|
||||
lockmode,
|
||||
false /* wait */,
|
||||
LockWaitBlock,
|
||||
false /* don't follow updates */,
|
||||
&buf, &hufd);
|
||||
/* the tuple slot already has the buffer pinned */
|
||||
|
|
|
|||
Loading…
Reference in a new issue