avamingli commented on code in PR #725:
URL: https://github.com/apache/cloudberry/pull/725#discussion_r1851848294
##########
src/bin/psql/describe.c:
##########
@@ -2478,12 +2482,24 @@ describeOneTableDetails(const char *schemaname,
schemaname,
relationname);
break;
case RELKIND_MATVIEW:
- if (tableinfo.relpersistence == 'u')
- printfPQExpBuffer(&title, _("Unlogged
materialized view \"%s.%s\""),
- schemaname,
relationname);
+ if (!tableinfo.isdynamic)
+ {
+ if (tableinfo.relpersistence == 'u')
Review Comment:
Good catch.
I just follow the places with materialized views, PG has disallowed unlogged
matview, but the codes left.
--
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]