diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-08-03 15:47:16 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-08-03 15:47:16 +0000 |
commit | a6542f90f9f720862d4c2b34e6d77efd94a8d47c (patch) | |
tree | 645916a67a16ca643d0ef6c980d864bec18b40d8 /src/tutorial/complex.c | |
parent | 9f4b99afbb3861ab2344b1db62193b4673126ce5 (diff) | |
download | postgresql-a6542f90f9f720862d4c2b34e6d77efd94a8d47c.tar.gz postgresql-a6542f90f9f720862d4c2b34e6d77efd94a8d47c.zip |
Fix inheritance count tracking in ALTER TABLE .. ADD CONSTRAINT.
Without this patch, constraints inherited by children of a parent
table which itself has multiple inheritance parents can end up with
the wrong coninhcount. After dropping the constraint, the children
end up with a leftover copy of the constraint that is not dumped
and cannot be dropped. There is a similar problem with ALTER TABLE
.. ADD COLUMN, but that looks significantly more difficult to
resolve, so I'm committing this fix separately.
Back-patch to 8.4, which is the first release that has coninhcount.
Report by Hank Enting.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions