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
20extern void validateWithCheckOption(const char *value);
21
22extern ObjectAddress DefineView(ViewStmt *stmt, const char *queryString,
23 int stmt_location, int stmt_len);
24
25extern void StoreViewQuery(Oid viewOid, Query *viewParse, bool replace);
26
27#endif /* VIEW_H */
28