From 421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 27 Sep 2009 21:10:53 +0000 Subject: Remove no-longer-needed ExecCountSlots infrastructure. --- src/backend/executor/nodeWindowAgg.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/backend/executor/nodeWindowAgg.c') diff --git a/src/backend/executor/nodeWindowAgg.c b/src/backend/executor/nodeWindowAgg.c index 7343cb3752e..acc2f55ea94 100644 --- a/src/backend/executor/nodeWindowAgg.c +++ b/src/backend/executor/nodeWindowAgg.c @@ -27,7 +27,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeWindowAgg.c,v 1.6 2009/06/20 18:45:28 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeWindowAgg.c,v 1.7 2009/09/27 21:10:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1107,8 +1107,6 @@ ExecInitWindowAgg(WindowAgg *node, EState *estate, int eflags) ALLOCSET_DEFAULT_INITSIZE, ALLOCSET_DEFAULT_MAXSIZE); -#define WINDOWAGG_NSLOTS 6 - /* * tuple table initialization */ @@ -1272,18 +1270,6 @@ ExecInitWindowAgg(WindowAgg *node, EState *estate, int eflags) return winstate; } -/* ----------------- - * ExecCountSlotsWindowAgg - * ----------------- - */ -int -ExecCountSlotsWindowAgg(WindowAgg *node) -{ - return ExecCountSlotsNode(outerPlan(node)) + - ExecCountSlotsNode(innerPlan(node)) + - WINDOWAGG_NSLOTS; -} - /* ----------------- * ExecEndWindowAgg * ----------------- -- cgit v1.2.3