We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f1bd3 commit 7f5621dCopy full SHA for 7f5621d
1 file changed
src/bin/pg_upgrade/info.c
@@ -493,12 +493,11 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
493
" ON c.relnamespace = n.oid "
494
" WHERE relkind IN (" CppAsString2(RELKIND_RELATION) ", "
495
CppAsString2(RELKIND_MATVIEW) ") AND "
496
- /* exclude possible orphaned temp tables and sys tables */
+ /* exclude possible orphaned temp tables */
497
" ((n.nspname !~ '^pg_temp_' AND "
498
" n.nspname !~ '^pg_toast_temp_' AND "
499
- " n.nspname !~ '^sys' AND "
500
" n.nspname NOT IN ('pg_catalog', 'information_schema', "
501
- " 'binary_upgrade', 'pg_toast') AND "
+ " 'binary_upgrade', 'pg_toast', 'sys') AND "
502
" c.oid >= %u::pg_catalog.oid) OR "
503
" (n.nspname = 'pg_catalog' AND "
504
" relname IN ('pg_largeobject') ))), ",
0 commit comments