aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execExprInterp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/execExprInterp.c')
-rw-r--r--src/backend/executor/execExprInterp.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/backend/executor/execExprInterp.c b/src/backend/executor/execExprInterp.c
index 771b7e3945c..9c6c2b02e98 100644
--- a/src/backend/executor/execExprInterp.c
+++ b/src/backend/executor/execExprInterp.c
@@ -355,7 +355,6 @@ ExecInterpExpr(ExprState *state, ExprContext *econtext, bool *isnull)
&&CASE_EEOP_MAKE_READONLY,
&&CASE_EEOP_IOCOERCE,
&&CASE_EEOP_DISTINCT,
- &&CASE_EEOP_NOT_DISTINCT,
&&CASE_EEOP_NULLIF,
&&CASE_EEOP_SQLVALUEFUNCTION,
&&CASE_EEOP_CURRENTOFEXPR,
@@ -1199,34 +1198,6 @@ ExecInterpExpr(ExprState *state, ExprContext *econtext, bool *isnull)
EEO_NEXT();
}
- /* see EEOP_DISTINCT for comments, this is just inverted */
- EEO_CASE(EEOP_NOT_DISTINCT)
- {
- FunctionCallInfo fcinfo = op->d.func.fcinfo_data;
-
- if (fcinfo->argnull[0] && fcinfo->argnull[1])
- {
- *op->resvalue = BoolGetDatum(true);
- *op->resnull = false;
- }
- else if (fcinfo->argnull[0] || fcinfo->argnull[1])
- {
- *op->resvalue = BoolGetDatum(false);
- *op->resnull = false;
- }
- else
- {
- Datum eqresult;
-
- fcinfo->isnull = false;
- eqresult = op->d.func.fn_addr(fcinfo);
- *op->resvalue = eqresult;
- *op->resnull = fcinfo->isnull;
- }
-
- EEO_NEXT();
- }
-
EEO_CASE(EEOP_NULLIF)
{
/*