Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite3354ab

Browse files
committed
Update subquery error message.
1 parent72cec86 commite3354ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/executor/nodeSubplan.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSubplan.c,v 1.19 1999/12/29 22:57:17 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSubplan.c,v 1.20 2000/01/17 04:43:56 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -105,7 +105,7 @@ ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext, bool *isNull)
105105
{
106106
/* cannot allow multiple input tuples for EXPR sublink */
107107
if (found)
108-
elog(ERROR,"More than one tuple returned by subselect used as expression.");
108+
elog(ERROR,"More than one tuple returned byasubselect used as an expression.");
109109
found= true;
110110
/*
111111
* We need to copy the subplan's tuple in case the result is of
@@ -126,7 +126,7 @@ ExecSubPlan(SubPlan *node, List *pvar, ExprContext *econtext, bool *isNull)
126126

127127
/* cannot allow multiple input tuples for MULTIEXPR sublink either */
128128
if (subLinkType==MULTIEXPR_SUBLINK&&found)
129-
elog(ERROR,"More than one tuple returned by subselect used as expression.");
129+
elog(ERROR,"More than one tuple returned byasubselect used as an expression.");
130130

131131
found= true;
132132

@@ -339,7 +339,7 @@ ExecSetParamPlan(SubPlan *node)
339339
if (found&&
340340
(sublink->subLinkType==EXPR_SUBLINK||
341341
sublink->subLinkType==MULTIEXPR_SUBLINK))
342-
elog(ERROR,"ExecSetParamPlan: morethan one tuple returnedby expressionsubselect");
342+
elog(ERROR,"Morethan one tuple returnedasubselect used as an expression.");
343343

344344
found= true;
345345

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp