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

Commit3b6073d

Browse files
committed
Remove some unnecessary code: since ExecMakeFunctionResultNoSets does not
want to handle set inputs, it should just pass NULL for isDone, not makeits own failure check.
1 parent8d6e9bc commit3b6073d

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

‎src/backend/executor/execQual.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/executor/execQual.c,v 1.178 2005/05/09 14:28:39 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/executor/execQual.c,v 1.179 2005/05/12 20:41:56 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1060,17 +1060,11 @@ ExecMakeFunctionResultNoSets(FuncExprState *fcache,
10601060
foreach(arg,fcache->args)
10611061
{
10621062
ExprState*argstate= (ExprState*)lfirst(arg);
1063-
ExprDoneCondthisArgIsDone;
10641063

10651064
fcinfo.arg[i]=ExecEvalExpr(argstate,
10661065
econtext,
10671066
&fcinfo.argnull[i],
1068-
&thisArgIsDone);
1069-
1070-
if (thisArgIsDone!=ExprSingleResult)
1071-
ereport(ERROR,
1072-
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
1073-
errmsg("set-valued function called in context that cannot accept a set")));
1067+
NULL);
10741068
i++;
10751069
}
10761070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp