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/nodeRecursiveunion.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/backend/executor/nodeRecursiveunion.c') diff --git a/src/backend/executor/nodeRecursiveunion.c b/src/backend/executor/nodeRecursiveunion.c index 39b687f221a..abcdc015910 100644 --- a/src/backend/executor/nodeRecursiveunion.c +++ b/src/backend/executor/nodeRecursiveunion.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeRecursiveunion.c,v 1.4 2009/06/11 14:48:57 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeRecursiveunion.c,v 1.5 2009/09/27 21:10:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -231,8 +231,6 @@ ExecInitRecursiveUnion(RecursiveUnion *node, EState *estate, int eflags) */ Assert(node->plan.qual == NIL); -#define RECURSIVEUNION_NSLOTS 1 - /* * RecursiveUnion nodes still have Result slots, which hold pointers to * tuples, so we have to initialize them. @@ -269,14 +267,6 @@ ExecInitRecursiveUnion(RecursiveUnion *node, EState *estate, int eflags) return rustate; } -int -ExecCountSlotsRecursiveUnion(RecursiveUnion *node) -{ - return ExecCountSlotsNode(outerPlan(node)) + - ExecCountSlotsNode(innerPlan(node)) + - RECURSIVEUNION_NSLOTS; -} - /* ---------------------------------------------------------------- * ExecEndRecursiveUnionScan * -- cgit v1.2.3