PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
ObjectAddress | DefineView (ViewStmt *stmt, const char *queryString, int stmt_location, int stmt_len) |
void | StoreViewQuery (Oid viewOid, Query *viewParse, bool replace) |
ObjectAddress DefineView | ( | ViewStmt * | stmt, |
const char * | queryString, | ||
int | stmt_location, | ||
int | stmt_len | ||
) |
Definition at line 361 of file view.c.
References _, CASCADED_CHECK_OPTION, CMD_SELECT, Query::commandType, copyObject, DefineVirtualRelation(), DefElem::defname, elog(), ereport, errcode(), errhint(), errmsg(), ERROR, IsA, isQueryUsingTempRelation(), lappend(), lfirst, lfirst_node, list_head(), lnext(), LOCAL_CHECK_OPTION, makeDefElem(), makeNode, makeString(), NIL, NOTICE, parse_analyze_fixedparams(), pstrdup(), RangeVar::relname, RangeVar::relpersistence, RawStmt::stmt, stmt, RawStmt::stmt_len, RawStmt::stmt_location, strVal, Query::targetList, Query::utilityStmt, and view_query_is_auto_updatable().
Referenced by ProcessUtilitySlow().
Definition at line 516 of file view.c.
References DefineViewRules().
Referenced by create_ctas_internal(), and DefineVirtualRelation().