00001 /*------------------------------------------------------------------------- 00002 * 00003 * createas.h 00004 * prototypes for createas.c. 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/commands/createas.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 #ifndef CREATEAS_H 00015 #define CREATEAS_H 00016 00017 #include "nodes/params.h" 00018 #include "nodes/parsenodes.h" 00019 #include "tcop/dest.h" 00020 00021 00022 extern void ExecCreateTableAs(CreateTableAsStmt *stmt, const char *queryString, 00023 ParamListInfo params, char *completionTag); 00024 00025 extern int GetIntoRelEFlags(IntoClause *intoClause); 00026 00027 extern DestReceiver *CreateIntoRelDestReceiver(IntoClause *intoClause); 00028 00029 #endif /* CREATEAS_H */