1 | /*------------------------------------------------------------------------- |
2 | * |
3 | * matview.h |
4 | * prototypes for matview.c. |
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/matview.h |
11 | * |
12 | *------------------------------------------------------------------------- |
13 | */ |
14 | #ifndef MATVIEW_H |
15 | #define MATVIEW_H |
16 | |
17 | #include "catalog/objectaddress.h" |
18 | #include "nodes/params.h" |
19 | #include "nodes/parsenodes.h" |
20 | #include "tcop/dest.h" |
21 | #include "utils/relcache.h" |
22 | |
23 | |
24 | extern void SetMatViewPopulatedState(Relation relation, bool newstate); |
25 | |
26 | extern ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, |
27 | ParamListInfo params, char *completionTag); |
28 | |
29 | extern DestReceiver *CreateTransientRelDestReceiver(Oid oid); |
30 | |
31 | extern bool MatViewIncrementalMaintenanceIsEnabled(void); |
32 | |
33 | #endif /* MATVIEW_H */ |
34 | |