mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Patch for ReScan of Group.
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
* columns. (ie. tuples from the same group are consecutive)
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.19 1998/06/15 19:28:21 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeGroup.c,v 1.20 1998/07/16 01:49:18 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -417,3 +417,12 @@ sameGroup(HeapTuple oldtuple,
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
ExecReScanGroup(Group *node, ExprContext *exprCtxt, Plan *parent)
|
||||
{
|
||||
GroupState *grpstate = node->grpstate;
|
||||
|
||||
grpstate->grp_useFirstTuple = FALSE;
|
||||
grpstate->grp_done = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user