avamingli commented on code in PR #778:
URL: https://github.com/apache/cloudberry/pull/778#discussion_r1886108976


##########
src/backend/commands/createas.c:
##########
@@ -1846,7 +1846,7 @@ create_dynamic_table_auto_refresh_task(ParseState 
*pstate, Relation DynamicTable
        dtname = 
quote_qualified_identifier(get_namespace_name(RelationGetNamespace(DynamicTableRel)),
                                                                                
         RelationGetRelationName(DynamicTableRel));
        resetStringInfo(&buf);
-       appendStringInfo(&buf, "REFRESH DYNAMIC TABLE %s", dtname);
+       appendStringInfo(&buf, "REFRESH DYNAMIC TABLE %s CONCURRENTLY", dtname);

Review Comment:
   You'r right!
   > HINT:  Create a unique index with no WHERE clause on one or more columns 
of the materialized view.
   
   We should not add this options.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to