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
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
QueryCompletion
*qc);
28
extern
ObjectAddress
RefreshMatViewByOid
(
Oid
matviewOid,
bool
is_create,
bool
skipData,
29
bool
concurrent,
const
char
*queryString,
30
QueryCompletion
*qc);
31
32
extern
DestReceiver
*
CreateTransientRelDestReceiver
(
Oid
transientoid);
33
34
extern
bool
MatViewIncrementalMaintenanceIsEnabled
(
void
);
35
36
#endif
/* MATVIEW_H */
dest.h
stmt
#define stmt
Definition:
indent_codes.h:59
CreateTransientRelDestReceiver
DestReceiver * CreateTransientRelDestReceiver(Oid transientoid)
Definition:
matview.c:465
MatViewIncrementalMaintenanceIsEnabled
bool MatViewIncrementalMaintenanceIsEnabled(void)
Definition:
matview.c:970
SetMatViewPopulatedState
void SetMatViewPopulatedState(Relation relation, bool newstate)
Definition:
matview.c:79
ExecRefreshMatView
ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, QueryCompletion *qc)
Definition:
matview.c:121
RefreshMatViewByOid
ObjectAddress RefreshMatViewByOid(Oid matviewOid, bool is_create, bool skipData, bool concurrent, const char *queryString, QueryCompletion *qc)
Definition:
matview.c:165
objectaddress.h
params.h
parsenodes.h
Oid
unsigned int Oid
Definition:
postgres_ext.h:32
newstate
static struct state * newstate(struct nfa *nfa)
Definition:
regc_nfa.c:137
relcache.h
ObjectAddress
Definition:
objectaddress.h:25
QueryCompletion
Definition:
cmdtag.h:30
RefreshMatViewStmt
Definition:
parsenodes.h:3979
RelationData
Definition:
rel.h:56
_DestReceiver
Definition:
dest.h:116
src
include
commands
matview.h
Generated on Sun Feb 9 2025 18:13:25 for PostgreSQL Source Code by
1.9.4