mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Remove no-longer-needed ExecCountSlots infrastructure.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeMaterial.c,v 1.69 2009/06/11 14:48:57 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeMaterial.c,v 1.70 2009/09/27 21:10:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -202,8 +202,6 @@ ExecInitMaterial(Material *node, EState *estate, int eflags)
|
||||
* ExecQual or ExecProject.
|
||||
*/
|
||||
|
||||
#define MATERIAL_NSLOTS 2
|
||||
|
||||
/*
|
||||
* tuple table initialization
|
||||
*
|
||||
@ -234,14 +232,6 @@ ExecInitMaterial(Material *node, EState *estate, int eflags)
|
||||
return matstate;
|
||||
}
|
||||
|
||||
int
|
||||
ExecCountSlotsMaterial(Material *node)
|
||||
{
|
||||
return ExecCountSlotsNode(outerPlan((Plan *) node)) +
|
||||
ExecCountSlotsNode(innerPlan((Plan *) node)) +
|
||||
MATERIAL_NSLOTS;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* ExecEndMaterial
|
||||
* ----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user