Drop unused params from ExecCreateImmv function
This commit is contained in:
parent
85b11c359a
commit
717885f2d9
3 changed files with 1 additions and 3 deletions
|
|
@ -234,7 +234,6 @@ create_immv_nodata(List *tlist, IntoClause *into)
|
||||||
*/
|
*/
|
||||||
ObjectAddress
|
ObjectAddress
|
||||||
ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
||||||
ParamListInfo params, QueryEnvironment *queryEnv,
|
|
||||||
QueryCompletion *qc)
|
QueryCompletion *qc)
|
||||||
{
|
{
|
||||||
Query *query = castNode(Query, stmt->query);
|
Query *query = castNode(Query, stmt->query);
|
||||||
|
|
|
||||||
2
pg_ivm.c
2
pg_ivm.c
|
|
@ -228,7 +228,7 @@ create_immv(PG_FUNCTION_ARGS)
|
||||||
query = transformStmt(pstate, (Node *)ctas);
|
query = transformStmt(pstate, (Node *)ctas);
|
||||||
Assert(query->commandType == CMD_UTILITY && IsA(query->utilityStmt, CreateTableAsStmt));
|
Assert(query->commandType == CMD_UTILITY && IsA(query->utilityStmt, CreateTableAsStmt));
|
||||||
|
|
||||||
ExecCreateImmv(pstate, (CreateTableAsStmt *) query->utilityStmt, NULL, NULL, &qc);
|
ExecCreateImmv(pstate, (CreateTableAsStmt *) query->utilityStmt, &qc);
|
||||||
|
|
||||||
PG_RETURN_INT64(qc.nprocessed);
|
PG_RETURN_INT64(qc.nprocessed);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
pg_ivm.h
1
pg_ivm.h
|
|
@ -36,7 +36,6 @@ extern bool isImmv(Oid immv_oid);
|
||||||
/* createas.c */
|
/* createas.c */
|
||||||
|
|
||||||
extern ObjectAddress ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
extern ObjectAddress ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
||||||
ParamListInfo params, QueryEnvironment *queryEnv,
|
|
||||||
QueryCompletion *qc);
|
QueryCompletion *qc);
|
||||||
extern void CreateIvmTriggersOnBaseTables(Query *qry, Oid matviewOid);
|
extern void CreateIvmTriggersOnBaseTables(Query *qry, Oid matviewOid);
|
||||||
extern void CreateIndexOnIMMV(Query *query, Relation matviewRel);
|
extern void CreateIndexOnIMMV(Query *query, Relation matviewRel);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue