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

Commitd1644d9

Browse files
committed
Allow pg_upgrade to upgrade clusters that use exclusion contraints by
fixing pg_dump to properly preserve such indexes.Backpatch to 9.1 and 9.0 (where the bug was introduced).
1 parent80cbf34 commitd1644d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11204,7 +11204,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
1120411204
exit_nicely();
1120511205
}
1120611206

11207-
if (binary_upgrade&& !coninfo->condef)
11207+
if (binary_upgrade)
1120811208
binary_upgrade_set_relfilenodes(q,indxinfo->dobj.catId.oid, true);
1120911209

1121011210
appendPQExpBuffer(q,"ALTER TABLE ONLY %s\n",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp