Commit f9dec81a authored by Andres Freund's avatar Andres Freund

Correct type of waitMode variable in ExecInsertIndexTuples().

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.GD8470@awork2.anarazel.de
Backpatch: 9.5, where ON CONFLICT was merged
parent 1d4bd775
...@@ -405,7 +405,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot, ...@@ -405,7 +405,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot,
if (indexInfo->ii_ExclusionOps != NULL) if (indexInfo->ii_ExclusionOps != NULL)
{ {
bool violationOK; bool violationOK;
bool waitMode; CEOUC_WAIT_MODE waitMode;
if (noDupErr) if (noDupErr)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment