|
PostgreSQL Source Code git master
|
#include "catalog/objectaddress.h"#include "nodes/params.h"#include "nodes/parsenodes.h"#include "tcop/dest.h"#include "utils/relcache.h"

Go to the source code of this file.
Functions | |
| void | SetMatViewPopulatedState (Relation relation, bool newstate) |
| ObjectAddress | ExecRefreshMatView (RefreshMatViewStmt *stmt, const char *queryString, QueryCompletion *qc) |
| ObjectAddress | RefreshMatViewByOid (Oid matviewOid, bool is_create, bool skipData, bool concurrent, const char *queryString, QueryCompletion *qc) |
| DestReceiver * | CreateTransientRelDestReceiver (Oid transientoid) |
| bool | MatViewIncrementalMaintenanceIsEnabled (void) |
|
extern |
Definition at line 464 of file matview.c.
References DestTransientRel, _DestReceiver::mydest, palloc0_object, DR_transientrel::pub, _DestReceiver::rDestroy, _DestReceiver::receiveSlot, _DestReceiver::rShutdown, _DestReceiver::rStartup, DR_transientrel::transientoid, transientrel_destroy(), transientrel_receive(), transientrel_shutdown(), and transientrel_startup().
Referenced by CreateDestReceiver(), and RefreshMatViewByOid().
|
extern |
Definition at line 120 of file matview.c.
References AccessExclusiveLock, ExclusiveLock, fb(), RangeVarCallbackMaintainsTable(), RangeVarGetRelidExtended(), RefreshMatViewByOid(), and stmt.
Referenced by ProcessUtilitySlow().
Definition at line 952 of file matview.c.
References matview_maintenance_depth.
Referenced by CheckValidResultRel().
|
extern |
Definition at line 164 of file matview.c.
References AccessExclusiveLock, AccessShareLock, Assert, AtEOXact_GUC(), CheckRelationOidLockedByMe(), CheckTableNotInUse(), CMD_SELECT, CreateTransientRelDestReceiver(), elog, ereport, errcode(), errhint(), errmsg(), ERROR, ExclusiveLock, fb(), get_namespace_name(), GetDefaultTablespace(), GetUserIdAndSecContext(), index_close(), index_open(), is_usable_unique_index(), lfirst_oid, linitial_node, list_free(), list_length(), make_new_heap(), matview_maintenance_depth, NewGUCNestLevel(), NoLock, ObjectAddressSet, PG_CATCH, PG_END_TRY, PG_RE_THROW, PG_TRY, pgstat_count_heap_insert(), pgstat_count_truncate(), quote_qualified_identifier(), refresh_by_heap_swap(), refresh_by_match_merge(), refresh_matview_datafill(), RelationGetIndexList(), RelationGetNamespace, RelationGetRelationName, RelationIsPopulated, RestrictSearchPath(), SECURITY_RESTRICTED_OPERATION, SetMatViewPopulatedState(), SetQueryCompletion(), SetUserIdAndSecContext(), table_close(), and table_open().
Referenced by ExecCreateTableAs(), and ExecRefreshMatView().
Definition at line 78 of file matview.c.
References Assert, CatalogTupleUpdate(), CommandCounterIncrement(), elog, ERROR, fb(), GETSTRUCT(), heap_freetuple(), HeapTupleIsValid, newstate(), ObjectIdGetDatum(), RelationData::rd_rel, RelationGetRelid, RowExclusiveLock, SearchSysCacheCopy1, HeapTupleData::t_self, table_close(), and table_open().
Referenced by intorel_startup(), and RefreshMatViewByOid().