aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execReplication.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-02-27 23:46:06 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-02-28 13:28:17 -0500
commiteb75f4fced77e108393f18425ec3f7aba2e70a9d (patch)
treedf80d35a59742493fbbf5cd512c4bd8e8b05eb95 /src/backend/executor/execReplication.c
parent016c9908347ed2ba7b9d7101c858ea7730b6c0b0 (diff)
downloadpostgresql-eb75f4fced77e108393f18425ec3f7aba2e70a9d.tar.gz
postgresql-eb75f4fced77e108393f18425ec3f7aba2e70a9d.zip
Use proper enum constants for LockWaitPolicy
Diffstat (limited to 'src/backend/executor/execReplication.c')
-rw-r--r--src/backend/executor/execReplication.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execReplication.c b/src/backend/executor/execReplication.c
index ebf3f6b3c9b..f20d728ad5a 100644
--- a/src/backend/executor/execReplication.c
+++ b/src/backend/executor/execReplication.c
@@ -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 */