]> granicus.if.org Git - postgresql/blob - src/include/commands/view.h
13a58017ba151d1b8c8aa8d2563b7bfa1a884061
[postgresql] / src / include / commands / view.h
1 /*-------------------------------------------------------------------------
2  *
3  * view.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/commands/view.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef VIEW_H
15 #define VIEW_H
16
17 #include "catalog/objectaddress.h"
18 #include "nodes/parsenodes.h"
19
20 extern void validateWithCheckOption(const char *value);
21
22 extern ObjectAddress DefineView(ViewStmt *stmt, const char *queryString,
23                                                                 int stmt_location, int stmt_len);
24
25 extern void StoreViewQuery(Oid viewOid, Query *viewParse, bool replace);
26
27 #endif                                                  /* VIEW_H */