mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 23:32:13 -04:00
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).
This commit is contained in:
parent
eacff260fd
commit
6b5510e8d6
1 changed files with 1 additions and 1 deletions
|
|
@ -12708,7 +12708,7 @@ dumpConstraint(Archive *fout, ConstraintInfo *coninfo)
|
|||
exit_nicely();
|
||||
}
|
||||
|
||||
if (binary_upgrade && !coninfo->condef)
|
||||
if (binary_upgrade)
|
||||
binary_upgrade_set_pg_class_oids(q, indxinfo->dobj.catId.oid, true);
|
||||
|
||||
appendPQExpBuffer(q, "ALTER TABLE ONLY %s\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue