mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Remove no-longer-needed ExecCountSlots infrastructure.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.101 2009/06/11 14:48:57 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.102 2009/09/27 21:10:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -400,8 +400,6 @@ ExecInitHashJoin(HashJoin *node, EState *estate, int eflags)
|
||||
outerPlanState(hjstate) = ExecInitNode(outerNode, estate, eflags);
|
||||
innerPlanState(hjstate) = ExecInitNode((Plan *) hashNode, estate, eflags);
|
||||
|
||||
#define HASHJOIN_NSLOTS 3
|
||||
|
||||
/*
|
||||
* tuple table initialization
|
||||
*/
|
||||
@ -494,14 +492,6 @@ ExecInitHashJoin(HashJoin *node, EState *estate, int eflags)
|
||||
return hjstate;
|
||||
}
|
||||
|
||||
int
|
||||
ExecCountSlotsHashJoin(HashJoin *node)
|
||||
{
|
||||
return ExecCountSlotsNode(outerPlan(node)) +
|
||||
ExecCountSlotsNode(innerPlan(node)) +
|
||||
HASHJOIN_NSLOTS;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* ExecEndHashJoin
|
||||
*
|
||||
|
Reference in New Issue
Block a user