1
0
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:
Jeff Davis
2025-04-04 10:28:52 -07:00
parent 8a510275dd
commit 3556c89321

View File

@ -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 "