projects
/
users
/
heikki
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4bd77
)
Correct type of waitMode variable in ExecInsertIndexTuples().
author
Andres Freund
<
[email protected]
>
Sat, 15 Aug 2015 15:02:47 +0000
(17:02 +0200)
committer
Andres Freund
<
[email protected]
>
Sat, 15 Aug 2015 15:11:42 +0000
(17:11 +0200)
It was a bool, even though it should be CEOUC_WAIT_MODE. That's unlikely
to have a negative effect with the current definition of bool (char),
but it's definitely wrong.
Discussion:
20150812084351
[email protected]
Backpatch: 9.5, where ON CONFLICT was merged
src/backend/executor/execIndexing.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/execIndexing.c
b/src/backend/executor/execIndexing.c
index bf385086c6252445a236d9bf35b8c24069e13dc7..f42bd8f1fb889e2435a2555383732cb3f55b63b4 100644
(file)
--- a/
src/backend/executor/execIndexing.c
+++ b/
src/backend/executor/execIndexing.c
@@
-405,7
+405,7
@@
ExecInsertIndexTuples(TupleTableSlot *slot,
if (indexInfo->ii_ExclusionOps != NULL)
{
bool violationOK;
-
bool
waitMode;
+
CEOUC_WAIT_MODE
waitMode;
if (noDupErr)
{