We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc53a1e commit ecf7a2eCopy full SHA for ecf7a2e
contrib/pg_upgrade/check.c
@@ -644,6 +644,11 @@ check_for_reg_data_type_usage(ClusterInfo *cluster)
644
DbInfo *active_db = &cluster->dbarr.dbs[dbnum];
645
PGconn *conn = connectToServer(cluster, active_db->db_name);
646
647
+ /*
648
+ * While several relkinds don't store any data, e.g. views, they
649
+ * can be used to define data types of other columns, so we
650
+ * check all relkinds.
651
+ */
652
res = executeQueryOrDie(conn,
653
"SELECT n.nspname, c.relname, a.attname "
654
"FROM pg_catalog.pg_class c, "
0 commit comments