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

Commite2bc275

Browse files
committed
Fix for Group ReScan suggested by Vadim.
1 parent4f807be commite2bc275

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/executor/nodeGroup.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* columns. (ie. tuples from the same group are consecutive)
1414
*
1515
* IDENTIFICATION
16-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.20 1998/07/1601:49:18 momjian Exp $
16+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.21 1998/07/1602:58:09 momjian Exp $
1717
*
1818
*-------------------------------------------------------------------------
1919
*/
@@ -425,4 +425,8 @@ ExecReScanGroup(Group *node, ExprContext *exprCtxt, Plan *parent)
425425

426426
grpstate->grp_useFirstTuple= FALSE;
427427
grpstate->grp_done= FALSE;
428+
429+
if (((Plan*)node)->lefttree&&
430+
((Plan*)node)->lefttree->chgParam==NULL)
431+
ExecReScan(((Plan*)node)->lefttree,exprCtxt, (Plan*)node);
428432
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp