1 /*------------------------------------------------------------------------- 2 * 3 * createas.h 4 * prototypes for createas.c. 5 * 6 * 7 * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group 8 * Portions Copyright (c) 1994, Regents of the University of California 9 * 10 * src/include/commands/createas.h 11 * 12 *------------------------------------------------------------------------- 13 */ 14 #ifndef CREATEAS_H 15 #define CREATEAS_H 16 17 #include "catalog/objectaddress.h" 18 #include "nodes/params.h" 19 #include "nodes/parsenodes.h" 20 #include "tcop/dest.h" 21 22 23 extern ObjectAddress ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString, 24 ParamListInfo params, char *completionTag); 25 26 extern int GetIntoRelEFlags(IntoClause *intoClause); 27 28 extern DestReceiver *CreateIntoRelDestReceiver(IntoClause *intoClause); 29 30 #endif /* CREATEAS_H */ 31