Drop unused params from ExecCreateImmv function (#102)
This commit is contained in:
parent
85b11c359a
commit
b7be2aa7ff
3 changed files with 1 additions and 3 deletions
|
|
@ -234,7 +234,6 @@ create_immv_nodata(List *tlist, IntoClause *into)
|
|||
*/
|
||||
ObjectAddress
|
||||
ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
||||
ParamListInfo params, QueryEnvironment *queryEnv,
|
||||
QueryCompletion *qc)
|
||||
{
|
||||
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);
|
||||
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);
|
||||
}
|
||||
|
|
|
|||
1
pg_ivm.h
1
pg_ivm.h
|
|
@ -36,7 +36,6 @@ extern bool isImmv(Oid immv_oid);
|
|||
/* createas.c */
|
||||
|
||||
extern ObjectAddress ExecCreateImmv(ParseState *pstate, CreateTableAsStmt *stmt,
|
||||
ParamListInfo params, QueryEnvironment *queryEnv,
|
||||
QueryCompletion *qc);
|
||||
extern void CreateIvmTriggersOnBaseTables(Query *qry, Oid matviewOid);
|
||||
extern void CreateIndexOnIMMV(Query *query, Relation matviewRel);
|
||||
|
|
|
|||
Loading…
Reference in a new issue