From f9dec81a5493bc31fdbbf69b5fafe0d4452a38f1 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 15 Aug 2015 17:02:47 +0200 Subject: [PATCH] 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 --- src/backend/executor/execIndexing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/executor/execIndexing.c b/src/backend/executor/execIndexing.c index bf385086c6..f42bd8f1fb 100644 --- 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) { -- 2.40.0