summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSubplan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/executor/nodeSubplan.c')
-rw-r--r--src/backend/executor/nodeSubplan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c
index 2f27a3d558..f5903d302a 100644
--- a/src/backend/executor/nodeSubplan.c
+++ b/src/backend/executor/nodeSubplan.c
@@ -287,7 +287,7 @@ ExecScanSubPlan(SubPlanState *node,
if (found)
ereport(ERROR,
(errcode(ERRCODE_CARDINALITY_VIOLATION),
- errmsg("more than one tuple returned by a subselect used as an expression")));
+ errmsg("more than one row returned by a subquery used as an expression")));
found = true;
/*
@@ -329,7 +329,7 @@ ExecScanSubPlan(SubPlanState *node,
if (subLinkType == MULTIEXPR_SUBLINK && found)
ereport(ERROR,
(errcode(ERRCODE_CARDINALITY_VIOLATION),
- errmsg("more than one tuple returned by a subselect used as an expression")));
+ errmsg("more than one row returned by a subquery used as an expression")));
found = true;
@@ -963,7 +963,7 @@ ExecSetParamPlan(SubPlanState *node, ExprContext *econtext)
subLinkType == MULTIEXPR_SUBLINK))
ereport(ERROR,
(errcode(ERRCODE_CARDINALITY_VIOLATION),
- errmsg("more than one tuple returned by a subselect used as an expression")));
+ errmsg("more than one row returned by a subquery used as an expression")));
found = true;