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
extern
ObjectAddress
RefreshMatViewByOid
(
Oid
matviewOid,
bool
skipData,
bool
concurrent,
29
const
char
*queryString,
ParamListInfo
params,
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:448
MatViewIncrementalMaintenanceIsEnabled
bool MatViewIncrementalMaintenanceIsEnabled(void)
Definition:
matview.c:954
RefreshMatViewByOid
ObjectAddress RefreshMatViewByOid(Oid matviewOid, bool skipData, bool concurrent, const char *queryString, ParamListInfo params, QueryCompletion *qc)
Definition:
matview.c:162
SetMatViewPopulatedState
void SetMatViewPopulatedState(Relation relation, bool newstate)
Definition:
matview.c:79
ExecRefreshMatView
ObjectAddress ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, ParamListInfo params, QueryCompletion *qc)
Definition:
matview.c:121
objectaddress.h
params.h
parsenodes.h
Oid
unsigned int Oid
Definition:
postgres_ext.h:31
newstate
static struct state * newstate(struct nfa *nfa)
Definition:
regc_nfa.c:137
relcache.h
ObjectAddress
Definition:
objectaddress.h:25
ParamListInfoData
Definition:
params.h:111
QueryCompletion
Definition:
cmdtag.h:30
RefreshMatViewStmt
Definition:
parsenodes.h:3908
RelationData
Definition:
rel.h:56
_DestReceiver
Definition:
dest.h:116
src
include
commands
matview.h
Generated on Sat Jul 27 2024 00:13:24 for PostgreSQL Source Code by
1.9.1