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

Commit6b5510e

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 parenteacff26 commit6b5510e

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
@@ -12708,7 +12708,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
1270812708
exit_nicely();
1270912709
}
1271012710

12711-
if (binary_upgrade&& !coninfo->condef)
12711+
if (binary_upgrade)
1271212712
binary_upgrade_set_pg_class_oids(q,indxinfo->dobj.catId.oid, true);
1271312713

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp