2626 *
2727 *
2828 * IDENTIFICATION
29- * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.1.1.1 1996/07/09 06:21:25 scrappy Exp $
29+ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.2 1996/07/30 07:45:27 scrappy Exp $
3030 *
3131 *-------------------------------------------------------------------------
3232 */
@@ -49,7 +49,7 @@ static TupleDesc InitPlan(CmdType operation, Query *parseTree,
4949static void EndPlan (Plan * plan ,EState * estate );
5050static TupleTableSlot * ExecutePlan (EState * estate ,Plan * plan ,
5151Query * parseTree ,CmdType operation ,
52- int numberTuples ,int direction ,
52+ int numberTuples ,ScanDirection direction ,
5353void (* printfunc )());
5454static void ExecRetrieve (TupleTableSlot * slot ,void (* printfunc )(),
5555Relation intoRelationDesc );
@@ -153,7 +153,7 @@ ExecutorRun(QueryDesc *queryDesc, EState *estate, int feature, int count)
153153parseTree ,
154154operation ,
155155ALL_TUPLES ,
156- EXEC_FRWD ,
156+ ForwardScanDirection ,
157157destination );
158158break ;
159159case EXEC_FOR :
@@ -162,7 +162,7 @@ ExecutorRun(QueryDesc *queryDesc, EState *estate, int feature, int count)
162162parseTree ,
163163operation ,
164164count ,
165- EXEC_FRWD ,
165+ ForwardScanDirection ,
166166destination );
167167break ;
168168
@@ -176,7 +176,7 @@ ExecutorRun(QueryDesc *queryDesc, EState *estate, int feature, int count)
176176parseTree ,
177177operation ,
178178count ,
179- EXEC_BKWD ,
179+ BackwardScanDirection ,
180180destination );
181181break ;
182182
@@ -191,7 +191,7 @@ ExecutorRun(QueryDesc *queryDesc, EState *estate, int feature, int count)
191191parseTree ,
192192operation ,
193193ONE_TUPLE ,
194- EXEC_FRWD ,
194+ ForwardScanDirection ,
195195destination );
196196break ;
197197default :
@@ -600,7 +600,7 @@ ExecutePlan(EState *estate,
600600Query * parseTree ,
601601CmdType operation ,
602602int numberTuples ,
603- int direction ,
603+ ScanDirection direction ,
604604void (* printfunc )())
605605{
606606Relation intoRelationDesc ;