diff options
| author | Robert Haas <rhaas@postgresql.org> | 2010-08-03 15:47:09 +0000 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2010-08-03 15:47:09 +0000 |
| commit | e4a5dc7b8e78b206253982ca06311af1b33f79ae (patch) | |
| tree | 3070b2568ffe946680d0a0773c6c704c4ced762b /src/backend/utils/adt/tsginidx.c | |
| parent | 2f203642f817e596bdfab2158cf32ce2e5c0eca5 (diff) | |
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/backend/utils/adt/tsginidx.c')
0 files changed, 0 insertions, 0 deletions
