Fixes #1239, support resource embedding on materialized views

This commit is contained in:
Vitor Baptista
2019-03-14 16:59:55 -05:00
committed by Steve Chávez
parent 1f513f24a5
commit 9387e70b66
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -722,7 +722,7 @@ allSynonyms cols pgVer =
from pg_class c
join pg_namespace n on n.oid = c.relnamespace
join pg_rewrite r on r.ev_class = c.oid
where (c.relkind = 'v'::char) and n.nspname = $1
where (c.relkind in ('v', 'm')) and n.nspname = $1
),
removed_subselects as(
select