aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAppend.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-09-24 01:36:37 +0000
committerNeil Conway <neilc@samurai.com>2004-09-24 01:36:37 +0000
commitbe8eafa09d1ce3669fc9bc11633e536c64543284 (patch)
tree42a8798e58aa36ef1232b2a0337edaa048f40827 /src/backend/executor/nodeAppend.c
parent1d1b8191ceda6f88d721cc7299aff010136e21cf (diff)
downloadpostgresql-be8eafa09d1ce3669fc9bc11633e536c64543284.tar.gz
postgresql-be8eafa09d1ce3669fc9bc11633e536c64543284.zip
ExecProcAppend() wasn't called ExecAppend() because the latter name was
formerly used in execMain. Since that is no longer the case, this patch renames ExecProcAppend() to ExecAppend() for the sake of consistency.
Diffstat (limited to 'src/backend/executor/nodeAppend.c')
-rw-r--r--src/backend/executor/nodeAppend.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/backend/executor/nodeAppend.c b/src/backend/executor/nodeAppend.c
index 431f4039fa1..f9e0463e969 100644
--- a/src/backend/executor/nodeAppend.c
+++ b/src/backend/executor/nodeAppend.c
@@ -8,13 +8,13 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.59 2004/08/29 04:12:31 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/nodeAppend.c,v 1.60 2004/09/24 01:36:30 neilc Exp $
*
*-------------------------------------------------------------------------
*/
/* INTERFACE ROUTINES
* ExecInitAppend - initialize the append node
- * ExecProcAppend - retrieve the next tuple from the node
+ * ExecAppend - retrieve the next tuple from the node
* ExecEndAppend - shut down the append node
* ExecReScanAppend - rescan the append node
*
@@ -90,7 +90,7 @@ exec_append_initialize_next(AppendState *appendstate)
/*
* if scanning in reverse, we start at the last scan in the list
* and then proceed back to the first.. in any case we inform
- * ExecProcAppend that we are at the end of the line by returning
+ * ExecAppend that we are at the end of the line by returning
* FALSE
*/
appendstate->as_whichplan = appendstate->as_firstplan;
@@ -134,7 +134,7 @@ exec_append_initialize_next(AppendState *appendstate)
* (This is potentially wasteful, since the entire result of the
* append node may not be scanned, but this way all of the
* structures get allocated in the executor's top level memory
- * block instead of that of the call to ExecProcAppend.)
+ * block instead of that of the call to ExecAppend.)
*
* Special case: during an EvalPlanQual recheck query of an inherited
* target relation, we only want to initialize and scan the single
@@ -246,15 +246,13 @@ ExecCountSlotsAppend(Append *node)
}
/* ----------------------------------------------------------------
- * ExecProcAppend
+ * ExecAppend
*
* Handles the iteration over the multiple scans.
- *
- * NOTE: Can't call this ExecAppend, that name is used in execMain.
* ----------------------------------------------------------------
*/
TupleTableSlot *
-ExecProcAppend(AppendState *node)
+ExecAppend(AppendState *node)
{
EState *estate;
int whichplan;
@@ -310,7 +308,7 @@ ExecProcAppend(AppendState *node)
if (exec_append_initialize_next(node))
{
ExecSetSlotDescriptorIsNew(result_slot, true);
- return ExecProcAppend(node);
+ return ExecAppend(node);
}
else
return ExecClearTuple(result_slot);