reshke commented on code in PR #725:
URL: https://github.com/apache/cloudberry/pull/725#discussion_r1851735528
##########
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:
whats a use case for this?
```
reshke=# create unlogged materialized view mv1 as select;
ERROR: materialized views cannot be unlogged
```
--
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]