mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Remove no-longer-needed ExecCountSlots infrastructure.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeSort.c,v 1.65 2009/04/02 20:59:10 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/executor/nodeSort.c,v 1.66 2009/09/27 21:10:53 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -182,8 +182,6 @@ ExecInitSort(Sort *node, EState *estate, int eflags)
|
||||
* ExecQual or ExecProject.
|
||||
*/
|
||||
|
||||
#define SORT_NSLOTS 2
|
||||
|
||||
/*
|
||||
* tuple table initialization
|
||||
*
|
||||
@ -216,14 +214,6 @@ ExecInitSort(Sort *node, EState *estate, int eflags)
|
||||
return sortstate;
|
||||
}
|
||||
|
||||
int
|
||||
ExecCountSlotsSort(Sort *node)
|
||||
{
|
||||
return ExecCountSlotsNode(outerPlan((Plan *) node)) +
|
||||
ExecCountSlotsNode(innerPlan((Plan *) node)) +
|
||||
SORT_NSLOTS;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
* ExecEndSort(node)
|
||||
* ----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user