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:
@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeSetOp.c,v 1.31 2009/06/11 14:48:57 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeSetOp.c,v 1.32 2009/09/27 21:10:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -523,8 +523,6 @@ ExecInitSetOp(SetOp *node, EState *estate, int eflags)
|
||||
ALLOCSET_DEFAULT_INITSIZE,
|
||||
ALLOCSET_DEFAULT_MAXSIZE);
|
||||
|
||||
#define SETOP_NSLOTS 1
|
||||
|
||||
/*
|
||||
* Tuple table initialization
|
||||
*/
|
||||
@ -576,14 +574,6 @@ ExecInitSetOp(SetOp *node, EState *estate, int eflags)
|
||||
return setopstate;
|
||||
}
|
||||
|
||||
int
|
||||
ExecCountSlotsSetOp(SetOp *node)
|
||||
{
|
||||
return ExecCountSlotsNode(outerPlan(node)) +
|
||||
ExecCountSlotsNode(innerPlan(node)) +
|
||||
SETOP_NSLOTS;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* ExecEndSetOp
|
||||
*
|
||||
|
Reference in New Issue
Block a user