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

Commit35e2722

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 parent9d3b502 commit35e2722

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
@@ -12948,7 +12948,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
1294812948
exit_nicely();
1294912949
}
1295012950

12951-
if (binary_upgrade&& !coninfo->condef)
12951+
if (binary_upgrade)
1295212952
binary_upgrade_set_pg_class_oids(q,indxinfo->dobj.catId.oid, true);
1295312953

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp