mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Oversight in commit b81ffa13e3
.
Should warn if a materialized view may be affected, as well.
This commit is contained in:
@ -1911,6 +1911,10 @@ check_for_unicode_update(ClusterInfo *cluster)
|
||||
" UNION "
|
||||
" SELECT partrelid "
|
||||
" FROM pg_partitioned_table, patterns WHERE partexprs::text ~ p "
|
||||
" UNION "
|
||||
" SELECT ev_class "
|
||||
" FROM pg_rewrite, pg_class, patterns "
|
||||
" WHERE ev_class = pg_class.oid AND relkind = 'm' AND ev_action::text ~ p"
|
||||
" ) s(reloid), pg_class c, pg_namespace n, pg_database d "
|
||||
" WHERE s.reloid = c.oid AND c.relnamespace = n.oid AND "
|
||||
" d.datname = current_database() AND "
|
||||
|
Reference in New Issue
Block a user