PostgreSQL Source Code  git master
matview.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * matview.h
4  * prototypes for matview.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/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, QueryCompletion *qc);
28 
29 extern DestReceiver *CreateTransientRelDestReceiver(Oid transientoid);
30 
32 
33 #endif /* MATVIEW_H */
#define stmt
Definition: indent_codes.h:59
DestReceiver * CreateTransientRelDestReceiver(Oid transientoid)
Definition: matview.c:432
bool MatViewIncrementalMaintenanceIsEnabled(void)
Definition: matview.c:936
void SetMatViewPopulatedState(Relation relation, bool newstate)
Definition: matview.c:79
ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, ParamListInfo params, QueryCompletion *qc)
Definition: matview.c:133
unsigned int Oid
Definition: postgres_ext.h:31
static struct state * newstate(struct nfa *nfa)
Definition: regc_nfa.c:137