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
24
extern
ObjectAddress
ExecCreateTableAs
(
ParseState
*pstate,
CreateTableAsStmt
*
stmt
,
25
ParamListInfo
params,
QueryEnvironment
*queryEnv,
26
QueryCompletion
*qc);
27
28
extern
int
GetIntoRelEFlags
(
IntoClause
*intoClause);
29
30
extern
DestReceiver
*
CreateIntoRelDestReceiver
(
IntoClause
*intoClause);
31
32
extern
bool
CreateTableAsRelExists
(
CreateTableAsStmt
*ctas);
33
34
#endif
/* CREATEAS_H */
CreateTableAsRelExists
bool CreateTableAsRelExists(CreateTableAsStmt *ctas)
Definition:
createas.c:383
CreateIntoRelDestReceiver
DestReceiver * CreateIntoRelDestReceiver(IntoClause *intoClause)
Definition:
createas.c:430
GetIntoRelEFlags
int GetIntoRelEFlags(IntoClause *intoClause)
Definition:
createas.c:365
ExecCreateTableAs
ObjectAddress ExecCreateTableAs(ParseState *pstate, CreateTableAsStmt *stmt, ParamListInfo params, QueryEnvironment *queryEnv, QueryCompletion *qc)
Definition:
createas.c:221
dest.h
stmt
#define stmt
Definition:
indent_codes.h:59
objectaddress.h
params.h
parse_node.h
queryenvironment.h
CreateTableAsStmt
Definition:
parsenodes.h:3879
IntoClause
Definition:
primnodes.h:159
ObjectAddress
Definition:
objectaddress.h:25
ParamListInfoData
Definition:
params.h:111
ParseState
Definition:
parse_node.h:191
QueryCompletion
Definition:
cmdtag.h:30
QueryEnvironment
Definition:
queryenvironment.c:33
_DestReceiver
Definition:
dest.h:116
src
include
commands
createas.h
Generated on Mon Sep 9 2024 18:13:24 for PostgreSQL Source Code by
1.9.1