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.2 1996/11/04 12:11:40 scrappy Exp $
12 *-------------------------------------------------------------------------
17 #include <tcop/dest.h>
18 #include <nodes/plannodes.h>
19 #include <nodes/parsenodes.h>
20 #include <nodes/nodes.h>
24 * a QueryDesc encapsulates everything that the executor
25 * needs to execute the query
26 * ---------------------
28 typedef struct QueryDesc {
29 CmdType operation; /* CMD_SELECT, CMD_UPDATE, etc. */
32 CommandDest dest; /* the destination output of the execution */
36 extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree,
39 #endif /* EXECDESC_H */