OSDN Git Service

Remove no-longer-needed ExecCountSlots infrastructure.
[pg-rex/syncrep.git] / src / backend / executor / nodeAgg.c
index 4548fe9..00234f0 100644 (file)
@@ -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)
 {