Skip to content

Commit 6942663

Browse files
committed
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
1 parent 32951f9 commit 6942663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/execIndexing.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ ExecInsertIndexTuples(TupleTableSlot *slot,
405405
if (indexInfo->ii_ExclusionOps != NULL)
406406
{
407407
bool violationOK;
408-
bool waitMode;
408+
CEOUC_WAIT_MODE waitMode;
409409

410410
if (noDupErr)
411411
{

0 commit comments

Comments
 (0)