summaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/execIndexing.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/executor/execIndexing.c b/src/backend/executor/execIndexing.c
index d1cbab58799..dd323c9b9fd 100644
--- a/src/backend/executor/execIndexing.c
+++ b/src/backend/executor/execIndexing.c
@@ -945,9 +945,7 @@ retry:
ExecDropSingleTupleTableSlot(existing_slot);
#ifdef USE_INJECTION_POINTS
- if (conflict)
- INJECTION_POINT("check-exclusion-or-unique-constraint-conflict", NULL);
- else
+ if (!conflict)
INJECTION_POINT("check-exclusion-or-unique-constraint-no-conflict", NULL);
#endif