mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Remove no-longer-needed ExecCountSlots infrastructure.
This commit is contained in:
@ -63,7 +63,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.168 2009/07/23 20:45:27 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.169 2009/09/27 21:10:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1239,8 +1239,6 @@ ExecInitAgg(Agg *node, EState *estate, int eflags)
|
||||
ALLOCSET_DEFAULT_INITSIZE,
|
||||
ALLOCSET_DEFAULT_MAXSIZE);
|
||||
|
||||
#define AGG_NSLOTS 3
|
||||
|
||||
/*
|
||||
* tuple table initialization
|
||||
*/
|
||||
@ -1604,14 +1602,6 @@ GetAggInitVal(Datum textInitVal, Oid transtype)
|
||||
return initVal;
|
||||
}
|
||||
|
||||
int
|
||||
ExecCountSlotsAgg(Agg *node)
|
||||
{
|
||||
return ExecCountSlotsNode(outerPlan(node)) +
|
||||
ExecCountSlotsNode(innerPlan(node)) +
|
||||
AGG_NSLOTS;
|
||||
}
|
||||
|
||||
void
|
||||
ExecEndAgg(AggState *node)
|
||||
{
|
||||
|
Reference in New Issue
Block a user