Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecf7a2e

Browse files
committed
Add pg_upgrade C comment about why we check all relkinds for regtypes.
1 parentcc53a1e commitecf7a2e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎contrib/pg_upgrade/check.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,11 @@ check_for_reg_data_type_usage(ClusterInfo *cluster)
644644
DbInfo*active_db=&cluster->dbarr.dbs[dbnum];
645645
PGconn*conn=connectToServer(cluster,active_db->db_name);
646646

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+
*/
647652
res=executeQueryOrDie(conn,
648653
"SELECT n.nspname, c.relname, a.attname "
649654
"FROMpg_catalog.pg_class c, "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp