1
0
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:
Bruce Momjian
1998-07-16 01:49:19 +00:00
parent c1f1a2e03a
commit 4f807be2ad
3 changed files with 19 additions and 3 deletions

View File

@ -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;
}