projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a51027
)
Oversight in commit b81ffa13e3.
author
Jeff Davis
<jdavis@postgresql.org>
Fri, 4 Apr 2025 17:28:52 +0000
(10:28 -0700)
committer
Jeff Davis
<jdavis@postgresql.org>
Fri, 4 Apr 2025 17:28:52 +0000
(10:28 -0700)
Should warn if a materialized view may be affected, as well.
src/bin/pg_upgrade/check.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_upgrade/check.c
b/src/bin/pg_upgrade/check.c
index 3189de4df96610c7b692ef03fc0a178d586f810b..8f946c4e3d67e5bae98404715ca118b1c0f28027 100644
(file)
--- a/
src/bin/pg_upgrade/check.c
+++ b/
src/bin/pg_upgrade/check.c
@@
-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 "