aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeLimit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-09-27 21:10:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-09-27 21:10:53 +0000
commit421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7 (patch)
tree2c5a1cb881aff49aba26c282c98fb218be3ca7c7 /src/backend/executor/nodeLimit.c
parentf92e8a4b5ee6a22252cbba012d629f5cefef913f (diff)
downloadpostgresql-421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7.tar.gz
postgresql-421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7.zip
Remove no-longer-needed ExecCountSlots infrastructure.
Diffstat (limited to 'src/backend/executor/nodeLimit.c')
-rw-r--r--src/backend/executor/nodeLimit.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/executor/nodeLimit.c b/src/backend/executor/nodeLimit.c
index 0626b8be371..33744bf3e89 100644
--- a/src/backend/executor/nodeLimit.c
+++ b/src/backend/executor/nodeLimit.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/nodeLimit.c,v 1.39 2009/06/11 14:48:57 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/nodeLimit.c,v 1.40 2009/09/27 21:10:53 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -367,8 +367,6 @@ ExecInitLimit(Limit *node, EState *estate, int eflags)
limitstate->limitCount = ExecInitExpr((Expr *) node->limitCount,
(PlanState *) limitstate);
-#define LIMIT_NSLOTS 1
-
/*
* Tuple table initialization (XXX not actually used...)
*/
@@ -390,14 +388,6 @@ ExecInitLimit(Limit *node, EState *estate, int eflags)
return limitstate;
}
-int
-ExecCountSlotsLimit(Limit *node)
-{
- return ExecCountSlotsNode(outerPlan(node)) +
- ExecCountSlotsNode(innerPlan(node)) +
- LIMIT_NSLOTS;
-}
-
/* ----------------------------------------------------------------
* ExecEndLimit
*