codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * createas.h4 * prototypes for createas.c.5 *6 *7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group8 * Portions Copyright (c) 1994, Regents of the University of California9 *10 * src/include/commands/createas.h11 *12 *-------------------------------------------------------------------------13 */14#ifndef CREATEAS_H15#define CREATEAS_H16 17#include "catalog/objectaddress.h"18#include "nodes/params.h"19#include "parser/parse_node.h"20#include "tcop/dest.h"21#include "utils/queryenvironment.h"22 23 24extern ObjectAddress ExecCreateTableAs(ParseState *pstate, CreateTableAsStmt *stmt,25 ParamListInfo params, QueryEnvironment *queryEnv,26 QueryCompletion *qc);27 28extern int GetIntoRelEFlags(IntoClause *intoClause);29 30extern DestReceiver *CreateIntoRelDestReceiver(IntoClause *intoClause);31 32extern bool CreateTableAsRelExists(CreateTableAsStmt *ctas);33 34#endif /* CREATEAS_H */35 