PostgreSQL Source Code  git master
createas.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * createas.h
4  * prototypes for createas.c.
5  *
6  *
7  * Portions Copyright (c) 1996-2024, 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 "parser/parse_node.h"
20 #include "tcop/dest.h"
21 #include "utils/queryenvironment.h"
22 
23 
25  ParamListInfo params, QueryEnvironment *queryEnv,
26  QueryCompletion *qc);
27 
28 extern int GetIntoRelEFlags(IntoClause *intoClause);
29 
31 
32 extern bool CreateTableAsRelExists(CreateTableAsStmt *ctas);
33 
34 #endif /* CREATEAS_H */
bool CreateTableAsRelExists(CreateTableAsStmt *ctas)
Definition: createas.c:388
DestReceiver * CreateIntoRelDestReceiver(IntoClause *intoClause)
Definition: createas.c:435
int GetIntoRelEFlags(IntoClause *intoClause)
Definition: createas.c:370
ObjectAddress ExecCreateTableAs(ParseState *pstate, CreateTableAsStmt *stmt, ParamListInfo params, QueryEnvironment *queryEnv, QueryCompletion *qc)
Definition: createas.c:221
#define stmt
Definition: indent_codes.h:59