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

Commit649ffe1

Browse files
committed
Improve subquery error message, now says "More than one tuple returned
by subselect used as expression."
1 parente1b212f commit649ffe1

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

‎doc/README.NT

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
From: "Joost Kraaijeveld" <JKraaijeveld@askesis.nl>
2-
To: "Pgsql-Ports@Postgresql. Org" <pgsql-ports@postgreSQL.org>
3-
Subject: RE: [PORTS] Re: psql under win32
4-
Date: Wed, 21 Apr 1999 07:07:47 +0200
5-
Message-ID: <000001be8bb4$e59b0ab0$0300a8c0@abraracourcix.askesis.nl>
6-
MIME-Version: 1.0
7-
81
Installing PostgreSQL on NT:
92

103
---------------------------------------------------------------------------

‎src/backend/executor/nodeSubplan.c

Lines changed: 3 additions & 3 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.18 1999/12/16 22:19:44 wieck Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeSubplan.c,v 1.19 1999/12/29 22:57:17 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,"ExecSubPlan: morethan one tuple returned byexpressionsubselect");
108+
elog(ERROR,"Morethan one tuple returned by subselect used as 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,"ExecSubPlan: morethan one tuple returned byexpressionsubselect");
129+
elog(ERROR,"Morethan one tuple returned by subselect used as expression.");
130130

131131
found= true;
132132

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp