mirror of https://github.com/citusdata/citus.git
wip
parent
bc747206d5
commit
d5c14f3b0b
|
@ -719,6 +719,7 @@ CreateRefreshView(CimvCreate *cimvCreate)
|
||||||
query->targetList = (List *) PartializeAggs((Node *) query->targetList, &inverse);
|
query->targetList = (List *) PartializeAggs((Node *) query->targetList, &inverse);
|
||||||
AddCountAgg(query, true);
|
AddCountAgg(query, true);
|
||||||
|
|
||||||
|
/* TODO:: we probably don't need this part until parse_analyze */
|
||||||
StringInfoData querybuf;
|
StringInfoData querybuf;
|
||||||
initStringInfo(&querybuf);
|
initStringInfo(&querybuf);
|
||||||
|
|
||||||
|
|
|
@ -461,6 +461,9 @@ multi_ProcessUtility(PlannedStmt *pstmt,
|
||||||
bool continueProcessing = true;
|
bool continueProcessing = true;
|
||||||
if (IsA(parsetree, CreateTableAsStmt))
|
if (IsA(parsetree, CreateTableAsStmt))
|
||||||
{
|
{
|
||||||
|
StringInfo buf = makeStringInfo();
|
||||||
|
pg_get_query_def(parsetree, buf);
|
||||||
|
elog(WARNING, "%s", buf->data);
|
||||||
continueProcessing = !ProcessCreateMaterializedViewStmt((const
|
continueProcessing = !ProcessCreateMaterializedViewStmt((const
|
||||||
CreateTableAsStmt *)
|
CreateTableAsStmt *)
|
||||||
parsetree, queryString,
|
parsetree, queryString,
|
||||||
|
|
Loading…
Reference in New Issue