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

Commit589f5aa

Browse files
committed
I have a simple patch about the treatment of functions.
But it may be self-satisfied.Please check my patch at the end of this posting.Case 1. executor evaluates functions twiceHiroshi InoueInoue@tpf.co.jp
1 parentb693983 commit589f5aa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/backend/parser/parse_func.c‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.32 1998/12/08 06:18:56 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_func.c,v 1.33 1998/12/13 04:16:51 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1490,15 +1490,13 @@ ParseComplexProjection(ParseState *pstate,
14901490
newexpr->typeOid=funcnode->functype;
14911491
newexpr->opType=FUNC_EXPR;
14921492
newexpr->oper= (Node*)funcnode;
1493-
newexpr->args=lcons(first_arg,NIL);
1493+
newexpr->args=expr->args;
14941494

14951495
return (Node*)newexpr;
14961496
}
14971497

14981498
}
14991499

1500-
elog(ERROR,"Function '%s' has bad return type %d",
1501-
funcname,argtype);
15021500
break;
15031501
}
15041502
caseT_Param:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp