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

Commit345fb82

Browse files
committed
Add pg_upgrade comment about mismatch error
Add comment stating that constraint and index names must match.
1 parente43f947 commit345fb82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎contrib/pg_upgrade/info.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ gen_db_file_maps(DbInfo *old_db, DbInfo *new_db,
6161
* 9.0, TOAST relation names always use heap table oids, hence we
6262
* cannot check relation names when upgrading from pre-9.0. Clusters
6363
* upgraded to 9.0 will get matching TOAST names.
64+
* If index names don't match primary key constraint names, this will
65+
* fail because pg_dump dumps constraint names and pg_upgrade checks
66+
* index names.
6467
*/
6568
if (strcmp(old_rel->nspname,new_rel->nspname)!=0||
6669
((GET_MAJOR_VERSION(old_cluster.major_version) >=900||

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp