diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-27 21:10:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-27 21:10:53 +0000 |
commit | 421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7 (patch) | |
tree | 2c5a1cb881aff49aba26c282c98fb218be3ca7c7 /src/backend/executor/nodeBitmapOr.c | |
parent | f92e8a4b5ee6a22252cbba012d629f5cefef913f (diff) | |
download | postgresql-421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7.tar.gz postgresql-421d7d8edb1bef2c354fe27f2ef4c4e8b6c1faf7.zip |
Remove no-longer-needed ExecCountSlots infrastructure.
Diffstat (limited to 'src/backend/executor/nodeBitmapOr.c')
-rw-r--r-- | src/backend/executor/nodeBitmapOr.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/backend/executor/nodeBitmapOr.c b/src/backend/executor/nodeBitmapOr.c index cf97013a353..5c4fe6b1eaf 100644 --- a/src/backend/executor/nodeBitmapOr.c +++ b/src/backend/executor/nodeBitmapOr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeBitmapOr.c,v 1.10 2009/01/01 17:23:41 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeBitmapOr.c,v 1.11 2009/09/27 21:10:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -75,8 +75,6 @@ ExecInitBitmapOr(BitmapOr *node, EState *estate, int eflags) * ExecQual or ExecProject. They don't need any tuple slots either. */ -#define BITMAPOR_NSLOTS 0 - /* * call ExecInitNode on each of the plans to be executed and save the * results into the array "bitmapplanstates". @@ -92,17 +90,6 @@ ExecInitBitmapOr(BitmapOr *node, EState *estate, int eflags) return bitmaporstate; } -int -ExecCountSlotsBitmapOr(BitmapOr *node) -{ - ListCell *plan; - int nSlots = 0; - - foreach(plan, node->bitmapplans) - nSlots += ExecCountSlotsNode((Plan *) lfirst(plan)); - return nSlots + BITMAPOR_NSLOTS; -} - /* ---------------------------------------------------------------- * MultiExecBitmapOr * ---------------------------------------------------------------- |