1 /*-------------------------------------------------------------------------
4 * plan and query descriptor accessor macros used by the executor
8 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $Id: execdesc.h,v 1.15 2001/10/25 05:49:59 momjian Exp $
13 *-------------------------------------------------------------------------
18 #include "nodes/parsenodes.h"
19 #include "nodes/plannodes.h"
20 #include "tcop/dest.h"
24 * a QueryDesc encapsulates everything that the executor
25 * needs to execute the query
26 * ---------------------
28 typedef struct QueryDesc
30 CmdType operation; /* CMD_SELECT, CMD_UPDATE, etc. */
33 CommandDest dest; /* the destination output of the execution */
37 extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree,
39 #endif /* EXECDESC_H */