/*-------------------------------------------------------------------------
 *
 * execdefs.h
 *
 *
 *
 * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $PostgreSQL: pgsql-server/src/include/executor/execdefs.h,v 1.16 2004/08/29 04:13:06 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef EXECDEFS_H
#define EXECDEFS_H

/* ----------------
 *		Merge Join states
 * ----------------
 */
#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_SKIPOUTER_BEGIN			8
#define EXEC_MJ_SKIPOUTER_TEST			9
#define EXEC_MJ_SKIPOUTER_ADVANCE		10
#define EXEC_MJ_SKIPINNER_BEGIN			11
#define EXEC_MJ_SKIPINNER_TEST			12
#define EXEC_MJ_SKIPINNER_ADVANCE		13
#define EXEC_MJ_ENDOUTER				14
#define EXEC_MJ_ENDINNER				15

#endif   /* EXECDEFS_H */
