1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* execdefs.h
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1999-02-23 08:37:31 +01:00
|
|
|
* $Id: execdefs.h,v 1.5 1999/02/23 07:37:31 thomas Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef EXECDEFS_H
|
|
|
|
#define EXECDEFS_H
|
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* ExecutePlan() tuplecount definitions
|
1996-07-09 08:22:35 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define ALL_TUPLES 0 /* return all tuples */
|
|
|
|
#define ONE_TUPLE 1 /* return only one tuple */
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* constants used by ExecMain
|
1996-07-09 08:22:35 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define EXEC_RUN 3
|
|
|
|
#define EXEC_FOR 4
|
|
|
|
#define EXEC_BACK 5
|
|
|
|
#define EXEC_RETONE 6
|
|
|
|
#define EXEC_RESULT 7
|
1996-07-09 08:22:35 +02:00
|
|
|
|
|
|
|
/* ----------------
|
1997-09-07 07:04:48 +02:00
|
|
|
* Merge Join states
|
1996-07-09 08:22:35 +02:00
|
|
|
* ----------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#define EXEC_MJ_INITIALIZE 1
|
|
|
|
#define EXEC_MJ_JOINMARK 2
|
|
|
|
#define EXEC_MJ_JOINTEST 3
|
|
|
|
#define EXEC_MJ_JOINTUPLES 4
|
|
|
|
#define EXEC_MJ_NEXTOUTER 5
|
|
|
|
#define EXEC_MJ_TESTOUTER 6
|
|
|
|
#define EXEC_MJ_NEXTINNER 7
|
|
|
|
#define EXEC_MJ_SKIPINNER 8
|
|
|
|
#define EXEC_MJ_SKIPOUTER 9
|
1999-02-23 08:37:31 +01:00
|
|
|
#define EXEC_MJ_FILLINNER 10
|
|
|
|
#define EXEC_MJ_FILLOUTER 11
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* EXECDEFS_H */
|