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-2025, 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
18#include "nodes/params.h"
19#include "nodes/parsenodes.h"
20#include "tcop/dest.h"
21#include "utils/relcache.h"
22
23
24extern void SetMatViewPopulatedState(Relation relation, bool newstate);
25
26extern ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
27 QueryCompletion *qc);
28extern ObjectAddress RefreshMatViewByOid(Oid matviewOid, bool is_create, bool skipData,
29 bool concurrent, const char *queryString,
30 QueryCompletion *qc);
31
33
35
36#endif /* MATVIEW_H */
#define stmt
Definition: indent_codes.h:59
DestReceiver * CreateTransientRelDestReceiver(Oid transientoid)
Definition: matview.c:465
bool MatViewIncrementalMaintenanceIsEnabled(void)
Definition: matview.c:970
void SetMatViewPopulatedState(Relation relation, bool newstate)
Definition: matview.c:79
ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, QueryCompletion *qc)
Definition: matview.c:121
ObjectAddress RefreshMatViewByOid(Oid matviewOid, bool is_create, bool skipData, bool concurrent, const char *queryString, QueryCompletion *qc)
Definition: matview.c:165
unsigned int Oid
Definition: postgres_ext.h:32
static struct state * newstate(struct nfa *nfa)
Definition: regc_nfa.c:137