mirror of https://github.com/citusdata/citus.git
Dont propagate view if materialized
parent
ad96e96d58
commit
a3a2ce448a
|
@ -343,6 +343,12 @@ CreateDependentViewsOnWorkers(Oid relationId)
|
|||
Oid viewOid = InvalidOid;
|
||||
foreach_oid(viewOid, views)
|
||||
{
|
||||
if (get_rel_relkind(viewOid) == RELKIND_MATVIEW)
|
||||
{
|
||||
/* do not propagate materialized views */
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!ShouldMarkRelationDistributed(viewOid))
|
||||
{
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue