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

Commita4e0033

Browse files
committed
Refine query jumbling handling for CallStmt
Previously, all the nodes of CallStmt were included in the jumbling,causing a duplicate in the computation as the transformed state of theCALL query was included as well as the parsed state (transformedFuncCall with all the input arguments and potential output arguments).Reviewed-by: Bertrand DrouvotDiscussion:https://postgr.es/m/Y+MRdEq9W9XVa2AB@paquier.xyz
1 parent401874a commita4e0033

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/include/nodes/parsenodes.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,14 +3221,18 @@ typedef struct InlineCodeBlock
32213221
* list contains copies of the expressions for all output arguments, in the
32223222
* order of the procedure's declared arguments. (outargs is never evaluated,
32233223
* but is useful to the caller as a reference for what to assign to.)
3224+
* The transformed call state is not relevant in the query jumbling, only the
3225+
* function call is.
32243226
* ----------------------
32253227
*/
32263228
typedefstructCallStmt
32273229
{
32283230
NodeTagtype;
32293231
FuncCall*funccall;/* from the parser */
3230-
FuncExpr*funcexpr;/* transformed call, with only input args */
3231-
List*outargs;/* transformed output-argument expressions */
3232+
/* transformed call, with only input args */
3233+
FuncExpr*funcexprpg_node_attr(query_jumble_ignore);
3234+
/* transformed output-argument expressions */
3235+
List*outargspg_node_attr(query_jumble_ignore);
32323236
}CallStmt;
32333237

32343238
typedefstructCallContext

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp