1 /*-------------------------------------------------------------------------
4 * plan and query descriptor accessor macros used by the executor
8 * Copyright (c) 1994, Regents of the University of California
10 * $Id: execdesc.h,v 1.6 1997/09/08 21:51:50 momjian Exp $
12 *-------------------------------------------------------------------------
17 #include <tcop/dest.h>
18 #include <nodes/plannodes.h>
19 #include <nodes/parsenodes.h>
23 * a QueryDesc encapsulates everything that the executor
24 * needs to execute the query
25 * ---------------------
27 typedef struct QueryDesc
29 CmdType operation; /* CMD_SELECT, CMD_UPDATE, etc. */
32 CommandDest dest; /* the destination output of the execution */
37 CreateQueryDesc(Query *parsetree, Plan *plantree,
40 #endif /* EXECDESC_H */