summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2013-06-27 17:54:59 +0000
committerTom Lane2013-06-27 17:54:59 +0000
commit538ecfad3c6031b8efe0644b9082af91760cf448 (patch)
tree6d1b202ab4f767abefd7d87d71a1de13e293e621 /doc/src
parent2beeabcd0723ef5d39d02aca9cc8ee92588eb8af (diff)
Mark index-constraint comments with correct dependency in pg_dump.
When there's a comment on an index that was created with UNIQUE or PRIMARY KEY constraint syntax, we need to label the comment as depending on the constraint not the index, since only the constraint object actually appears in the dump. This incorrect dependency can lead to parallel pg_restore trying to restore the comment before the index has been created, per bug #8257 from Lloyd Albin. This patch fixes pg_dump to produce the right dependency in dumps made in the future. Usually we also try to hack pg_restore to work around bogus dependencies, so that existing (wrong) dumps can still be restored in parallel mode; but that doesn't seem practical here since there's no easy way to relate the constraint dump entry to the comment after the fact. Andres Freund
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions