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


##########
src/backend/commands/tablecmds.c:
##########
@@ -4519,6 +4522,10 @@ RenameRelation(RenameStmt *stmt)
        /* Do the work */
        RenameRelationInternal(relid, stmt->newname, false, is_index_stmt);
 
+       /* Rry to Rename in gp_matview_aux too. */
+       if (is_matview)

Review Comment:
   `relkind ` wil be changed during loop, seems only for alter index command.
   But you'r right, there is no need use another var, stmt is enough for this, 
stmt->renameType



-- 
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