projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016c990
)
Use proper enum constants for LockWaitPolicy
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 28 Feb 2017 04:46:06 +0000
(23:46 -0500)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 28 Feb 2017 18:28:17 +0000
(13:28 -0500)
src/backend/executor/execReplication.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/execReplication.c
b/src/backend/executor/execReplication.c
index ebf3f6b3c9b6df736ba5cb8092e41b4980bb6644..f20d728ad5a4d6ec398bc77850fe07a41c40f867 100644
(file)
--- 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 */